ggwp
This commit is contained in:
@@ -535,18 +535,6 @@ class GadaiController extends Controller
|
||||
}
|
||||
}
|
||||
|
||||
public function checkSerahTebus(Request $request){
|
||||
$cawangan = Cawangan::on('mysql7')->where('kodcaw','=',$request->kodcaw)->first();
|
||||
|
||||
$rekod_gadaian = Gadai::on($cawangan['mysql'])->where('norujukan','=',$request->norujukan)->first();
|
||||
|
||||
if($rekod_gadaian['semakbarcode'] == 'Tebus'){
|
||||
return response()->json('true');
|
||||
}else{
|
||||
return response()->json('false');
|
||||
}
|
||||
}
|
||||
|
||||
public function serahPetiBesi($kodcaw){
|
||||
$cawangan = Cawangan::on('mysql7')->where('kodcaw','=',$kodcaw)->first();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user