wugg 2 vuotta sitten
vanhempi
commit
fecafee000
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      app/admin/controller/Payment.php

+ 1 - 1
app/admin/controller/Payment.php

@@ -212,7 +212,7 @@ class Payment extends BaseController
                 $paydata['ainv_fee']+= $temp['ainv_fee'];
                 $paydata['winv_fee']+= $temp['winv_fee'];
                 $report=ReportCode::where(["cgdNo"=>$value['sequenceNo']])->find();
-                if($report)setField("payNo",$payNo);
+                if($report)$report->setField("payNo",$payNo);
            }
             $paydata['total_fee']= round($paydata['total_fee'],2);
             $paydata['apay_fee']= round($paydata['apay_fee'],2);