You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
962 B
19 lines
962 B
<?php
|
|
|
|
Route::group(['middleware' => ['web', 'role:admin'], 'prefix' => 'reports'], function () {
|
|
/*
|
|
* Reports Routes
|
|
*/
|
|
Route::get('payments', 'ReportsController@monthly')->name('reports.payments.index');
|
|
Route::get('payments/daily', 'ReportsController@daily')->name('reports.payments.daily');
|
|
Route::get('payments/monthly', 'ReportsController@monthly')->name('reports.payments.monthly');
|
|
Route::get('payments/yearly', 'ReportsController@yearly')->name('reports.payments.yearly');
|
|
Route::get('current-credits', 'ReportsController@currentCredits')->name('reports.current-credits');
|
|
|
|
/*
|
|
* Log Files Routes
|
|
*/
|
|
Route::get('log-files', 'Reports\LogFileController@index')->name('log-files.index');
|
|
Route::get('log-files/{fileName}', 'Reports\LogFileController@show')->name('log-files.show');
|
|
Route::get('log-files/{fileName}/download', 'Reports\LogFileController@download')->name('log-files.download');
|
|
});
|