18 lines
406 B
JavaScript
18 lines
406 B
JavaScript
|
|
/**
|
||
|
|
* CustomerType Enum
|
||
|
|
* Backend values for customer sub-types
|
||
|
|
* Used in: Customer registration (Customer/Add)
|
||
|
|
*/
|
||
|
|
const CustomerType = Object.freeze({
|
||
|
|
PERSONAL: 'Personal',
|
||
|
|
FAMILY: 'Family',
|
||
|
|
});
|
||
|
|
|
||
|
|
// Map value → Arabic label
|
||
|
|
const CustomerTypeLabels = Object.freeze({
|
||
|
|
[CustomerType.PERSONAL]: 'شخصي',
|
||
|
|
[CustomerType.FAMILY]: 'عائلي',
|
||
|
|
});
|
||
|
|
|
||
|
|
export { CustomerType, CustomerTypeLabels };
|