add shop detail in product sale

This commit is contained in:
phyusin
2018-03-13 11:47:42 +06:30
parent 30bfb060df
commit 371a736eaf

View File

@@ -18,4 +18,10 @@ class Reports::ProductSaleController < BaseReportController
format.xls
end
end
#Shop Name in Navbor
helper_method :shop_detail
def shop_detail
@shop = Shop.first
end
end