feat: add fields translations to common.json and enhance EnterpriseDataTable with status column and StatusBadge component

This commit is contained in:
Firman Ramdhani
2026-07-22 13:42:28 +07:00
parent f70aa9d29e
commit 9a1422ef28
3 changed files with 85 additions and 3 deletions
@@ -113,6 +113,41 @@
"system_menu": {
"history": "History",
"bookmark": "Bookmark"
},
"fields": {
"id": "ID",
"code": "Code",
"name": "Name",
"description": "Description",
"number": "Number",
"status": "Status",
"type": "Type",
"category": "Category",
"action": "Action",
"createdAt": "Created At",
"updatedAt": "Updated At",
"createdBy": "Created By",
"updatedBy": "Updated By",
"deletedAt": "Deleted At",
"date": "Date",
"amount": "Amount",
"price": "Price",
"quantity": "Quantity",
"total": "Total",
"balance": "Balance",
"address": "Address",
"phone": "Phone Number",
"email": "Email",
"user": "User",
"role": "Role",
"notes": "Notes",
"isActive": "Active",
"isDefault": "Default",
"isRequired": "Required",
"startDate": "Start Date",
"endDate": "End Date",
"attachment": "Attachment",
"reference": "Reference"
}
}
}
@@ -113,6 +113,41 @@
"system_menu": {
"history": "Riwayat",
"bookmark": "Bookmark"
},
"fields": {
"id": "ID",
"code": "Kode",
"name": "Nama",
"description": "Deskripsi",
"number": "Nomor",
"status": "Status",
"type": "Tipe",
"category": "Kategori",
"action": "Aksi",
"createdAt": "Tanggal Dibuat",
"updatedAt": "Tanggal Diperbarui",
"createdBy": "Dibuat Oleh",
"updatedBy": "Diperbarui Oleh",
"deletedAt": "Tanggal Dihapus",
"date": "Tanggal",
"amount": "Nominal",
"price": "Harga",
"quantity": "Kuantitas",
"total": "Total",
"balance": "Saldo",
"address": "Alamat",
"phone": "No. Telepon",
"email": "Email",
"user": "Pengguna",
"role": "Peran",
"notes": "Catatan",
"isActive": "Aktif",
"isDefault": "Bawaan",
"isRequired": "Wajib",
"startDate": "Tanggal Mulai",
"endDate": "Tanggal Selesai",
"attachment": "Lampiran",
"reference": "Referensi"
}
}
}