Added routes for reports. Added project reports.
This commit is contained in:
@@ -29,6 +29,7 @@ Route::middleware(['auth'])->group(function() {
|
||||
/**************************************************************************
|
||||
* BOOKINGS *
|
||||
**************************************************************************/
|
||||
Route::get('/bookings', function() { return redirect('bookings/year-' . date('Y')); });
|
||||
Route::get('/bookings/year-{year}', 'BookingsController@index');
|
||||
Route::post('/bookings', 'BookingsController@store');
|
||||
|
||||
@@ -64,6 +65,14 @@ Route::middleware(['auth'])->group(function() {
|
||||
|
||||
Route::get('/targets/{personTarget}/edit', 'PersonTargetsController@edit');
|
||||
Route::get('/targets/{personTarget}/delete', 'PersonTargetsController@delete');
|
||||
|
||||
/**************************************************************************
|
||||
* REPORTS *
|
||||
**************************************************************************/
|
||||
Route::get('/reports/projects/{project}', 'ReportsController@project');
|
||||
Route::get('/reports/balances/{year}', 'ReportsController@balances');
|
||||
Route::get('/reports/scopes/{type}/{year}', 'ReportsController@scopes');
|
||||
Route::get('/reports/targets/', 'ReportsController@targets');
|
||||
});
|
||||
|
||||
// Authentication Routes...
|
||||
|
||||
Reference in New Issue
Block a user