From e779ac8a791e41f9cac43d9988957f053fd5a62e Mon Sep 17 00:00:00 2001 From: WShells <26513147+WebShells@users.noreply.github.com> Date: Wed, 24 Apr 2024 13:47:25 +0300 Subject: [PATCH] Fix for Low Inventory Report . Param count in the URI are greater than the controller method params. Now displaying and listing items as needed --- app/Config/Routes.php | 1 + app/Views/configs/barcode_config.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Config/Routes.php b/app/Config/Routes.php index 7f82ad88b..cde9835ce 100644 --- a/app/Config/Routes.php +++ b/app/Config/Routes.php @@ -35,6 +35,7 @@ $routes->add('reports/graphical_summary_discounts', 'Reports::summary_discounts_ $routes->add('reports/graphical_(:any)', 'Reports::date_input'); $routes->add('reports/inventory_(:any)/(:any)', 'Reports::Inventory_$1/$2'); +$routes->add('reports/inventory_low', 'Reports::inventory_low'); $routes->add('reports/inventory_summary', 'Reports::inventory_summary_input'); $routes->add('reports/inventory_summary/(:any)/(:any)/(:any)', 'Reports::inventory_summary/$1/$2/$3'); diff --git a/app/Views/configs/barcode_config.php b/app/Views/configs/barcode_config.php index 031425201..111015649 100644 --- a/app/Views/configs/barcode_config.php +++ b/app/Views/configs/barcode_config.php @@ -126,7 +126,7 @@