Sha256: f815b173c0805fc603e4619c79aa33fa68e39faa00db4acdf2c92af38c3297eb
Contents?: true
Size: 382 Bytes
Versions: 2
Compression:
Stored size: 382 Bytes
Contents
class PaymentApplication < ActiveRecord::Base belongs_to :financial_txn, :dependent => :destroy belongs_to :payment_applied_to, :polymorphic => true belongs_to :money, :foreign_key => 'applied_money_amount_id', :dependent => :destroy def is_pending? (self.financial_txn.is_scheduled? or self.financial_txn.is_pending?) unless self.financial_txn.nil? end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
erp_invoicing-3.0.2 | app/models/payment_application.rb |
erp_invoicing-3.0.1 | app/models/payment_application.rb |