update survey

This commit is contained in:
Aung Myo
2017-11-07 14:49:42 +06:30
parent 0ad958d8a8
commit 97c03c1744
5 changed files with 85 additions and 25 deletions

View File

@@ -402,11 +402,11 @@
if (sale) {
var sale_id = sale
} else {
var sale_id = $('#save_order_id').attr('data-order');
var sale_id = $('.tables').attr("data-id");;
}
var table_id = $('.tables').attr("data-id");
//var table_id = $('.tables').attr("data-id");
window.location.href = '/origami/' + sale_id + "/survey"
window.location.href = '/origami/' + sale_id + "/surveys"
});
// bind customer to order or sale