Initial Commit
This commit is contained in:
24
indexes/user/process/item_modify.js
Normal file
24
indexes/user/process/item_modify.js
Normal file
@@ -0,0 +1,24 @@
|
||||
function item_add(tag){
|
||||
var id = tag.id;
|
||||
var table = tag.name;
|
||||
window.location.href = "./modify/item_add.php?booking_id=" + id + "&table=" + table;
|
||||
}
|
||||
|
||||
function item_subtract(tag){
|
||||
var id = tag.id;
|
||||
var table = tag.name;
|
||||
window.location.href = "./modify/item_subtract.php?booking_id=" + id + "&table=" + table;
|
||||
}
|
||||
|
||||
function item_del(tag){
|
||||
var id = tag.id;
|
||||
var table = tag.name;
|
||||
window.location.href = "./modify/item_del.php?booking_id=" + id + "&table=" + table;
|
||||
}
|
||||
|
||||
function item_modify(tag){
|
||||
var id = tag.id;
|
||||
var quantity = tag.value;
|
||||
var table = tag.name;
|
||||
window.location.href = "./modify/item_modify.php?booking_id=" + id + "&quantity=" + quantity + "&table=" + table;
|
||||
}
|
||||
Reference in New Issue
Block a user