split bill ui
This commit is contained in:
@@ -674,7 +674,7 @@
|
||||
$('#request_bills').click(function () {
|
||||
swal({
|
||||
title: "Alert",
|
||||
text: "Are you sure want to Split?",
|
||||
text: "Do you want to Split bill?",
|
||||
type: "warning",
|
||||
showCancelButton: true,
|
||||
confirmButtonColor: "#DD6B55",
|
||||
@@ -683,7 +683,7 @@
|
||||
}, function (isConfirm) {
|
||||
if (isConfirm) {
|
||||
var dining_id = "<%= @dining.id %>";
|
||||
window.location.href = '/origami/table/' + dining_id + "/split_bill";
|
||||
window.location.href = '/origami/table/' + dining_id + "/split_bills";
|
||||
}else{
|
||||
var order_id = $('#save_order_id').attr('data-order');
|
||||
var ajax_url = "/origami/" + order_id + "/request_bills";
|
||||
|
||||
Reference in New Issue
Block a user