mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 09:21:43 +02:00
Story#105855968 - send invoices to directo
This commit is contained in:
parent
b76fb8c9ff
commit
ef55560d0e
7 changed files with 309 additions and 229 deletions
|
@ -2,7 +2,6 @@ class BankTransaction < ActiveRecord::Base
|
|||
include Versions
|
||||
belongs_to :bank_statement
|
||||
has_one :account_activity
|
||||
has_many :directo_records, as: :item, class_name: 'Directo'# Deprecated
|
||||
|
||||
scope :unbinded, lambda {
|
||||
where('id NOT IN (SELECT bank_transaction_id FROM account_activities where bank_transaction_id IS NOT NULL)')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue