wesmiler 1 dag sedan
förälder
incheckning
ab77270616
1 ändrade filer med 1 tillägg och 1 borttagningar
  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;
         }