second display

This commit is contained in:
Aung Kyaw Phyoe
2019-02-26 10:59:39 +06:30
parent 0ce267a7ac
commit ab666e7f82
6 changed files with 47 additions and 6 deletions

View File

@@ -9,7 +9,7 @@ class Origami::SecondDisplayController < BaseOrigamiController
def customer_view
display_type = Lookup.find_by_lookup_type("display_type")
if !display_type.nil? && display_type.value==2
if !display_type.nil? && display_type.value.to_i == 2
if params[:status]!= "billed"
tax_profiles = TaxProfile.all.order("order_by asc")
else