feat: add visual progress timeline to the intern application dashboard

This commit is contained in:
Ümit Tunç
2026-06-10 20:47:57 +03:00
parent efc6b911e7
commit f9abe3c02a
4 changed files with 277 additions and 1 deletions
@@ -137,6 +137,12 @@ class InternApplicationResource extends Resource
->disk('public')
->directory('signed_interns')
->downloadable()
->live()
->afterStateUpdated(function ($state, Set $set) {
if ($state) {
$set('status', 'accepted');
}
})
->nullable(),
DatePicker::make('internship_start_date')
@@ -186,6 +186,7 @@ class CareerController extends Controller
'internship_start_date' => $request->internship_start_date,
'internship_end_date' => $endDate->format('Y-m-d'),
'internship_total_days' => $daysToAdd,
'status' => 'waiting_document',
]);
return redirect()->back()->with('success', 'İmzalanacak staj formunuz ve staj tarihleri başarıyla kaydedildi.');