prepaid to plan file

This commit is contained in:
Ibnu Maksum
2024-03-16 20:40:29 +07:00
parent 32943b40be
commit d31edde9d6
28 changed files with 820 additions and 822 deletions

View File

@ -1,9 +1,9 @@
$(document).on("click", ".cdelete", function(e) {
e.preventDefault();
var id = this.id;
bootbox.confirm("Are you sure?", function(result) {
if(result){
window.location.href = "index.php?_route=prepaid/delete/" + id;
}
});
$(document).on("click", ".cdelete", function(e) {
e.preventDefault();
var id = this.id;
bootbox.confirm("Are you sure?", function(result) {
if(result){
window.location.href = "index.php?_route=plan/delete/" + id;
}
});
});

View File

@ -3,7 +3,7 @@
var id = this.id;
bootbox.confirm("Are you sure?", function(result) {
if(result){
window.location.href = "index.php?_route=prepaid/voucher-delete/" + id;
window.location.href = "index.php?_route=plan/voucher-delete/" + id;
}
});
});