feat: add configuration module for managing branches, divisions, and customers

- Introduced a new Configuration module with routes for managing branches, divisions, and customers.
- Implemented UI components for creating, editing, and viewing branch details, including general information, location, and working schedule.
- Added validation schemas for branch data and integrated language support for English and Indonesian.
- Developed comprehensive unit tests for the branches remote data service and transformer to ensure functionality and reliability.

This commit enhances the application by providing a structured approach to configuration management, improving user experience and data handling.
This commit is contained in:
shancheas
2026-08-25 22:56:07 +07:00
parent 44b0ef0168
commit 73d84f3874
92 changed files with 3271 additions and 78 deletions
@@ -185,6 +185,18 @@
"address": "Address",
"phone": "Phone Number",
"email": "Email",
"latitude": "Latitude",
"longitude": "Longitude",
"nfcId": "NFC ID",
"division": "Division",
"workingDaysStart": "Working Days Start",
"workingDaysEnd": "Working Days End",
"workingHoursStart": "Working Hours Start",
"workingHoursEnd": "Working Hours End",
"weekday": "Weekday",
"workingHours": "Working Hours",
"jobTitle": "Job Title",
"mobilePhone": "Mobile Phone",
"user": "User",
"role": "Role",
"notes": "Notes",
@@ -11,6 +11,7 @@
"must_be_positive": "{{field}} must be a positive number",
"invalid_email": "Invalid email format",
"invalid_phone": "Invalid phone number format",
"invalid_format": "{{field}} format is invalid",
"invalid_password_simple": "Password must be at least {{min}} characters",
"invalid_password_complex": "Password must contain at least 1 uppercase, 1 lowercase, 1 number, and 1 special character"
}
@@ -185,6 +185,18 @@
"address": "Alamat",
"phone": "No. Telepon",
"email": "Email",
"latitude": "Latitude",
"longitude": "Longitude",
"nfcId": "ID NFC",
"division": "Divisi",
"workingDaysStart": "Hari Kerja Mulai",
"workingDaysEnd": "Hari Kerja Selesai",
"workingHoursStart": "Jam Kerja Mulai",
"workingHoursEnd": "Jam Kerja Selesai",
"weekday": "Hari",
"workingHours": "Jam Kerja",
"jobTitle": "Jabatan",
"mobilePhone": "No. HP",
"user": "Pengguna",
"role": "Peran",
"notes": "Catatan",
@@ -11,6 +11,7 @@
"must_be_positive": "{{field}} harus bernilai positif",
"invalid_email": "Format email tidak valid",
"invalid_phone": "Format nomor telepon tidak valid",
"invalid_format": "Format {{field}} tidak valid",
"invalid_password_simple": "Kata sandi minimal {{min}} karakter",
"invalid_password_complex": "Kata sandi harus mengandung minimal 1 huruf besar, 1 huruf kecil, 1 angka, dan 1 karakter spesial"
}