From fe3bbd3a8b39cb39d2d6cccee6f5cf6120b6572c Mon Sep 17 00:00:00 2001 From: Zoey Date: Tue, 23 Apr 2019 15:51:18 +0630 Subject: [PATCH] other charges menu_category_code nil case fixed --- app/controllers/origami/other_charges_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/origami/other_charges_controller.rb b/app/controllers/origami/other_charges_controller.rb index b88c0f80..36fbffb8 100755 --- a/app/controllers/origami/other_charges_controller.rb +++ b/app/controllers/origami/other_charges_controller.rb @@ -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"]