fixed conflict after merge with dev

This commit is contained in:
Nweni
2019-11-28 16:47:12 +06:30
37 changed files with 295 additions and 430 deletions

View File

@@ -1,11 +1,8 @@
class Origami::TableInvoicesController < BaseOrigamiController
def index
@table = DiningFacility.find(params[:table_id])
# shop = Shop.first
puts "table bookig lenght"
@sale_array = Array.new
@table.bookings.each do |booking|
puts booking.sale_id
if booking.sale_id.nil?
else
@@ -30,7 +27,6 @@ class Origami::TableInvoicesController < BaseOrigamiController
end
def show
# puts 'Catch me if you can.......................'
@table = DiningFacility.find(params[:table_id])
@membership = MembershipSetting.find_by_shop_code(@shop.shop_code)
@payment_methods = PaymentMethodSetting.where("shop_code='#{@shop.shop_code}'")