finished panjar and tunai, also added migration for recno in requestteller

This commit is contained in:
hafifierahman
2024-11-08 21:49:22 +08:00
parent 24bf497d3d
commit 494408a5cc
5 changed files with 49 additions and 9 deletions
+9
View File
@@ -339,6 +339,15 @@ class TunaiController extends Controller
return response()->json($requestteller);
}
public function getRequestTellerByRecno($kodcaw,Request $request){
$current = Carbon::now();
$current = new Carbon();
$requestteller=RequestTeller::on('mysql7')->where([['kodcaw','=',$kodcaw],['update','=',1],['recno','=',$request->recno],['kodlaluan','=',$request->teller]])->get();
return response()->json($requestteller);
}
public function getRequestTellerLaporanSerahanBerkala($kodcaw,Request $request)
{