laporan gadaian penebusan
This commit is contained in:
@@ -240,4 +240,15 @@ class TebusController extends Controller
|
||||
|
||||
return response()->json($update_gadai, 200);
|
||||
}
|
||||
|
||||
public function getLaporanTebus($kodcaw,$tarikh){
|
||||
$cawangan = Cawangan::on('mysql7')->where('kodcaw','=',$kodcaw)->first();
|
||||
|
||||
$tebus = Tebus::on($cawangan['mysql'])
|
||||
->where('t_tebus','=',$tarikh)
|
||||
->orderBy('teller')
|
||||
->get();
|
||||
|
||||
return response()->json($tebus);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user