From: marina Date: Tue, 17 Dec 2024 08:04:50 +0000 (+0300) Subject: ERP-259 Доработка второго шага передачи смен X-Git-Tag: 1.7~156^2~15 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=46f94b1f0f227416599f823f6763ff44f0a51baa;p=erp24_rep%2Fyii-erp24%2F.git ERP-259 Доработка второго шага передачи смен --- diff --git a/erp24/controllers/ShiftTransferController.php b/erp24/controllers/ShiftTransferController.php index 8c365ed8..00a43815 100644 --- a/erp24/controllers/ShiftTransferController.php +++ b/erp24/controllers/ShiftTransferController.php @@ -376,7 +376,7 @@ class ShiftTransferController extends Controller $data = [ 'success' => true, - 'product_count' => $shiftRemains->fact_and_1c_diff, + 'product_count' => abs($shiftRemains->fact_and_1c_diff), 'product_price' => $productPrice->price, 'product_replacement' => $productReplacement, 'product_self_cost' => $productSelfCost->price,