From: Alexander Smirnov Date: Tue, 19 Dec 2023 18:06:12 +0000 (+0300) Subject: add shipment store-products-fact during pure php to yii movement X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=ff46d0787cb469c9d7b83867966b2c235fccb46e;p=yii-erp24%2F.git add shipment store-products-fact during pure php to yii movement --- diff --git a/erp24/actions/shipment/StoreProductsFactEditAction.php b/erp24/actions/shipment/StoreProductsFactEditAction.php new file mode 100644 index 0000000..bc4facf --- /dev/null +++ b/erp24/actions/shipment/StoreProductsFactEditAction.php @@ -0,0 +1,12 @@ +controller->renderPartial('store-products-fact-edit'); + } +} \ No newline at end of file diff --git a/erp24/controllers/ShipmentController.php b/erp24/controllers/ShipmentController.php index f765f17..27e8d67 100755 --- a/erp24/controllers/ShipmentController.php +++ b/erp24/controllers/ShipmentController.php @@ -25,6 +25,7 @@ class ShipmentController extends \yii\web\Controller 'division-print-edit' => \yii_app\actions\shipment\DivisionPrintEditAction::class, 'set-division-priority' => \yii_app\actions\shipment\SetDivisionPriorityAction::class, 'store-products-fact' => \yii_app\actions\shipment\StoreProductsFactAction::class, + 'store-products-fact-edit' => \yii_app\actions\shipment\StoreProductsFactEditAction::class, 'polnogramm' => \yii_app\actions\shipment\PolnogrammAction::class, 'store-planogram-logi' => \yii_app\actions\shipment\StorePlanogramLogiAction::class, ]; diff --git a/erp24/views/shipment/polnogramm.php b/erp24/views/shipment/polnogramm.php index b5f05dc..6d4b755 100644 --- a/erp24/views/shipment/polnogramm.php +++ b/erp24/views/shipment/polnogramm.php @@ -465,6 +465,7 @@ $.ajax({ //include"templates/bottom.php"; +include_once dirname(__DIR__, 2) . '/templates/bottom_light.php'; diff --git a/erp24/views/shipment/store-products-fact-edit.php b/erp24/views/shipment/store-products-fact-edit.php new file mode 100644 index 0000000..48f3bb3 --- /dev/null +++ b/erp24/views/shipment/store-products-fact-edit.php @@ -0,0 +1,25 @@ +
++$color++$sql"; + $db::sql($sql); + +} \ No newline at end of file diff --git a/erp24/views/shipment/store-products-fact.php b/erp24/views/shipment/store-products-fact.php index 50954ec..0d6dd73 100644 --- a/erp24/views/shipment/store-products-fact.php +++ b/erp24/views/shipment/store-products-fact.php @@ -561,8 +561,9 @@ WHERE cl.tip='related' group by p.id order by o.provider_id, p.parent_id, p.name .zak td.td_product:hover {background:#fff;} */ +global $_CONFIG; - $_CONFIG["jscss"] = ($_CONFIG["jscss"] ?? '') . ' '; + include_once dirname(__DIR__, 2) . '/templates/bottom_light.php'; } //include"templates/bottom.php"; +