Merge branch 'apiaku' into 'master'
fix skit2 See merge request online-sistem1/api_arrahn!63
This commit is contained in:
@@ -55,6 +55,7 @@ class LelongController extends Controller
|
||||
foreach($cawangan_all as $index=>$cawangan){
|
||||
$bakilelong = Gadai::on($cawangan['mysql'])
|
||||
->where([['sttebus','=', 'L'],['nokp','=',$noic],['baki','not like', '-%']])
|
||||
->whereNull('trkhtuntut')
|
||||
->rightJoin('lelong', 'gadai.norujukan', '=', 'lelong.norujukan')
|
||||
->sum('baki');
|
||||
|
||||
@@ -72,6 +73,7 @@ class LelongController extends Controller
|
||||
foreach($cawangan_all as $index=>$cawangan){
|
||||
$rugilelong = Gadai::on($cawangan['mysql'])
|
||||
->where([['sttebus','=', 'L'],['nokp','=',$noic],['baki','like', '-%']])
|
||||
->whereNull('trkhtuntut')
|
||||
->rightJoin('lelong', 'gadai.norujukan', '=', 'lelong.norujukan')
|
||||
->sum('baki');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user