/** * CommissionType Enum * Defines who pays the platform commission * Used in: Property pricing, booking financials */ const CommissionType = Object.freeze({ FROM_OWNER: 'from_owner', FROM_TENANT: 'from_tenant', FROM_BOTH: 'from_both', }); // Map type → Arabic label const CommissionTypeLabels = Object.freeze({ [CommissionType.FROM_OWNER]: 'من المالك', [CommissionType.FROM_TENANT]: 'من المستأجر', [CommissionType.FROM_BOTH]: 'من الاثنين', }); export { CommissionType, CommissionTypeLabels };