change recent

This commit is contained in:
hafifierahman
2021-01-12 11:46:12 +08:00
parent 80274522b3
commit 7ae83966f7
9 changed files with 213 additions and 7 deletions
+3
View File
@@ -1122,12 +1122,15 @@ class GadaiController extends Controller
Gadai::on($cawangan['mysql'])->where('norujukan','=',$norujukan)->delete();
Tebus::on($cawangan['mysql'])->where('norujukan','=',$gadai[0]['historygadaian'])->delete();
Marhun::on($cawangan['mysql'])->where('norujukan','=',$norujukan)->delete();
return response('Deleted Successfully', 200);
}
else
{
Gadai::on($cawangan['mysql'])->where('norujukan','=',$norujukan)->delete();
Marhun::on($cawangan['mysql'])->where('norujukan','=',$norujukan)->delete();
return response('Deleted Successfully', 200);
}