fix(mobile): resolve user avatars, chat alignment, timestamp formatting, and payslips API
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user