Merge branch 'foodcourt' of gitlab.com:code2lab/SXRestaurant into foodcourt

This commit is contained in:
Myat Zin Wai Maw
2020-03-06 11:20:32 +06:30
11 changed files with 346 additions and 429 deletions

View File

@@ -7,8 +7,7 @@ class Foodcourt::FoodCourtController < ApplicationController
end
end
def index
@product = Product.all
def index
if params[:sale_id].present?
sale =Sale.find(params[:sale_id])
if sale