FIX_GST_ISSUE
This commit is contained in:
parent
4aeb2a101c
commit
b2b2fea4b0
@ -5366,6 +5366,12 @@ class EmpDataServiceController extends BaseController
|
||||
'amount' => ($params['base_premium'] ?? 0) + ($params['gst'] ?? 0),
|
||||
];
|
||||
|
||||
if(isset($policy_data['gst']) && $policy_data['gst'] != null){
|
||||
$coShareData['bp_igst'] = $policy_data['gst'];
|
||||
$coShareData['bp_sgst'] = 0;
|
||||
$coShareData['bp_cgst'] = 0;
|
||||
}
|
||||
|
||||
if(isset($lead_data['agreed_percentage']) && !empty($lead_data['agreed_percentage'])){
|
||||
$coShareData['exp_amt'] = (($params['base_premium'] ?? 0) * ($lead_data['agreed_percentage'] ?? 0)) / 100;
|
||||
}else{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user