ubah dan hapus
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user