Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Mark all these transactions as cleared |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
ad5765310403f4973c10160afdbe9d61 |
User & Date: | atomicules 2015-07-22 22:03:02 |
Context
2015-09-16
| ||
10:45 |
Fix logon for when bulletin board isn't there
Thought I had worked around this, but need to explicitly check for page.form | |
2015-07-22
| ||
22:03 | Mark all these transactions as cleared check-in: ad57653104 user: atomicules tags: trunk | |
2015-07-21
| ||
15:30 | Include balance as balance assertion on last transaction instead of as comment check-in: 04aa81bd2e user: atomicules tags: trunk | |
Changes
Changes to smile.rb.
︙ | ︙ | |||
133 134 135 136 137 138 139 | def write_ledger balance_assertion = "" File.open("smile.dat", "w") do |file| #Reverse for writing out @transactions.reverse! @transactions.each.with_index do |transaction, idx| | | | 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 | def write_ledger balance_assertion = "" File.open("smile.dat", "w") do |file| #Reverse for writing out @transactions.reverse! @transactions.each.with_index do |transaction, idx| file << transaction[:date].strftime("%Y/%m/%d")+"\t*\t"+transaction[:name]+"\n" if transaction[:debit].include?("£") amount = transaction[:debit].gsub(/£/, "£-") type = "Expenses:" else amount = transaction[:credit] type = "Income:" end |
︙ | ︙ |