fix(mobile): resolve user avatars, chat alignment, timestamp formatting, and payslips API

This commit is contained in:
2026-08-10 17:55:14 +08:00
parent 6fe1fe125e
commit 9597cbf99a
1468 changed files with 172818 additions and 65664 deletions

View File

@@ -338,6 +338,9 @@ class CandidateController extends Controller
'branch_id' => 'required|exists:branches,id',
'department_id' => 'required|exists:departments,id',
'designation_id' => 'required|exists:designations,id',
'shift_id' => 'required|exists:shifts,id',
'rest_days' => 'nullable|array',
'rest_days.*' => 'string|in:monday,tuesday,wednesday,thursday,friday,saturday,sunday',
'date_of_joining' => 'required|date',
'employment_type' => 'required|string|max:50',
'address_line_1' => 'required|string|max:255',
@@ -403,6 +406,7 @@ class CandidateController extends Controller
'department_id' => $request->department_id,
'designation_id' => $request->designation_id,
'shift_id' => $request->shift_id,
'rest_days' => $request->rest_days ?? ['saturday', 'sunday'],
'attendance_policy_id' => $request->attendance_policy_id,
'date_of_joining' => $request->date_of_joining,
'employment_type' => $request->employment_type,