change order reservation
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
<div class="col-lg-2 col-md-2 col-sm-2">
|
||||
<button type="button" class="btn bg-default btn-block" id='back'><i class="material-icons">reply</i> <%= t("views.btn.back") %> </button>
|
||||
<button type="button" class="btn bg-blue btn-block green" id='close_cashier'> <%= t("views.btn.close_cashier") %> </button>
|
||||
<% if @bank_integration == '1' %>
|
||||
<% if @bank_integration == '1' && @cashier_type!="ordering" %>
|
||||
<button type="button" class="btn bg-blue btn-block green" id="card_settlement"> <%= t("views.btn.card_settle") %> </button>
|
||||
<% end %>
|
||||
</div>
|
||||
@@ -73,10 +73,12 @@
|
||||
});
|
||||
|
||||
$('#back').on('click',function(){
|
||||
if(cashier_type!='quick_service'){
|
||||
if(cashier_type=='cashier'){
|
||||
window.location.href = '/origami';
|
||||
}else{
|
||||
}else if(cashier_type=='quick_service'){
|
||||
window.location.href = '/origami/quick_service';
|
||||
}else{
|
||||
window.location.href = '/origami/order_reservation';
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user