Изменения в основном report
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
|
||||
namespace App\Http\Controllers\Web;
|
||||
|
||||
use App\Application\Reports\ReportSavePathService;
|
||||
use App\Exports\ReportPageExport;
|
||||
use App\Http\Controllers\Controller;
|
||||
use App\Http\Resources\Mis\FormattedPatientResource;
|
||||
@@ -22,7 +21,6 @@ class ReportController extends Controller
|
||||
protected ReportPageService $reportPageService,
|
||||
protected ReportService $reportService,
|
||||
protected DateRangeService $dateRangeService,
|
||||
protected ReportSavePathService $reportSavePathService,
|
||||
) {}
|
||||
|
||||
public function index(Request $request)
|
||||
@@ -48,7 +46,7 @@ class ReportController extends Controller
|
||||
'status' => 'nullable|in:draft,submitted',
|
||||
]);
|
||||
|
||||
$this->reportSavePathService->saveManual(Auth::user(), $validated);
|
||||
$this->reportService->storeReport($validated, Auth::user());
|
||||
|
||||
return redirect()->route('start');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user