Merge branch 'adminapi' into 'master'

fix

See merge request online-sistem1/api_arrahn!147
This commit is contained in:
hafifie rahman
2022-06-08 02:46:20 +00:00
4 changed files with 12 additions and 1 deletions
@@ -1863,6 +1863,7 @@ class AdminPageController extends Controller
$permohonan->baki_petibesi = $request->bakipetibesi;
$permohonan->amaun_mohon = $request->jumlahmohon;
$permohonan->nama_pemohon = $request->namapemohon;
$permohonan->jawatan_pemohon = $request->jawatanpemohon;
$permohonan->tarikh_permohonan = $request->tarikhmohon;
$permohonan->outstandingsemasa = $request->outstanding;
$permohonan->nopermohonan = $nopermohonan;
@@ -313,4 +313,13 @@ class TransactionOnlineController extends Controller
'lelong' => $akanlelongarray
),200);
}
public function updateTagPortal(Request $request){
$transaction = TransactionOnline::on('mysql7')->where('billplz_id','=',$request->billplz_id)->update(array(
'tagportal' => 1
));
return response()->json($transaction,200);
}
}