feat: update attribute labels in various request files to use lowercase Indonesian terms for consistency

This commit is contained in:
Yoga Pangestu 2026-08-13 08:39:32 +07:00
parent 9f46b6d6be
commit 5a89a0d1e3
12 changed files with 112 additions and 112 deletions

View File

@ -64,18 +64,18 @@ public function rules(): array
public function attributes(): array
{
return [
'email' => 'Email',
'username' => 'Username',
'role' => 'Role',
'full_name' => 'Nama Lengkap',
'phone_number' => 'No. Telepon',
'gender' => 'Jenis Kelamin',
'birth_date' => 'Tanggal Lahir',
'address' => 'Alamat',
'join_date' => 'Tanggal Masuk',
'resign_date' => 'Tanggal Keluar',
'employment_status' => 'Status Kepegawaian',
'base_salary' => 'Gaji Pokok',
'email' => 'email',
'username' => 'username',
'role' => 'role',
'full_name' => 'nama lengkap',
'phone_number' => 'no. telepon',
'gender' => 'jenis kelamin',
'birth_date' => 'tanggal lahir',
'address' => 'alamat',
'join_date' => 'tanggal masuk',
'resign_date' => 'tanggal keluar',
'employment_status' => 'status kepegawaian',
'base_salary' => 'gaji pokok',
];
}
}

View File

@ -35,19 +35,19 @@ public function rules(): array
public function attributes(): array
{
return [
'description' => 'Keterangan',
'product_name' => 'Nama Produk',
'sample' => 'Sample',
'original_outside_sample' => 'Diluar Sample',
'cutting_result' => 'Hasil',
'materials' => 'Bahan Baku',
'materials.*.raw_material_price_id' => 'Varian Bahan Baku',
'materials.*.material_usage' => 'Pemakaian',
'materials.*.material_result' => 'Hasil Material',
'materials.*.combination_index' => 'Indeks Kombinasi',
'combinations' => 'Kombinasi',
'combinations.*.material_result' => 'Hasil Kombinasi',
'photo_key' => 'Foto',
'description' => 'keterangan',
'product_name' => 'nama produk',
'sample' => 'sample',
'original_outside_sample' => 'diluar sample',
'cutting_result' => 'hasil',
'materials' => 'bahan baku',
'materials.*.raw_material_price_id' => 'varian bahan baku',
'materials.*.material_usage' => 'pemakaian',
'materials.*.material_result' => 'hasil material',
'materials.*.combination_index' => 'indeks kombinasi',
'combinations' => 'kombinasi',
'combinations.*.material_result' => 'hasil kombinasi',
'photo_key' => 'foto',
];
}
}

View File

@ -48,22 +48,22 @@ public function rules(): array
public function attributes(): array
{
return [
'name' => 'Nama Bahan Baku',
'unit' => 'Satuan',
'variants' => 'Varian',
'variants.*.variant' => 'Nama Varian',
'variants.*.price' => 'Harga',
'variants.*.stock' => 'Stok',
'variants.*.photo_key' => 'Foto Varian',
'existing_items' => 'Item Bahan Baku',
'existing_items.*.raw_material_price_id' => 'Varian Bahan Baku',
'existing_items.*.quantity' => 'Jumlah',
'existing_items.*.unit_price' => 'Harga Beli',
'supplier_id' => 'Supplier',
'discount' => 'Diskon',
'shipping_cost' => 'Ongkir',
'notes' => 'Keterangan',
'photo_key' => 'Foto',
'name' => 'nama bahan baku',
'unit' => 'satuan',
'variants' => 'varian',
'variants.*.variant' => 'nama varian',
'variants.*.price' => 'harga',
'variants.*.stock' => 'stok',
'variants.*.photo_key' => 'foto varian',
'existing_items' => 'item bahan baku',
'existing_items.*.raw_material_price_id' => 'varian bahan baku',
'existing_items.*.quantity' => 'jumlah',
'existing_items.*.unit_price' => 'harga beli',
'supplier_id' => 'supplier',
'discount' => 'diskon',
'shipping_cost' => 'ongkir',
'notes' => 'keterangan',
'photo_key' => 'foto',
];
}
}

View File

@ -29,12 +29,12 @@ public function rules(): array
public function attributes(): array
{
return [
'stock_type' => 'Jenis Stok',
'items' => 'Item Produk',
'items.*.product_variant_id' => 'Varian Produk',
'items.*.quantity' => 'Jumlah',
'notes' => 'Keterangan',
'photo_key' => 'Foto',
'stock_type' => 'jenis stok',
'items' => 'item produk',
'items.*.product_variant_id' => 'varian produk',
'items.*.quantity' => 'jumlah',
'notes' => 'keterangan',
'photo_key' => 'foto',
];
}
}

View File

@ -57,23 +57,23 @@ public function rules(): array
public function attributes(): array
{
return [
'stock_type' => 'Tipe Stok',
'channel' => 'Channel',
'price_type' => 'Tipe Harga',
'payment_type' => 'Tipe Pembayaran',
'customer_id' => 'Pelanggan',
'marketing_id' => 'Marketing',
'discount' => 'Diskon',
'nego_price' => 'Harga Nego',
'is_completed' => 'Pesanan Selesai',
'is_affiliate' => 'Affiliasi',
'tiktok_order_id' => 'ID Pesanan TikTok',
'shopee_order_id' => 'ID Pesanan Shopee',
'items' => 'Item Produk',
'items.*.product_variant_id' => 'Varian Produk',
'items.*.quantity' => 'Jumlah',
'notes' => 'Keterangan',
'photo_key' => 'Foto',
'stock_type' => 'tipe stok',
'channel' => 'channel',
'price_type' => 'tipe harga',
'payment_type' => 'tipe pembayaran',
'customer_id' => 'pelanggan',
'marketing_id' => 'marketing',
'discount' => 'diskon',
'nego_price' => 'harga nego',
'is_completed' => 'pesanan selesai',
'is_affiliate' => 'affiliasi',
'tiktok_order_id' => 'id pesanan tiktok',
'shopee_order_id' => 'id pesanan shopee',
'items' => 'item produk',
'items.*.product_variant_id' => 'varian produk',
'items.*.quantity' => 'jumlah',
'notes' => 'keterangan',
'photo_key' => 'foto',
];
}
}

View File

@ -61,20 +61,20 @@ public function rules(): array
public function attributes(): array
{
return [
'name' => 'Nama Produk',
'description' => 'Deskripsi',
'status' => 'Status',
'category_ids' => 'Kategori',
'variants' => 'Varian',
'variants.*.name' => 'Nama Varian',
'variants.*.stock' => 'Stok',
'variants.*.reject_stock' => 'Stok Reject',
'variants.*.retail_stock' => 'Stok Retail',
'variants.*.photo_keys' => 'Foto',
'variants.*.photo_keys.*' => 'Foto',
'variants.*.prices' => 'Harga',
'variants.*.prices.*.type' => 'Tipe Harga',
'variants.*.prices.*.price' => 'Harga',
'name' => 'nama produk',
'description' => 'deskripsi',
'status' => 'status',
'category_ids' => 'kategori',
'variants' => 'varian',
'variants.*.name' => 'nama varian',
'variants.*.stock' => 'stok',
'variants.*.reject_stock' => 'stok reject',
'variants.*.retail_stock' => 'stok retail',
'variants.*.photo_keys' => 'foto',
'variants.*.photo_keys.*' => 'foto',
'variants.*.prices' => 'harga',
'variants.*.prices.*.type' => 'tipe harga',
'variants.*.prices.*.price' => 'harga',
];
}
}

View File

@ -40,15 +40,15 @@ public function rules(): array
public function attributes(): array
{
return [
'name' => 'Nama Varian',
'stock' => 'Stok Bagus',
'reject_stock' => 'Stok Reject',
'retail_stock' => 'Stok Ecer',
'photo_keys' => 'Foto',
'photo_keys.*' => 'Foto',
'prices' => 'Harga',
'prices.*.type' => 'Tipe Harga',
'prices.*.price' => 'Harga',
'name' => 'nama varian',
'stock' => 'stok bagus',
'reject_stock' => 'stok reject',
'retail_stock' => 'stok ecer',
'photo_keys' => 'foto',
'photo_keys.*' => 'foto',
'prices' => 'harga',
'prices.*.type' => 'tipe harga',
'prices.*.price' => 'harga',
];
}
}

View File

@ -22,8 +22,8 @@ public function rules(): array
public function attributes(): array
{
return [
'quantity' => 'Jumlah Transfer',
'description' => 'Keterangan',
'quantity' => 'jumlah transfer',
'description' => 'keterangan',
];
}
}

View File

@ -40,14 +40,14 @@ public function rules(): array
public function attributes(): array
{
return [
'name' => 'Nama Bahan Baku',
'unit' => 'Satuan',
'is_active' => 'Status',
'variants' => 'Varian',
'variants.*.variant' => 'Nama Varian',
'variants.*.price' => 'Harga',
'variants.*.stock' => 'Stok',
'variants.*.photo_key' => 'Foto Varian',
'name' => 'nama bahan baku',
'unit' => 'satuan',
'is_active' => 'status',
'variants' => 'varian',
'variants.*.variant' => 'nama varian',
'variants.*.price' => 'harga',
'variants.*.stock' => 'stok',
'variants.*.photo_key' => 'foto varian',
];
}
}

View File

@ -33,10 +33,10 @@ public function rules(): array
public function attributes(): array
{
return [
'variant' => 'Nama Varian',
'price' => 'Harga',
'stock' => 'Stok',
'photo_key' => 'Foto',
'variant' => 'nama varian',
'price' => 'harga',
'stock' => 'stok',
'photo_key' => 'foto',
];
}
}

View File

@ -32,8 +32,8 @@ public function rules(): array
public function attributes(): array
{
return [
'name' => 'Nama Role',
'permissions' => 'Permission',
'name' => 'nama role',
'permissions' => 'permission',
];
}
}

View File

@ -73,9 +73,9 @@ public function attributes(): array
'tiktok_shop_affiliate.base' => 'dasar affiliate tiktok shop',
'tiktok_shop_affiliate.type' => 'tipe affiliate tiktok shop',
'tiktok_shop_affiliate.value' => 'nilai affiliate tiktok shop',
'tiktok_shop_pre_order_service_fee.base' => 'dasar layanan PO tiktok shop',
'tiktok_shop_pre_order_service_fee.type' => 'tipe layanan PO tiktok shop',
'tiktok_shop_pre_order_service_fee.value' => 'nilai layanan PO tiktok shop',
'tiktok_shop_pre_order_service_fee.base' => 'dasar layanan po tiktok shop',
'tiktok_shop_pre_order_service_fee.type' => 'tipe layanan po tiktok shop',
'tiktok_shop_pre_order_service_fee.value' => 'nilai layanan po tiktok shop',
'shopee_admin_fee.base' => 'dasar biaya administrasi shopee',
'shopee_admin_fee.type' => 'tipe biaya administrasi shopee',
'shopee_admin_fee.value' => 'nilai biaya administrasi shopee',
@ -94,12 +94,12 @@ public function attributes(): array
'shopee_order_processing_fee.base' => 'dasar biaya proses pesanan shopee',
'shopee_order_processing_fee.type' => 'tipe biaya proses pesanan shopee',
'shopee_order_processing_fee.value' => 'nilai biaya proses pesanan shopee',
'shopee_ams_commission_fee.base' => 'dasar biaya komisi AMS shopee',
'shopee_ams_commission_fee.type' => 'tipe biaya komisi AMS shopee',
'shopee_ams_commission_fee.value' => 'nilai biaya komisi AMS shopee',
'shopee_pre_order.base' => 'dasar PO shopee',
'shopee_pre_order.type' => 'tipe PO shopee',
'shopee_pre_order.value' => 'nilai PO shopee',
'shopee_ams_commission_fee.base' => 'dasar biaya komisi ams shopee',
'shopee_ams_commission_fee.type' => 'tipe biaya komisi ams shopee',
'shopee_ams_commission_fee.value' => 'nilai biaya komisi ams shopee',
'shopee_pre_order.base' => 'dasar po shopee',
'shopee_pre_order.type' => 'tipe po shopee',
'shopee_pre_order.value' => 'nilai po shopee',
'shopee_live_extra.base' => 'dasar live extra shopee',
'shopee_live_extra.type' => 'tipe live extra shopee',
'shopee_live_extra.value' => 'nilai live extra shopee',