FIX_IRDA_NEGATIVE_VALUES
This commit is contained in:
parent
f92e9a7c44
commit
0316908e67
@ -462,7 +462,8 @@ class PolicyTransactionController extends BaseController
|
||||
}
|
||||
|
||||
if($data['bro_payable_by'] == 1){
|
||||
$cop_amt = isset($data['co_premium'][$index]) && ($data['co_premium'][$index] != "0.00" || !empty($data['co_premium'][$index]) ) ? $data['co_premium'][$index] : ($data['base_premium'][$index] ?? 0);
|
||||
$cop_amt = isset($data['co_premium'][$index]) && ($data['co_premium'][$index] != "0.00" && !empty($data['co_premium'][$index]) ) ? $data['co_premium'][$index] : ($data['base_premium'][$index] ?? 0);
|
||||
// print_r($cop_amt);die();
|
||||
}else{
|
||||
$cop_amt = $data['co_premium'][$index] ?? 0;
|
||||
}
|
||||
|
||||
@ -121,8 +121,8 @@
|
||||
<input type="hidden" name="cd_ac_no" id="cd_ac_no">
|
||||
<input type="hidden" name="cd_ac_pk" id="cd_ac_pk">
|
||||
<input type="hidden" name="ct_type" id="ct_type">
|
||||
<input type="hidden" name="" id="bro_payable_by">
|
||||
<input type="hidden" name="" id="cop_yes">
|
||||
<input type="hidden" name="bro_payable_by" id="bro_payable_by">
|
||||
<input type="hidden" name="cop_yes" id="cop_yes">
|
||||
|
||||
|
||||
<!-- Client Row -->
|
||||
|
||||
Loading…
Reference in New Issue
Block a user