Shop name in navbar,linke to shop info

This commit is contained in:
San Wai Lwin
2018-02-05 18:11:45 +06:30
parent 2821f4bb1c
commit 3f247f731e
64 changed files with 400 additions and 55 deletions

View File

@@ -37,4 +37,10 @@ class Origami::SurveysController < BaseOrigamiController
def survey_params
params.require(:survey).permit(:child, :adult,:male,:female,:local,:foreigner, :dining_name,:receipt_no,:shift_id,:created_by,:total_customer,:total_amount)
end
#Shop Name in Navbor
helper_method :shop_detail
def shop_detail
@shop = Shop.first
end
end