Fix for Low Inventory Report

. Param count in the URI are greater than the controller method params.
Now displaying and listing items as needed
This commit is contained in:
WShells
2024-04-24 13:47:25 +03:00
committed by jekkos
parent 80e83448ee
commit e779ac8a79
2 changed files with 2 additions and 1 deletions

View File

@@ -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');

View File

@@ -126,7 +126,7 @@
</div>
<div class="form-group form-group-sm">
<?php echo form_label(lang('Config.barcode_formats'), 'barcode_formats', ['class' => 'control-label col-xs-2']) ?>
<?= form_label(lang('Config.barcode_formats'), 'barcode_formats', ['class' => 'control-label col-xs-2']) ?>
<div class='col-xs-4'>
<?php
$barcode_formats = json_decode(config('OSPOS')->settings['barcode_formats']);