FIX_LIVE_ISSUE : RV
This commit is contained in:
parent
f43f5ef3d5
commit
8a20d137a6
@ -2386,17 +2386,20 @@ class TicketController extends BaseController
|
||||
}
|
||||
|
||||
// 5. Merge the Sum Insured value if the multiple sum insured exists
|
||||
if(isset($data['multiple_sum_insured'])){
|
||||
if(isset($data['sumInsured2'])){
|
||||
$data['sumInsured2'] = $data['sumInsured2'] . ", " . implode(", ", $data['multiple_sum_insured']);
|
||||
}else{
|
||||
$data['sum_insured'] = $data['sum_insured'] . ", " . implode(", ", $data['multiple_sum_insured']);
|
||||
if (isset($data['multiple_sum_insured'])) {
|
||||
|
||||
$multipleSumInsured = is_array($data['multiple_sum_insured']) ? $data['multiple_sum_insured'] : [$data['multiple_sum_insured']]; // force into array if string
|
||||
|
||||
if (isset($data['sumInsured2'])) {
|
||||
$data['sumInsured2'] .= ", " . implode(", ", $multipleSumInsured);
|
||||
} else {
|
||||
$data['sum_insured'] .= ", " . implode(", ", $multipleSumInsured);
|
||||
}
|
||||
|
||||
unset($data['multiple_sum_insured']);
|
||||
}
|
||||
|
||||
// 6. Add the special condition to key value pair
|
||||
|
||||
if(!empty($data['special_condition_label'])){
|
||||
foreach ($data['special_condition_label'] as $key => $value) {
|
||||
if($value != "" && $value != null) {
|
||||
|
||||
@ -537,7 +537,7 @@
|
||||
.show > .btn-ternary:dropdown-toggle:focus {
|
||||
box-shadow: 0 0 0 0.15rem rgba(226, 103, 40, 0.5); }
|
||||
|
||||
.btn-border-radius{ .border-radius: 10px !important; }
|
||||
.btn-border-radius{ border-radius: 10px !important; }
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user