wugg 2 gadi atpakaļ
vecāks
revīzija
fecafee000
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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);