chore: update document approval workflow and bug fixes
This commit is contained in:
10
Modules/ProjectReports/routes/web.php
Normal file
10
Modules/ProjectReports/routes/web.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Route;
|
||||
use Modules\ProjectReports\Http\Controllers\StatusReportController;
|
||||
|
||||
Route::middleware(['web', 'auth', 'permission:projects.access'])->group(function () {
|
||||
Route::get('projects/{project}/reports', [StatusReportController::class, 'index'])->name('projects.reports.index');
|
||||
Route::resource('projects.reports', StatusReportController::class)->parameters(['reports' => 'report'])->except(['index']);
|
||||
Route::patch('projects/{project}/reports/{report}/submit', [StatusReportController::class, 'submitForApproval'])->name('projects.reports.submit');
|
||||
});
|
||||
Reference in New Issue
Block a user