Sha256: c1c23f7be373247343862f68c5f453b56544b762d2abacf1a091152b7de74207

Contents?: true

Size: 555 Bytes

Versions: 38

Compression:

Stored size: 555 Bytes

Contents

module Xeroizer
  module Record
    
    class ManualJournalLineModel < BaseModel
                    
      set_xml_root_name 'JournalLines'
      set_xml_node_name 'JournalLine'
                    
    end
    
    class ManualJournalLine < Base

      string    :description
      string    :tax_type
      string    :account_code
      decimal   :line_amount
      
      has_many  :tracking, :model_name => 'TrackingCategoryChild'

      validates_presence_of :account_code, :line_amount      
            
      public
      
    end
    
  end
end

Version data entries

38 entries across 38 versions & 2 rubygems

Version Path
xeroizer-float-2.15.3.5 lib/xeroizer/models/manual_journal_line.rb
xeroizer-float-2.15.3.4 lib/xeroizer/models/manual_journal_line.rb
xeroizer-float-2.15.3.3 lib/xeroizer/models/manual_journal_line.rb
xeroizer-float-2.15.3.2 lib/xeroizer/models/manual_journal_line.rb
xeroizer-float-2.15.3.1 lib/xeroizer/models/manual_journal_line.rb
xeroizer-2.15.3 lib/xeroizer/models/manual_journal_line.rb
xeroizer-2.15.2 lib/xeroizer/models/manual_journal_line.rb
xeroizer-2.15.1 lib/xeroizer/models/manual_journal_line.rb
xeroizer-2.15.0 lib/xeroizer/models/manual_journal_line.rb
xeroizer-0.5.2 lib/xeroizer/models/manual_journal_line.rb
xeroizer-0.5.1 lib/xeroizer/models/manual_journal_line.rb
xeroizer-0.5.0 lib/xeroizer/models/manual_journal_line.rb
xeroizer-0.4.4 lib/xeroizer/models/manual_journal_line.rb
xeroizer-0.4.3 lib/xeroizer/models/manual_journal_line.rb
xeroizer-0.4.2 lib/xeroizer/models/manual_journal_line.rb
xeroizer-0.4.1 lib/xeroizer/models/manual_journal_line.rb
xeroizer-0.4.0 lib/xeroizer/models/manual_journal_line.rb
xeroizer-0.3.5 lib/xeroizer/models/manual_journal_line.rb