Merge branch 'r-1902001-01' of gitlab.com:code2lab/SXRestaurant into r-1902001-01

This commit is contained in:
Myat Zin Wai Maw
2019-05-08 18:01:52 +06:30
28 changed files with 7546 additions and 73 deletions

View File

@@ -46,6 +46,7 @@ class Origami::OtherChargesController < BaseOrigamiController
sale_item = SaleItem.new
sale_item.sale_id = sale_id
sale_item.menu_category_code = "0.0"
sale_item.menu_category_name = "Other Charges"
sale_item.product_code = "Other Charges"
sale_item.product_name = "*" + di["name"]

View File

@@ -30,6 +30,7 @@ class Origami::TableInvoicesController < BaseOrigamiController
end
def show
puts 'Catch me if you can.......................'
@table = DiningFacility.find(params[:table_id])
@membership = MembershipSetting::MembershipSetting
@payment_methods = PaymentMethodSetting.all