From 55874766ebf844fb68e373daf39cb6de77033a14 Mon Sep 17 00:00:00 2001 From: Alexander Smirnov Date: Wed, 17 Apr 2024 14:05:37 +0300 Subject: [PATCH] shipment index --- erp24/controllers/ShipmentController.php | 3 ++ erp24/modul/shipment/divisionStore.php | 31 +++++++++++-------- erp24/modul/shipment/divisionStorePrint.php | 27 +++++++++------- erp24/modul/shipment/index.php | 16 +++++----- erp24/modul/shipment/storeOrderScore.php | 15 ++++----- erp24/views/shipment/division-store-print.php | 5 +++ erp24/views/shipment/division-store.php | 5 +++ erp24/views/shipment/store-order-score.php | 5 +++ 8 files changed, 68 insertions(+), 39 deletions(-) create mode 100644 erp24/views/shipment/division-store-print.php create mode 100644 erp24/views/shipment/division-store.php create mode 100644 erp24/views/shipment/store-order-score.php diff --git a/erp24/controllers/ShipmentController.php b/erp24/controllers/ShipmentController.php index 31ab8c64..4c41495b 100755 --- a/erp24/controllers/ShipmentController.php +++ b/erp24/controllers/ShipmentController.php @@ -16,4 +16,7 @@ class ShipmentController extends Controller //public function actionAdd() { return $this->render('add'); } public function actionStoreOrders() { return $this->render('store-orders'); } public function actionShipment() { return $this->render('shipment'); } + public function actionDivisionStore() { return $this->render('division-store'); } + public function actionDivisionStorePrint() { return $this->render('division-store-print'); } + public function actionStoreOrderScore() { return $this->render('store-order-score'); } } \ No newline at end of file diff --git a/erp24/modul/shipment/divisionStore.php b/erp24/modul/shipment/divisionStore.php index f42201cf..ff202f2a 100644 --- a/erp24/modul/shipment/divisionStore.php +++ b/erp24/modul/shipment/divisionStore.php @@ -1,19 +1,18 @@ -
- +

@@ -459,6 +463,7 @@ input.editColor{width:auto;max-width:70px;} '; + $_CONFIG["jscss"] .=' @@ -217,9 +217,9 @@ echo' деление - по цветам (старое - с 3 февраля не актуально)'; if($rows["status"]>=6) -echo'деление - на основе заказа магазина new -Печать деления для кладовщика new -Печать деления для кладовщика без цветовnew +echo'деление - на основе заказа магазина new +Печать деления для кладовщика new +Печать деления для кладовщика без цветовnew '; @@ -227,7 +227,7 @@ if(in_array($_SESSION["group_id"],[1,70,10])) { echo'копировать закупку для частичной поставки new'; } if($rows["status"]>=6) echo' -Оценка качества цветка в поставке new'; +Оценка качества цветка в поставке new'; echo' diff --git a/erp24/modul/shipment/storeOrderScore.php b/erp24/modul/shipment/storeOrderScore.php index 8109333b..3073b59e 100644 --- a/erp24/modul/shipment/storeOrderScore.php +++ b/erp24/modul/shipment/storeOrderScore.php @@ -1,15 +1,16 @@ - ❮ назад в закупки -Оцените '.$OrderData["name"].' id='.$orderId.''; +Оцените '.($OrderData["name"]??'').' id='.$orderId.''; showOrderStoresPanel(); diff --git a/erp24/views/shipment/division-store-print.php b/erp24/views/shipment/division-store-print.php new file mode 100644 index 00000000..c5ffbe72 --- /dev/null +++ b/erp24/views/shipment/division-store-print.php @@ -0,0 +1,5 @@ +