Sha256: db00d5411ef561d90323b99d798ff45d1971b35b5f3d83221e6b72a045d0e240

Contents?: true

Size: 273 Bytes

Versions: 19

Compression:

Stored size: 273 Bytes

Contents

module Pacioli
  class Debit < Transaction

    def debit?
      true
    end

    def to_hash
      {description: self.journal_entry.description, date: self.dated, credit_amount: "", debit_amount: self.amount, balance: self.party.balance_at(self.dated)}
    end

  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
pacioli-0.0.29 lib/pacioli/debit.rb
pacioli-0.0.28 lib/pacioli/debit.rb
pacioli-0.0.27 lib/pacioli/debit.rb
pacioli-0.0.26 lib/pacioli/debit.rb
pacioli-0.0.25 lib/pacioli/debit.rb
pacioli-0.0.24 lib/pacioli/debit.rb
pacioli-0.0.23 lib/pacioli/debit.rb
pacioli-0.0.22 lib/pacioli/debit.rb
pacioli-0.0.21 lib/pacioli/debit.rb
pacioli-0.0.20 lib/pacioli/debit.rb
pacioli-0.0.19 lib/pacioli/debit.rb
pacioli-0.0.18 lib/pacioli/debit.rb
pacioli-0.0.17 lib/pacioli/debit.rb
pacioli-0.0.16 lib/pacioli/debit.rb
pacioli-0.0.15 lib/pacioli/debit.rb
pacioli-0.0.14 lib/pacioli/debit.rb
pacioli-0.0.13 lib/pacioli/debit.rb
pacioli-0.0.12 lib/pacioli/debit.rb
pacioli-0.0.11 lib/pacioli/debit.rb