mirror of
https://github.com/internetee/registry.git
synced 2025-08-06 01:35:10 +02:00
Modified views for monthly invoices
This commit is contained in:
parent
72022aab8d
commit
a21e5c1954
4 changed files with 49 additions and 6 deletions
|
@ -6,10 +6,9 @@ module Registrar::BookKeeping
|
|||
|
||||
included do
|
||||
scope :with_cash_accounts, (lambda do
|
||||
joins(:accounts)
|
||||
.where('accounts.account_type = ? AND test_registrar != ?',
|
||||
Account::CASH,
|
||||
true)
|
||||
joins(:accounts).where('accounts.account_type = ? AND test_registrar != ?',
|
||||
Account::CASH,
|
||||
true)
|
||||
end)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue