Implement revised retention workflow, overdue late penalty calculation, payment proof verification, and dynamic ledger reconciliation

This commit is contained in:
Ajjj
2026-08-14 15:29:55 +08:00
parent ccbd23d474
commit 1ca1d286cd
39 changed files with 4103 additions and 573 deletions

View File

@@ -15,10 +15,17 @@ class ProjectProgressController extends Controller
$projectUlid = $request->query('project');
$project = $projectUlid ? \Modules\ProjectManagement\Models\Project::where('ulid', $projectUlid)->firstOrFail() : null;
$evmData = null;
if ($project) {
$progressService = new \Modules\ProjectProgress\Services\ProjectProgressService();
$evmData = $progressService->getEvmAnalysisData($project);
}
return \Inertia\Inertia::render('ProjectManagement::Projects/Modules/Progress', [
'project' => $project,
'projects' => \Modules\ProjectManagement\Models\Project::with('parentProject:id,ulid,name,code')->get(['id', 'ulid', 'name', 'code', 'project_type', 'parent_project_id']),
'currentTab' => 'progress',
'evmData' => $evmData,
]);
}