]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
[ERP-394] debug 5
authorAlexander Smirnov <fredeom@mail.ru>
Tue, 1 Apr 2025 10:08:18 +0000 (13:08 +0300)
committerAlexander Smirnov <fredeom@mail.ru>
Tue, 1 Apr 2025 10:08:18 +0000 (13:08 +0300)
erp24/views/orders/delivery.php

index a2323b83c8275bdbab56ec1cf9240e96a78a1552..85e56fef7b933e97cf04befe8e3060b7e71e20ee 100644 (file)
@@ -242,7 +242,7 @@ $this->registerCss('
                             <?php if (($store_arr[$orderAmo["store_id"]] ?? '' == "ул. Аэродромная 28 (к-р Москва)" ||
                                 $orderAmo["store"] == "ул. Аэродромная, 28" || $orderAmo["store"] == "") && $yeses[$ind] == 0 &&
                                 $orderAmo["payment_type_id"] != "Оплачен в магазине"): ?>
-                                <?php if (empty($create_check) && $ords[$ind] && $seller_id[$ind]): ?>
+                                <?php if (empty($create_check) && empty($ords[$ind]) && !empty($seller_id[$ind])): ?>
                                     <button class="btn btn-sm btn-danger btn__<?= $orderAmo["amo_id"] ?>"
                                             onclick="ajax_create_check_json('<?= $orderAmo["amo_id"] ?>');">пробить чек</button>
                                 <?php endif; ?>