Skip to content

Commit 037f158

Browse files
committed
* Updated - attempt at getting helper to work
1 parent 7d2ffcf commit 037f158

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/views/timesheet/report.iif.riif

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ iif.invitem do
2222
end
2323
end
2424

25-
iif.trns do
26-
row do
25+
iif.trns do |trns|
26+
trns.row do
2727
trnstype 'INVOICE'
2828
date Time.now.strftime("%m/%d/%Y")
2929
accnt 'Accounts Receivable'
@@ -36,7 +36,7 @@ iif.trns do
3636
# nameistaxable 'N' # doesn't exist in gem's dsl
3737
end
3838

39-
spl do |spl|
39+
trns.spl do |spl|
4040
timesheet.time_entries.each do |project, data|
4141
data[:logs].each do |time_entry|
4242
spl.row do

0 commit comments

Comments
 (0)