change query

This commit is contained in:
Aung Kyaw Phyoe
2019-02-13 14:48:01 +06:30
parent d7d437e1d9
commit 9ec189ab54
2 changed files with 3 additions and 3 deletions

View File

@@ -94,7 +94,7 @@
%>
<%if @sale_data %>
<%if !@sale_data.nil? %>
<% @sale_data.each do |result| %>
<% grand_total +=result.grand_total.to_f %>