check status in sale payment

This commit is contained in:
phyusin
2018-02-08 10:11:05 +06:30
parent a2223a6b90
commit 7ae8b44f4b

View File

@@ -398,6 +398,7 @@ class SalePayment < ApplicationRecord
end
else
status = false
sale_count += 1
end
end
end