merge with old_town_aston req
This commit is contained in:
3
app/views/origami/split_bill/index.html.erb
Executable file → Normal file
3
app/views/origami/split_bill/index.html.erb
Executable file → Normal file
@@ -387,7 +387,8 @@
|
||||
$('#order_item_split').on('click',function () {
|
||||
var cnt_order_item = "<%= @order_items.count %>";
|
||||
var order_items = get_selected_order_items();// Selected Order Items
|
||||
var cnt_items = parseInt(cnt_order_item) - parseInt(order_items.length);
|
||||
|
||||
var cnt_items = parseInt(cnt_order_item - 1) - parseInt(order_items.length);
|
||||
if (order_items.length > 0){
|
||||
// if(cnt_items > 0){
|
||||
swal({
|
||||
|
||||
Reference in New Issue
Block a user