5 changed files with 63 additions and 44 deletions
@ -1,17 +1,20 @@ |
|||||
mixin renderWeeklySummaryReport (data) |
mixin renderWeeklySummaryReport (data) |
||||
table.uk-table.uk-table-small.uk-table-responsive.no-select |
.uk-overflow-auto |
||||
thead |
table.uk-table.uk-table-small.no-select |
||||
tr |
thead |
||||
th Project |
|
||||
th Client |
|
||||
th Sessions |
|
||||
th Time Worked |
|
||||
th Billable |
|
||||
tbody |
|
||||
each row in data |
|
||||
tr |
tr |
||||
td.uk-table-expand=row.project.name |
th Project |
||||
td= row.project.client.name |
th Client |
||||
td= formatCount(row.sessionCount) |
th Sessions |
||||
td= numeral(row.duration).format('0:00:00') |
th Time Worked |
||||
td= numeral(row.billable).format('$0,0.00') |
th Billable |
||||
|
tbody |
||||
|
each row in data |
||||
|
tr |
||||
|
td.uk-table-expand |
||||
|
a(href=`/client/${row.project.client._id}/project/${row.project._id}`)=row.project.name |
||||
|
td |
||||
|
a(href=`/client/${row.project.client._id}`)= row.project.client.name |
||||
|
td= formatCount(row.sessionCount) |
||||
|
td= numeral(row.duration).format('0:00:00') |
||||
|
td= numeral(row.billable).format('$0,0.00') |
Loading…
Reference in new issue