5 changed files with 63 additions and 44 deletions
@ -1,17 +1,20 @@ |
|||
mixin renderWeeklySummaryReport (data) |
|||
table.uk-table.uk-table-small.uk-table-responsive.no-select |
|||
thead |
|||
tr |
|||
th Project |
|||
th Client |
|||
th Sessions |
|||
th Time Worked |
|||
th Billable |
|||
tbody |
|||
each row in data |
|||
.uk-overflow-auto |
|||
table.uk-table.uk-table-small.no-select |
|||
thead |
|||
tr |
|||
td.uk-table-expand=row.project.name |
|||
td= row.project.client.name |
|||
td= formatCount(row.sessionCount) |
|||
td= numeral(row.duration).format('0:00:00') |
|||
td= numeral(row.billable).format('$0,0.00') |
|||
th Project |
|||
th Client |
|||
th Sessions |
|||
th Time Worked |
|||
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