Commit Graph

5 Commits

Author SHA1 Message Date
Khafid Prayoga 46911514fb refactor: postal region, add new field on list
feat: implement postal region model and update address handling

- Add new PostalRegion model and service
- Replace postalCode with postalRegion in address-related components
- Update schemas and models to use locationType_code consistently
- Add usePostalRegion composable for postal code selection
- Modify patient form to handle address changes more robustly

feat(patient): add ID column and improve date formatting

- Add patient ID column to patient list
- Format dates using 'id-ID' locale in preview
- Update identity number display for foreign patients
- Include passport number for foreign nationals
2025-10-13 13:07:00 +07:00
Khafid Prayoga ea04f33ad1 refactor(address): update address models and forms to use standardized fields
- Add preload relationships to address-related models
- Rename postalCode to postalCode_code for consistency
- Simplify location type handling with hidden fields
- Update validation schemas and form components
- Improve address display in patient preview
2025-10-10 15:36:54 +07:00
Khafid Prayoga 33f17e54b1 refactor(person-address): change postal_code to camelCase postalCode
Update all references to postal_code field to use camelCase postalCode for consistency with codebase naming conventions. This includes changes to models, schemas, and components.
2025-10-09 19:51:57 +07:00
Khafid Prayoga 5121422658 adjust: improve regency select based on new useRegencies composable to explicit pull all data with no limitation, because it has a province code 2025-10-09 18:46:58 +07:00
Munawwirul Jamal 3eb9dde21d Dev cleaning (#106) 2025-10-08 00:03:36 +07:00