change survey

This commit is contained in:
phyusin
2018-08-27 16:08:31 +06:30
parent 858605fe09
commit 80f0b208fa
2 changed files with 3 additions and 3 deletions

View File

@@ -33,7 +33,7 @@ class Origami::SurveysController < BaseOrigamiController
@table_type = @dining_facility.type
@receipt_no = nil
@grand_total = nil
@survey_data = Survey.find_by_dining_name(@dining_facility.name)
@survey_data = Survey.find_by_dining_name_and_receipt_no(@dining_facility.name,"")
end
end