]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
фикс модуля polnogramm edit
authorpavlikov_maxim <truobleblyat@yandex.ru>
Wed, 24 Apr 2024 12:49:43 +0000 (15:49 +0300)
committerpavlikov_maxim <truobleblyat@yandex.ru>
Wed, 24 Apr 2024 12:49:43 +0000 (15:49 +0300)
erp24/modul/shipment/PolnogrammaEdit.php

index a530be6997d76458baab76b455862ad2246e58b2..3653f3913bde3f1e9eb27f492e56b99ec5f80c0c 100644 (file)
@@ -317,7 +317,7 @@ echo'<td class="text-center"><small>пол-ма</small></td><td class="text-cent
         if (($store_planogram[$row["id"]] ?? 0) > 0 or $_SESSION["show_planogram_0"] == 1) {
             $difference = ($store_planogram[$row["id"]] ?? 0) - ($values_in[$row["id"]]["quantity"] ?? 0);
             if (!empty($store_planogram[$row["id"]])) $difference_percent = 100 - round(100 * $difference / $store_planogram[$row["id"]]);
-            else $difference_percent = "";
+            else $difference_percent = 0;
             echo "<tr style=\"";
             if ($p > 1) echo "display:none;";