DONE: layout letter with letterhead and footer, notification for newly...
This commit is contained in:
@@ -39,6 +39,13 @@ class UserRequest extends FormRequest
|
||||
'phone_number' => 'nullable|string|max:255',
|
||||
'image_url' => 'nullable|string|max:255',
|
||||
'status' => 'nullable|string',
|
||||
'gender' => 'nullable|string|max:255',
|
||||
'marriage_status' => 'nullable|string|max:255',
|
||||
'member_number' => 'required|integer',
|
||||
'member_type' => 'required|string|max:255',
|
||||
'join_date' => 'nullable|date',
|
||||
'birth_date' => 'nullable|date',
|
||||
'birth_place' => 'nullable|string|max:255',
|
||||
];
|
||||
}
|
||||
|
||||
@@ -58,10 +65,17 @@ class UserRequest extends FormRequest
|
||||
// ],
|
||||
'password' => 'nullable|string|min:8',
|
||||
'ic_number' => 'required|string|max:255',
|
||||
'position' => 'required|string|max:255',
|
||||
'position' => 'nullable|string|max:255',
|
||||
'phone_number' => 'nullable|string|max:255',
|
||||
'image_url' => 'nullable|string|max:255',
|
||||
'status' => 'nullable|string',
|
||||
'gender' => 'nullable|string|max:255',
|
||||
'marriage_status' => 'nullable|string|max:255',
|
||||
'member_number' => 'required|integer',
|
||||
'member_type' => 'required|string|max:255',
|
||||
'join_date' => 'nullable|date',
|
||||
'birth_date' => 'nullable|date',
|
||||
'birth_place' => 'nullable|string|max:255',
|
||||
];
|
||||
}
|
||||
|
||||
@@ -81,6 +95,13 @@ class UserRequest extends FormRequest
|
||||
'phone_number' => 'nullable|string|max:255',
|
||||
'image_url' => 'nullable|string|max:255',
|
||||
'status' => 'required|string',
|
||||
'gender' => 'required|string|max:255',
|
||||
'marriage_status' => 'required|string|max:255',
|
||||
'member_number' => 'required|integer',
|
||||
'member_type' => 'required|string|max:255',
|
||||
'join_date' => 'required|date',
|
||||
'birth_date' => 'required|date',
|
||||
'birth_place' => 'required|string|max:255',
|
||||
];
|
||||
}
|
||||
|
||||
@@ -105,6 +126,20 @@ class UserRequest extends FormRequest
|
||||
'image_url.max' => 'URL imej tidak boleh melebihi 255 aksara.',
|
||||
'status.required' => 'Status diperlukan.',
|
||||
'status.string' => 'Status aktif tidak sah.',
|
||||
'gender.required' => 'Jenis kelamin diperlukan.',
|
||||
'gender.max' => 'Jenis kelamin tidak boleh melebihi 255 aksara.',
|
||||
'marriage_status.required' => 'Status perkahwinan diperlukan.',
|
||||
'marriage_status.max' => 'Status perkahwinan tidak boleh melebihi 255 aksara.',
|
||||
'member_number.required' => 'Nombor anggota diperlukan.',
|
||||
'member_number.integer' => 'Nombor anggota tidak sah.',
|
||||
'member_type.required' => 'Jenis anggota diperlukan.',
|
||||
'member_type.max' => 'Jenis anggota tidak boleh melebihi 255 aksara.',
|
||||
'join_date.required' => 'Tarikh join diperlukan.',
|
||||
'join_date.date' => 'Tarikh join tidak sah.',
|
||||
'birth_date.required' => 'Tarikh lahir diperlukan.',
|
||||
'birth_date.date' => 'Tarikh lahir tidak sah.',
|
||||
'birth_place.required' => 'Tempat lahir diperlukan.',
|
||||
'birth_place.max' => 'Tempat lahir tidak boleh melebihi 255 aksara.',
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user