ubah dan hapus

This commit is contained in:
hafifierahman
2021-01-10 08:04:46 +08:00
parent e20de6278f
commit c00906aecb
7 changed files with 948 additions and 48 deletions
+4 -12
View File
@@ -510,18 +510,10 @@
}
else
{
$.ajax({
method:'get',
url:'{{ route("gadai.history") }}',
data:{ "norujukan" : ubahid},
success:function(data)
{
},error: function(xhr, status, error) {
var err = eval("(" + xhr.responseText + ")");
alert(xhr.responseText);
}
});
var urlroute = '{{ route("gadaian.edit", ":id") }}';
urlroute = urlroute.replace(':id', ubahid);
window.location.replace(urlroute);
}
}