update query data for origami
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
if (@booking)
|
||||
json.id @booking.id
|
||||
json.id @booking.booking_id
|
||||
json.status @booking.booking_status
|
||||
json.checkin_at @booking.checkin_at
|
||||
json.checkin_by @booking.checkin_by
|
||||
@@ -12,7 +12,8 @@ if (@booking)
|
||||
end
|
||||
@total_amount = 0.00
|
||||
@total_tax = 0.00
|
||||
|
||||
|
||||
@booking_orders = BookingOrder.where("booking_id = #{@booking.booking_id}").all;
|
||||
if @booking.booking_orders
|
||||
order_items = []
|
||||
@booking.booking_orders.each do |bo|
|
||||
|
||||
Reference in New Issue
Block a user