fix: update attribute labels in AdminRequest and ProfilRequest to use proper capitalization

This commit is contained in:
LailaWulandarii 2026-02-16 14:14:34 +07:00
parent b088d90f5d
commit 0e500c7802
2 changed files with 11 additions and 8 deletions

View File

@ -50,12 +50,12 @@ public function messages(): array
public function attributes(): array
{
return [
'nama' => 'nama lengkap',
'username' => 'username',
'email' => 'alamat email',
'no_wa' => 'nomor WA',
'role' => 'peran admin',
'alamat' => 'alamat lengkap',
'nama' => 'Nama lengkap',
'username' => 'Username',
'email' => 'Alamat email',
'no_wa' => 'Nomor WhatsApp',
'role' => 'Peran admin',
'alamat' => 'Alamat',
];
}

View File

@ -47,8 +47,11 @@ public function messages(): array
public function attributes(): array
{
return [
'nama' => 'Nama Lengkap',
'no_wa' => 'Nomor WA',
'nama' => 'Nama lengkap',
'no_wa' => 'Nomor WhatsApp',
'alamat' => 'Alamat',
'username' => 'Username',
'email' => 'Email',
];
}
}