mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 02:36:28 +00:00 
			
		
		
		
	Initial code base for tag report.
This commit is contained in:
		| @@ -310,6 +310,47 @@ Route::group( | ||||
| } | ||||
| ); | ||||
|  | ||||
| /** | ||||
|  * Chart\Tag Controller | ||||
|  */ | ||||
| Route::group( | ||||
|     ['middleware' => 'user-full-auth', 'namespace' => 'Chart', 'prefix' => 'chart/tag', 'as' => 'chart.tag.'], function () { | ||||
|  | ||||
|     // these charts are used in reports (tag reports): | ||||
|     Route::get( | ||||
|         'tag/income/{accountList}/{tagList}/{start_date}/{end_date}/{others}', | ||||
|         ['uses' => 'TagReportController@tagIncome', 'as' => 'tag-income'] | ||||
|     ); | ||||
|     Route::get( | ||||
|         'tag/expense/{accountList}/{tagList}/{start_date}/{end_date}/{others}', | ||||
|         ['uses' => 'TagReportController@tagExpense', 'as' => 'tag-expense'] | ||||
|     ); | ||||
|     Route::get( | ||||
|         'account/income/{accountList}/{tagList}/{start_date}/{end_date}/{others}', | ||||
|         ['uses' => 'TagReportController@accountIncome', 'as' => 'account-income'] | ||||
|     ); | ||||
|     Route::get( | ||||
|         'account/expense/{accountList}/{tagList}/{start_date}/{end_date}/{others}', | ||||
|         ['uses' => 'TagReportController@accountExpense', 'as' => 'account-expense'] | ||||
|     ); | ||||
|     Route::get( | ||||
|         'budget/expense/{accountList}/{tagList}/{start_date}/{end_date}', | ||||
|         ['uses' => 'TagReportController@budgetExpense', 'as' => 'budget-expense'] | ||||
|     ); | ||||
|     Route::get( | ||||
|         'category/expense/{accountList}/{tagList}/{start_date}/{end_date}', | ||||
|         ['uses' => 'TagReportController@categoryExpense', 'as' => 'category-expense'] | ||||
|     ); | ||||
|  | ||||
|  | ||||
|     Route::get( | ||||
|         'operations/{accountList}/{tagList}/{start_date}/{end_date}', | ||||
|         ['uses' => 'TagReportController@mainChart', 'as' => 'main'] | ||||
|     ); | ||||
|  | ||||
| } | ||||
| ); | ||||
|  | ||||
| /** | ||||
|  * Chart\PiggyBank Controller | ||||
|  */ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user