]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
[ERP-393] start testing 4
authorAlexander Smirnov <fredeom@mail.ru>
Sun, 30 Mar 2025 13:28:58 +0000 (16:28 +0300)
committerAlexander Smirnov <fredeom@mail.ru>
Sun, 30 Mar 2025 13:28:58 +0000 (16:28 +0300)
erp24/views/orders/delivery.php

index 7b6539ef53aa67acdbfe0cdb78f72d082c14642a..0e0eb92e854cdd2cd640f0d326d50b1377133112 100644 (file)
@@ -149,7 +149,7 @@ $this->registerCss('
                                         <?php endif; ?>
                                         <?php
                                             $quantity=str_replace(".00","",$item["quantity"]);
-                                            $bal = isset($storesNameArr[$row["store"]]) ? $balancesAll[$exportStore[$storesNameArr[$orderAmo["store"]]]][$item["guid"]] ?? 0 : 0;
+                                            $bal = isset($storesNameArr[$orderAmo["store"]]) ? $balancesAll[$exportStore[$storesNameArr[$orderAmo["store"]]]][$item["guid"]] ?? 0 : 0;
                                         ?>
                                         <tr <?php if ($bal < $quantity && !in_array($item["guid"], $services)): ?>class="bg-danger"<?php endif; ?> >
                                             <td class="text-center"><b class="mr-2 ml-2"><?= $quantity ?></b></td>