refactoring

This commit is contained in:
Oleg Hasjanov 2021-04-22 12:59:27 +03:00
parent 895fa22702
commit 28d1560555
2 changed files with 9 additions and 9 deletions

View file

@ -33,8 +33,6 @@ class BankTransaction < ApplicationRecord
.non_cancelled
.where(total: sum)
return true if paid_invoices.any?(&:paid?)
false
end
def registrar