From: Alexander Smirnov Date: Thu, 15 Aug 2024 14:13:11 +0000 (+0300) Subject: Поднимаем со дна мусор: /modul/storage, /modul/store/itemmatrix X-Git-Tag: 1.5~30^2~2 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=refs%2Fremotes%2Forigin%2Fmodul_storage_store_itemmatrix;p=erp24_rep%2Fyii-erp24%2F.git Поднимаем со дна мусор: /modul/storage, /modul/store/itemmatrix --- diff --git a/erp24/controllers/StorageController.php b/erp24/controllers/StorageController.php new file mode 100644 index 00000000..dc4dda8e --- /dev/null +++ b/erp24/controllers/StorageController.php @@ -0,0 +1,12 @@ +render('index'); } + public function actionStore() { return $this->render('store'); } + public function actionAjaxBalancesInGroup() { return $this->renderPartial('ajax-balances-in-group'); } +} \ No newline at end of file diff --git a/erp24/controllers/StoreController.php b/erp24/controllers/StoreController.php index a0b49cec..20666274 100755 --- a/erp24/controllers/StoreController.php +++ b/erp24/controllers/StoreController.php @@ -6,8 +6,6 @@ use yii\web\Controller; class StoreController extends Controller { - public function actionStats() - { - return $this->render('stats'); - } + public function actionStats() { return $this->render('stats'); } + public function actionItemmatrix() { return $this->render('itemmatrix'); } } \ No newline at end of file diff --git a/erp24/inc/uni.php b/erp24/inc/uni.php index b55f7261..936e1411 100644 --- a/erp24/inc/uni.php +++ b/erp24/inc/uni.php @@ -1,6 +1,6 @@

Складские остатки '.$row["name"].''; +if ($row) { + echo''; +if($form==1) echo''; +echo'

'; echo"Остатки по группам как в 1с"; @@ -63,4 +62,3 @@ echo''; } -include"templates/bottom.php"; diff --git a/erp24/modul/storage/store.php b/erp24/modul/storage/store.php index 745cd05f..706c10ea 100644 --- a/erp24/modul/storage/store.php +++ b/erp24/modul/storage/store.php @@ -1,11 +1,13 @@ -'; echo''); @@ -127,11 +132,11 @@ $.ajax({ -'; - +'; + -include"templates/bottom.php"; \ No newline at end of file +include_once dirname(__DIR__, 2) . '/templates/bottom_light.php'; \ No newline at end of file diff --git a/erp24/modul/store/itemmatrix.php b/erp24/modul/store/itemmatrix.php index d7655662..d387360b 100644 --- a/erp24/modul/store/itemmatrix.php +++ b/erp24/modul/store/itemmatrix.php @@ -1,11 +1,14 @@
'+data+'
'; echo''; - -include"templates/bottom.php"; - + + diff --git a/erp24/views/storage/ajax-balances-in-group.php b/erp24/views/storage/ajax-balances-in-group.php new file mode 100644 index 00000000..26b42f0d --- /dev/null +++ b/erp24/views/storage/ajax-balances-in-group.php @@ -0,0 +1,5 @@ +