feat: add visual progress timeline to the intern application dashboard
This commit is contained in:
@@ -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.');
|
||||
|
||||
Reference in New Issue
Block a user