FIX_RULES_FIELDS

This commit is contained in:
velz 2025-11-24 10:48:04 +05:30
parent a21bba0144
commit 16d658b295
2 changed files with 14 additions and 1 deletions

View File

@ -42,6 +42,19 @@ class RuleImportController extends AdminController
'is_new_vehicle',
'cubic_capacity',
'policy_business_type',
'fuel_type',
'produt',
'geo_rto_state',
'geo_rto_city',
'model',
'make',
'weight',
'renewal_type',
'renewal_sub_type',
'premium',
'od_premium',
'tp_premium',
'product'
],
];

View File

@ -276,7 +276,7 @@ table.dataTable tbody td { padding: 4px 4px !important; }
let agentId = agentEl ? agentEl.value : '';
let policyTillDate = policyTillDateEl ? policyTillDateEl.value : '';
console.log('policyTillDate', policyTillDate);
selectedPolicies.clear();
if (!agentId || agentId === '' || agentId === '0') {