shish vor 1 Jahr
Ursprung
Commit
2db2d30da0
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      app-hd/controllers/OrderController.php

+ 1 - 1
app-hd/controllers/OrderController.php

@@ -185,7 +185,7 @@ class OrderController extends BaseController
                 if ($debtPrice > $remainDebtPrice) {
                     $hasPayDebt = bcsub($debtPrice, $remainDebtPrice, 2);
                 }
-                $list[$key]['hasPayAmount'] = $hasPayDebt;
+                $list[$key]['hasPayAmount'] = floatval($hasPayDebt);
             }
         }
         $result = ['customInfo' => $info, 'list' => $list];