feat(migrations): update franchise to percentage in tenant_insurances and tenant_service_coverage
- Changed franchise_rials to franchise_percent in tenant_insurances and tenant_service_coverage tables. - Reset old rial values to 0/NULL as they are not convertible to percentage. feat(command): add SeedInsuranceScenarioCommand for seeding insurance data - Implemented a command to seed supplementary insurance contracts, patients, and claims for a specified doctor. - Includes functionality for purging existing scenario data and generating new entries with predefined contracts and patient scenarios.
This commit is contained in:
@@ -27,7 +27,7 @@ class NumericFieldNormalizerSubscriber implements EventSubscriberInterface
|
||||
'price_rials', 'amount_rials', 'amount', 'free_visit_price_rials',
|
||||
'insurance_price_rials', 'patient_share_rials', 'visit_price_rials',
|
||||
'duration_minutes', 'duration', 'commission_percent', 'coverage',
|
||||
'coverage_percent', 'franchise', 'ceiling', 'tax_percent',
|
||||
'coverage_percent', 'franchise', 'franchise_percent', 'ceiling', 'tax_percent',
|
||||
'base_insurance_discount_percent', 'supplementary_discount_percent',
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user