Merged in nisha_arcc (pull request #92)

update function notis jbg
This commit is contained in:
nurulnisha muhammad
2024-01-15 05:35:31 +00:00
@@ -1358,7 +1358,7 @@ class CallCenterController extends Controller
->where('nokp','=',$cal['nokp'])
->get();
foreach($listsag as $index1=>$sag){
foreach($listsag as $index2=>$sag){
if($sag['tagbaru'] == '0'){
$keuntungan = 'asal';
$jeniskeuntungan = ($keuntungan == 'onepercent') ? 'onepercent' : 'asal';
@@ -1372,7 +1372,7 @@ class CallCenterController extends Controller
$response = $master->kiraupahUjrahOnePercent($kodcaw,$sag['norujukan']);
}
$listsag[$index1]['keuntungan'] = $response;
$listsag[$index2]['keuntungan'] = $response;
}
$notisnokp[$index1]['info'] = $customer;