mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 00:27:30 +00:00
Restore todo's
This commit is contained in:
@@ -804,7 +804,7 @@ Route::group(
|
||||
'as' => 'report-data.category.',],
|
||||
static function () {
|
||||
|
||||
// See reference nr. 3
|
||||
// TODO three routes still in use?
|
||||
Route::get('operations/{accountList}/{start_date}/{end_date}', ['uses' => 'CategoryController@operations', 'as' => 'operations']);
|
||||
Route::get('income/{accountList}/{start_date}/{end_date}', ['uses' => 'CategoryController@income', 'as' => 'income']);
|
||||
Route::get('expenses/{accountList}/{start_date}/{end_date}', ['uses' => 'CategoryController@expenses', 'as' => 'expenses']);
|
||||
@@ -860,7 +860,7 @@ Route::group(
|
||||
['middleware' => 'user-full-auth', 'namespace' => 'FireflyIII\Http\Controllers\Report', 'prefix' => 'report-data/budget', 'as' => 'report-data.budget.'],
|
||||
static function () {
|
||||
Route::get('general/{accountList}/{start_date}/{end_date}/', ['uses' => 'BudgetController@general', 'as' => 'general']);
|
||||
// See reference nr. 4
|
||||
// TODO is route still used?
|
||||
Route::get('period/{accountList}/{start_date}/{end_date}', ['uses' => 'BudgetController@period', 'as' => 'period']);
|
||||
|
||||
Route::get('accounts/{accountList}/{budgetList}/{start_date}/{end_date}', ['uses' => 'BudgetController@accounts', 'as' => 'accounts']);
|
||||
@@ -971,7 +971,7 @@ Route::group(
|
||||
static function () {
|
||||
|
||||
// show groups:
|
||||
// See reference nr. 5
|
||||
// TODO improve these routes
|
||||
Route::get('{what}/all', ['uses' => 'Transaction\IndexController@indexAll', 'as' => 'index.all'])->where(
|
||||
['what' => 'withdrawal|deposit|transfers|transfer']
|
||||
);
|
||||
@@ -1044,7 +1044,7 @@ Route::group(
|
||||
static function () {
|
||||
Route::get('modal/{tj}', ['uses' => 'LinkController@modal', 'as' => 'modal']);
|
||||
|
||||
// See reference nr. 6
|
||||
// TODO improve this route
|
||||
Route::post('store/{tj}', ['uses' => 'LinkController@store', 'as' => 'store']);
|
||||
Route::get('delete/{journalLink}', ['uses' => 'LinkController@delete', 'as' => 'delete']);
|
||||
Route::post('switch', ['uses' => 'LinkController@switchLink', 'as' => 'switch']);
|
||||
|
Reference in New Issue
Block a user