Update validation, dll Hospital-Portal

This commit is contained in:
ivan
2023-07-20 11:51:44 +07:00
parent 5632e9ff29
commit 4c8570b542
28 changed files with 598 additions and 128 deletions

View File

@@ -0,0 +1,8 @@
<?php
return [
'success' => 'Request has been successfully processed.',
'server_error' => 'Internal server error.',
'not_found' => 'Data not found',
'password' => 'Password wrong. Please try again.'
];

View File

@@ -0,0 +1,8 @@
<?php
return [
'required' => 'The :attribute field is required.',
'invalid' => 'The :attribute field is invalid.',
'max' => ':attribute cannot exceed :length characters.',
'email' => 'Invalid email format.'
];

View File

@@ -0,0 +1,8 @@
<?php
return [
'success' => 'Request berhasil dilakukan.',
'server_error' => 'Internal server error.',
'not_found' => 'Data tidak ditemukan.',
'password' => 'Password salah. Silakan coba lagi.'
];

View File

@@ -0,0 +1,8 @@
<?php
return [
'required' => 'Kolom :attribute harus diisi.',
'invalid' => 'Kolom :attribute tidak valid.',
'max' => ':attribute tidak boleh melebihi :length karakter.',
'email' => 'Format email salah.'
];