Skip to content

Commit e93ece0

Browse files
committed
fix: ioet#453 include customer and project id in reports
1 parent ca69182 commit e93ece0

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/app/modules/reports/components/time-entries-table/time-entries-table.component.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
<th class="col sm-col">Date</th>
88
<th class="col sm-col">Duration</th>
99
<th class="col md-col">Project</th>
10+
<th class="col lg-col">Project ID</th>
11+
<th class="col md-col">Customer</th>
12+
<th class="col lg-col">Customer ID</th>
1013
<th class="col md-col">Activity</th>
1114
<th class="col lg-col">Ticket</th>
1215
<th class="col lg-col">Description</th>
@@ -22,6 +25,9 @@
2225
<td class="col sm-col"> {{ entry.start_date | date: 'MM/dd/yyyy' }} </td>
2326
<td class="col sm-col"> {{ entry.end_date | substractDate: entry.start_date }} </td>
2427
<td class="col md-col"> {{ entry.project_name }} </td>
28+
<td class="col md-col"> {{ entry.project_id }} </td>
29+
<td class="col md-col"> {{ entry.customer_name }} </td>
30+
<td class="col md-col"> {{ entry.customer_id }} </td>
2531
<td class="col md-col"> {{ entry.activity_name }} </td>
2632
<td class="col lg-col"> {{ entry.uri }} </td>
2733
<td class="col lg-col multiline-col"> {{ entry.description }} </td>

src/app/modules/shared/models/entry.model.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ export interface Entry {
99
project_id?: string;
1010
owner_email?: string;
1111
description?: string;
12+
customer_id?: string;
13+
customer_name?: string;
1214
}
1315

1416
export interface NewEntry {

0 commit comments

Comments
 (0)