fix: timesheet portal showing total billing hours
This commit is contained in:
@@ -522,7 +522,7 @@ def get_timesheets_list(doctype, txt, filters, limit_start, limit_page_length=20
|
||||
table.name,
|
||||
child_table.activity_type,
|
||||
table.status,
|
||||
table.total_billable_hours,
|
||||
child_table.billing_hours,
|
||||
(table.sales_invoice | child_table.sales_invoice).as_("sales_invoice"),
|
||||
child_table.project,
|
||||
)
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
{{ doc.name }}
|
||||
</span>
|
||||
</div>
|
||||
<div class="col-xs-2 small"> {{ doc.total_billable_hours }} </div>
|
||||
<div class="col-xs-2 small"> {{ doc.billing_hours }} </div>
|
||||
<div class="col-xs-2 small"> {{ doc.project or '' }} </div>
|
||||
<div class="col-xs-2 small"> {{ doc.sales_invoice or '' }} </div>
|
||||
<div class="col-xs-2 small"> {{ _(doc.activity_type) }} </div>
|
||||
|
||||
Reference in New Issue
Block a user