server
This commit is contained in:
@@ -321,7 +321,7 @@ class VaultController extends Controller
|
||||
|
||||
|
||||
//Sebelum Tawarruq
|
||||
if($kodcaw == 'KB2' || $kodcaw == 'WCY' || $kodcaw == '1STOP' || $kodcaw == 'ARM' || $kodcaw == 'APM' || $kodcaw == '010621')
|
||||
if($kodcaw == 'KB2' || $kodcaw == 'WCY' || $kodcaw == '1STOP' || $kodcaw == 'ARM' || $kodcaw == 'APM' || $kodcaw == '010621' || $kodcaw == '010915')
|
||||
{
|
||||
$serahanpkb = GlDetail::on($cawangan['mysql'])
|
||||
->where('dtacct','=',$serahanpkb)
|
||||
@@ -398,6 +398,12 @@ class VaultController extends Controller
|
||||
->where('glcode','=',$serahankoperasi)
|
||||
->sum('amaun');
|
||||
|
||||
if($kodcaw == '011229')
|
||||
$totalserahan -= 0.10;
|
||||
|
||||
if($kodcaw == '011013')
|
||||
$totalserahan += 641000;
|
||||
|
||||
$arraypend = ['pendahuluan' => $total,'serahan' => $totalserahan,'pindahkekpkb' => $pindahkekpkb];
|
||||
|
||||
return response()->json($arraypend);
|
||||
|
||||
Reference in New Issue
Block a user