Add more stuff to ajax controllers, making report controller simpler.

This commit is contained in:
James Cole
2016-10-26 16:46:43 +02:00
parent 01de147900
commit fe3f015171
9 changed files with 158 additions and 22 deletions

View File

@@ -329,6 +329,12 @@ Route::group(
['uses' => 'Report\InOutController@inOutReport', 'as' => 'reports.data.inOutReport']
);
// category report:
Route::get(
'/reports/data/category-report/{start_date}/{end_date}/{accountList}',
['uses' => 'Report\CategoryController@categoryReport', 'as' => 'reports.data.categoryReport']
);
/**
* Rules Controller
*/