Fix for Receipt & Invoice Reprint / Display through Daily Sales

The param count in the URI are greater than the controller method params. Handler:\App\Controllers\Sales::getIndex
This commit is contained in:
WShells
2024-04-20 02:54:50 +03:00
committed by jekkos
parent 3d88d1a387
commit ffa92dd37c

View File

@@ -17,6 +17,8 @@ $routes->add('no_access/(:any)/(:any)', 'No_access::index/$1/$2');
$routes->add('sales/index/(:any)', 'Sales::manage/$1');
$routes->add('sales/index/(:any)/(:any)', 'Sales::manage/$1/$2');
$routes->add('sales/index/(:any)/(:any)/(:any)', 'Sales::manage/$1/$2/$3');
$routes->add('sales/receipt/(:num)', 'Sales::receipt/$1');
$routes->add('sales/invoice/(:num)', 'Sales::invoice/$1');
$routes->add('sales/sales_keyboard_help', 'Sales::sales_keyboard_help');
$routes->add('items/save_inventory/(:num)', 'Items::save_inventory/$1');
@@ -44,4 +46,4 @@ $routes->add('reports/specific_(:any)/(:any)/(:any)/(:any)', 'Reports::Specific_
$routes->add('reports/specific_customer', 'Reports::specific_customer_input');
$routes->add('reports/specific_employee', 'Reports::specific_employee_input');
$routes->add('reports/specific_discount', 'Reports::specific_discount_input');
$routes->add('reports/specific_supplier', 'Reports::specific_supplier_input');
$routes->add('reports/specific_supplier', 'Reports::specific_supplier_input');