Merge pull request 'refactor: remove unused employee fields from template' (#77) from fix/remove-extra-collumns-from-employees into main
All checks were successful
Playwright Tests / test (push) Successful in 2m10s

Reviewed-on: #77
This commit is contained in:
Jan Gleytenhoover 2025-01-22 08:32:14 +00:00
commit f3738ff631

View file

@ -28,10 +28,6 @@
<tr> <tr>
<th><span class="sortable">First Name</span></th> <th><span class="sortable">First Name</span></th>
<th><span class="sortable">Last Name</span></th> <th><span class="sortable">Last Name</span></th>
<th>Street</th>
<th>Postcode</th>
<th>City</th>
<th>Phone</th>
<th>Actions</th> <th>Actions</th>
</tr> </tr>
</thead> </thead>
@ -41,10 +37,6 @@
<tr> <tr>
<td>{{ employee.firstName }}</td> <td>{{ employee.firstName }}</td>
<td>{{ employee.lastName }}</td> <td>{{ employee.lastName }}</td>
<td>{{ employee.street }}</td>
<td>{{ employee.postcode }}</td>
<td>{{ employee.city }}</td>
<td>{{ employee.phone }}</td>
<td> <td>
<button class="btn btn-primary me-2" (click)="editEmployee(employee.id)">Edit</button> <button class="btn btn-primary me-2" (click)="editEmployee(employee.id)">Edit</button>
<button class="btn btn-danger" (click)="deleteEmployee(employee.id)">Delete</button> <button class="btn btn-danger" (click)="deleteEmployee(employee.id)">Delete</button>