vali пре 6 година
родитељ
комит
c663fc8705
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      app/Logic/UnSettmatchLogic.php

+ 1 - 1
app/Logic/UnSettmatchLogic.php

@@ -210,7 +210,7 @@ class UnSettmatchLogic
         $ret = $moneyDetail->save();
 
         $nowmoney = $Accobj->detail->cash - $money;
-        DB::update('account_detail')->where('account_identity', $OrderObj->account_identity)->update(['money_cash' => $nowmoney, 'cash' => $nowmoney]);
+        DB::update('account_detailed')->where('account_identity', $OrderObj->account_identity)->update(['money_cash' => $nowmoney, 'cash' => $nowmoney]);
 
         $order_main->status = 1;
         $order_main->settlement_time = date('Y-m-d H:i:s');