fixed conflict

This commit is contained in:
Nweni
2019-11-18 13:14:01 +06:30
29 changed files with 1699 additions and 1183 deletions

View File

@@ -113,6 +113,7 @@ class HomeController < ApplicationController
@top_products = Sale.top_bottom_products(today,current_user,@from,@to,@from_time,@to_time,"top").sum('i.qty')
@bottom_products = Sale.top_bottom_products(today,current_user,@from,@to,@from_time,@to_time,"bottom").sum('i.qty')
@hourly_sales = Sale.hourly_sales(today,current_user,@from,@to,@from_time,@to_time).sum(:grand_total)
employee_sales = Sale.employee_sales(today,current_user,@from,@to,@from_time,@to_time)
@employee_sales = []
if !employee_sales.nil?