Move some stuff over to AJAX thing.

This commit is contained in:
James Cole
2016-10-25 18:53:54 +02:00
parent e2d187d74b
commit a7e5fcc806
20 changed files with 164 additions and 247 deletions

View File

@@ -317,11 +317,18 @@ Route::group(
/**
* Report AJAX data Controller:
*/
// account report
Route::get(
'/reports/data/accountReport/{start_date}/{end_date}/{accountList}',
'/reports/data/account-report/{start_date}/{end_date}/{accountList}',
['uses' => 'Report\AccountController@accountReport', 'as' => 'reports.data.accountReport']
);
// income report
Route::get(
'/reports/data/in-out-report/{start_date}/{end_date}/{accountList}',
['uses' => 'Report\InOutController@inOutReport', 'as' => 'reports.data.inOutReport']
);
/**
* Rules Controller
*/