lib/budgetcrmod/budget.rb in budgetcrmod-0.4.2 vs lib/budgetcrmod/budget.rb in budgetcrmod-0.5.0
- old
+ new
@@ -257,10 +257,10 @@
#if component.deposit < 0.0 and component.withdrawal == 0.0
#component.withdrawal = -component.deposit
#component.deposit = 0.0
#end
#@runner.cache[:data].push dataset
- component.external_account; component.sub_account # Triggers interactive account choices
+ #component.external_account; component.sub_account # Triggers interactive account choices
#component.account = @account
end
end
def days_ago(today = Date.today)
- ((date.to_datetime.to_time.to_i - today.to_datetime.to_time.to_i) / 24 / 3600).to_i