update function notis jbg
This commit is contained in:
@@ -1358,7 +1358,7 @@ class CallCenterController extends Controller
|
|||||||
->where('nokp','=',$cal['nokp'])
|
->where('nokp','=',$cal['nokp'])
|
||||||
->get();
|
->get();
|
||||||
|
|
||||||
foreach($listsag as $index1=>$sag){
|
foreach($listsag as $index2=>$sag){
|
||||||
if($sag['tagbaru'] == '0'){
|
if($sag['tagbaru'] == '0'){
|
||||||
$keuntungan = 'asal';
|
$keuntungan = 'asal';
|
||||||
$jeniskeuntungan = ($keuntungan == 'onepercent') ? 'onepercent' : 'asal';
|
$jeniskeuntungan = ($keuntungan == 'onepercent') ? 'onepercent' : 'asal';
|
||||||
@@ -1372,7 +1372,7 @@ class CallCenterController extends Controller
|
|||||||
$response = $master->kiraupahUjrahOnePercent($kodcaw,$sag['norujukan']);
|
$response = $master->kiraupahUjrahOnePercent($kodcaw,$sag['norujukan']);
|
||||||
}
|
}
|
||||||
|
|
||||||
$listsag[$index1]['keuntungan'] = $response;
|
$listsag[$index2]['keuntungan'] = $response;
|
||||||
}
|
}
|
||||||
|
|
||||||
$notisnokp[$index1]['info'] = $customer;
|
$notisnokp[$index1]['info'] = $customer;
|
||||||
|
|||||||
Reference in New Issue
Block a user