Payment Method

This commit is contained in:
yarzar_code
2019-12-18 15:05:28 +06:30
parent 358fbcd134
commit 41d9c1375c
3 changed files with 26 additions and 6 deletions

View File

@@ -170,6 +170,8 @@ class Foodcourt::PaymentsController < BaseFoodcourtController
end
def show
@cash_exist = PaymentMethodSetting.cash_exist
@credit_exist = PaymentMethodSetting.credit_exist
display_type = Lookup.find_by_lookup_type("display_type")
if !display_type.nil? && display_type.value.to_i ==2
@display_type = display_type.value