wesmiler 2 недель назад
Родитель
Сommit
f6b98567f1
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/Services/Api/GoodsService.php

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

@@ -359,7 +359,7 @@ class GoodsService extends BaseService
                 $result['discount_total'] = moneyFormat($orderTotal - $result['order_total'],2);
             }
 
-            $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;
         }