wesmiler hai 1 día
pai
achega
ab77270616
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/Services/Api/GoodsService.php

+ 1 - 1
app/Services/Api/GoodsService.php

@@ -386,7 +386,7 @@ class GoodsService extends BaseService
                 $result['coupon_total'] = floatval($couponTotal);
             }
 
-            $result['pay_total'] = moneyFormat($result['order_total'] + $result['delivery_fee'],2);
+            $result['pay_total'] = floatval(moneyFormat($result['order_total'] + $result['delivery_fee'],2));
             return $result;
         }