check induties process
This commit is contained in:
@@ -470,6 +470,7 @@
|
||||
<!-- <button type="button" id="other-charges" class="btn bg-blue btn-block" disabled>Charges</button> -->
|
||||
<button type="button" id="customer" class="btn bg-blue btn-block" >Customer</button>
|
||||
<button type="button" class="btn bg-blue btn-block" id='move'>Move</button>
|
||||
<button type="button" id="in_duties" class="btn btn-block bg-blue waves-effect">In Duties</button>
|
||||
<button type="button" id="request_bills" class="btn bg-blue btn-block">Req.Bill</button>
|
||||
<% if !@split_bill.nil? %>
|
||||
<% if @split_bill == '1' %>
|
||||
@@ -1171,8 +1172,9 @@ $('#add_invoice').on('click',function(){
|
||||
});
|
||||
|
||||
$('#in_duties').on('click', function () {
|
||||
var dining_id = "<%= @room.id %>"
|
||||
window.location.href = '/origami/assign_in_duty/'+ dining_id;
|
||||
var dining_id = "<%= @room.id %>";
|
||||
var booking_id = "<%= @booking.booking_id rescue "" %>";
|
||||
window.location.href = '/origami/assign_in_duty/'+ booking_id;
|
||||
});
|
||||
|
||||
// Ordering
|
||||
|
||||
Reference in New Issue
Block a user