forked from kevinowino869/mitrobill
PHPMixBill v5.0 - First Upload
This commit is contained in:
9
ui/lib/c/bandwidth.js
Normal file
9
ui/lib/c/bandwidth.js
Normal file
@ -0,0 +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=bandwidth/delete/" + id;
|
||||
}
|
||||
});
|
||||
});
|
9
ui/lib/c/customers.js
Normal file
9
ui/lib/c/customers.js
Normal file
@ -0,0 +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=customers/delete/" + id;
|
||||
}
|
||||
});
|
||||
});
|
9
ui/lib/c/hotspot.js
Normal file
9
ui/lib/c/hotspot.js
Normal file
@ -0,0 +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=services/delete/" + id;
|
||||
}
|
||||
});
|
||||
});
|
8
ui/lib/c/index.html
Normal file
8
ui/lib/c/index.html
Normal file
@ -0,0 +1,8 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>403 Forbidden</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Directory access is forbidden.</p>
|
||||
</body>
|
||||
</html>
|
9
ui/lib/c/pool.js
Normal file
9
ui/lib/c/pool.js
Normal file
@ -0,0 +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=pool/delete/" + id;
|
||||
}
|
||||
});
|
||||
});
|
9
ui/lib/c/pppoe.js
Normal file
9
ui/lib/c/pppoe.js
Normal file
@ -0,0 +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=services/pppoe-delete/" + id;
|
||||
}
|
||||
});
|
||||
});
|
9
ui/lib/c/prepaid.js
Normal file
9
ui/lib/c/prepaid.js
Normal file
@ -0,0 +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;
|
||||
}
|
||||
});
|
||||
});
|
9
ui/lib/c/routers.js
Normal file
9
ui/lib/c/routers.js
Normal file
@ -0,0 +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=routers/delete/" + id;
|
||||
}
|
||||
});
|
||||
});
|
9
ui/lib/c/users.js
Normal file
9
ui/lib/c/users.js
Normal file
@ -0,0 +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=settings/users-delete/" + id;
|
||||
}
|
||||
});
|
||||
});
|
9
ui/lib/c/voucher.js
Normal file
9
ui/lib/c/voucher.js
Normal file
@ -0,0 +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/voucher-delete/" + id;
|
||||
}
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user