main
Line | |
---|
1 | <div class="content-container form-width">
|
---|
2 | <h3>Edit Employee</h3>
|
---|
3 | <h6>Please Edit your Employee on this screen</h6>
|
---|
4 | <div>
|
---|
5 | <label>Employee Name</label>
|
---|
6 | <br>
|
---|
7 | <small class="form-text text-muted">Edit the name of the Employee</small>
|
---|
8 | <input type="text" class="form-control" [(ngModel)]="employee.employeeName" (ngModelChange)="insertEmployee($event)">
|
---|
9 | </div>
|
---|
10 | <div>
|
---|
11 | <label>Employee Surname</label>
|
---|
12 | <br>
|
---|
13 | <small class="form-text text-muted">Edit the surname of the Employee</small>
|
---|
14 | <input type="text" class="form-control" [(ngModel)]="employee.employeeSurname" (ngModelChange)="insertEmployee($event)">
|
---|
15 | </div>
|
---|
16 | <div>
|
---|
17 | <label>Warehouse</label>
|
---|
18 | <br>
|
---|
19 | <small class="form-text text-muted">Choose the warehouse where the Employee works</small>
|
---|
20 | <select class="form-select" [(ngModel)]="employee.warehouseId" (ngModelChange)="insertEmployee($event)">
|
---|
21 | <option value="" selected disabled>Choose...</option>
|
---|
22 | <option *ngFor="let warehouse of warehouses" [value]="warehouse.warehouseId"> {{ warehouse.warehouseName }}</option>
|
---|
23 | </select>
|
---|
24 | </div>
|
---|
25 | <hr>
|
---|
26 | <button class="btn btn-secondary mt-2 me-3" routerLink="/employee">Go Back</button>
|
---|
27 | <button class="btn btn-primary mt-2" (click)="editEmployee()" [disabled]="disableEmployee">Edit Employee</button>
|
---|
28 | <br>
|
---|
29 | </div>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.