fix tester bugs

This commit is contained in:
Yan
2017-11-17 15:51:20 +06:30
parent a3eb2e44eb
commit e7cd8deb8e
6 changed files with 14 additions and 10 deletions

View File

@@ -39,7 +39,7 @@ class SaleItem < ApplicationRecord
# Check for actual sale items
sale_items.each do |si|
if si.account_id == a.id
if si.account_id == a.id
account_price[:price] = account_price[:price] + si.price
end
end