fix: timesheet portal showing total billing hours

This commit is contained in:
Mihir Kandoi
2025-05-09 13:38:42 +05:30
parent c770113f7c
commit b04a07fda0
2 changed files with 2 additions and 2 deletions

View File

@@ -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,
)

View File

@@ -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>