update api routes

This commit is contained in:
omair saleh
2022-01-10 15:51:20 +08:00
parent aaf68b6368
commit be2b9d8759
-1
View File
@@ -52,7 +52,6 @@ Route::group(['middleware' => 'api', 'prefix' => 'v1', 'as' => 'api.'], function
require __DIR__ . '/segment.php';
Route::get('/report/sales', 'Reports\MonthlyReportController@salesReport')->name('report.sales');
Route::get('/report/customer/{marking}/{from?}/{to?}', 'Reports\MonthlyReportController@customerReport')->name('report.customer');
Route::get('/report/sales/{from?}/{to?}', 'Reports\MonthlyReportController@salesReport')->name('report.sales');
Route::get('/report/profit/{model}/{value}/{from?}/{to?}', 'Reports\MonthlyReportController@profitModelReport')->name('report.profit');