Skip to content

Commit 1cdc1ed

Browse files
committed
feat: #562 add IDs on the list
1 parent 0ac7344 commit 1cdc1ed

File tree

5 files changed

+17
-9
lines changed

5 files changed

+17
-9
lines changed

src/app/modules/activities-management/components/activity-list/activity-list.component.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@
22
<table class="table table-sm table-bordered table-striped">
33
<thead class="thead-blue">
44
<tr class="d-flex">
5-
<th class="col-9">Activity</th>
5+
<th class="col-4">Activity ID</th>
6+
<th class="col-5">Activity</th>
67
<th class="col-3 text-center"></th>
78
</tr>
89
</thead>
910
<app-loading-bar *ngIf="(isLoading$ | async)"></app-loading-bar>
1011
<tbody *ngIf="(isLoading$ | async) === false">
1112
<tr class="d-flex" *ngFor="let activity of activities">
12-
<td class="col-sm-9">{{ activity.name }}</td>
13+
<td class="col-sm-4">{{ activity.id }}</td>
14+
<td class="col-sm-5">{{ activity.name }}</td>
1315
<td class="col-sm-3 text-center">
1416
<button
1517
type="button"

src/app/modules/customer-management/components/customer-info/components/create-customer/create-customer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div class="container">
22
<form style="width: 600px;" [formGroup]="customerForm" (ngSubmit)="onSubmit(customerForm.value)">
3-
<div class="form-group">
3+
<div class="form-group">
44
<input
55
class="form-control form-control-sm"
66
id="customerName"

src/app/modules/customer-management/components/customer-info/components/customer-list/customer-list.component.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,16 @@
77
>
88
<thead class="thead-blue">
99
<tr class="d-flex">
10-
<th class="col-9">Name</th>
10+
<th class="col-4">Customer ID</th>
11+
<th class="col-5">Name</th>
1112
<th class="col-3 text-center">Options</th>
1213
</tr>
1314
</thead>
1415
<app-loading-bar *ngIf="(isLoading$ | async)"></app-loading-bar>
1516
<tbody *ngIf="((isLoading$ | async) === false)">
1617
<tr class="d-flex" *ngFor="let customer of customers">
17-
<td class="col-sm-9">{{ customer.name }}</td>
18+
<td class="col-sm-4">{{ customer.id }}</td>
19+
<td class="col-sm-5">{{ customer.name }}</td>
1820
<td class="col-sm-3 text-center">
1921
<button
2022
(click)="editCustomer(customer.id)"

src/app/modules/customer-management/components/projects-type/components/project-type-list/project-type-list.component.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@
22
<table class="table table-sm table-bordered table-striped">
33
<thead class="thead-blue">
44
<tr class="d-flex">
5-
<th class="col-9">Project type</th>
5+
<th class="col-4">Project Type ID</th>
6+
<th class="col-5">Project type</th>
67
<th class="col-3 text-center"></th>
78
</tr>
89
</thead>
910
<tbody>
1011
<tr class="d-flex" *ngFor="let projectType of projectTypes">
11-
<td class="col-sm-9">{{ projectType.name }}</td>
12+
<td class="col-sm-4">{{ projectType.id }}</td>
13+
<td class="col-sm-5">{{ projectType.name }}</td>
1214
<td class="col-sm-3 text-center">
1315
<button type="button" class="btn btn-sm btn-primary" (click)="updateProjectType(projectType.id)">
1416
<i class="fa fa-pencil fa-xs"></i>

src/app/modules/customer-management/components/projects/components/project-list/project-list.component.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@
22
<table class="table table-sm table-bordered table-striped">
33
<thead class="thead-blue">
44
<tr class="d-flex">
5-
<th class="col-9">Project</th>
5+
<th class="col-4">Project ID</th>
6+
<th class="col-5">Project</th>
67
<th class="col-3 text-center"></th>
78
</tr>
89
</thead>
910
<tbody>
1011
<tr class="d-flex" *ngFor="let project of projects">
11-
<td class="col-sm-9">{{ project.name }}</td>
12+
<td class="col-sm-4">{{ project.id }}</td>
13+
<td class="col-sm-5">{{ project.name }}</td>
1214
<td class="col-sm-3 text-center">
1315
<button type="button" class="btn btn-sm btn-primary" (click)="updateProject(project)">
1416
<i class="fa fa-pencil fa-xs"></i>

0 commit comments

Comments
 (0)