Update dashboard table reports (#1653)

Co-authored-by: Jose Alberto Hernandez <alberto@MacBook-Pro.local>
This commit is contained in:
José Alberto Hernández
2023-01-21 23:24:49 -06:00
committed by GitHub
co-authored by Jose Alberto Hernandez
parent e61f4f92e3
commit 9ed38f0f7b
24 changed files with 58 additions and 57 deletions
@@ -13,7 +13,7 @@
<div *ngIf="bulkImport.formFields >= 1">
<mat-form-field fxFlex>
<mat-label>Office</mat-label>
<mat-select required formControlName="officeId">
<mat-select formControlName="officeId">
<mat-option *ngFor="let office of officeData" [value]="office.id">
{{ office.name }}
</mat-option>
@@ -24,7 +24,7 @@
<div *ngIf="bulkImport.formFields >= 2">
<mat-form-field fxFlex>
<mat-label>Staff</mat-label>
<mat-select required formControlName="staffId">
<mat-select formControlName="staffId">
<mat-option *ngFor="let staff of staffData" [value]="staff.id">
{{ staff.displayName }}
</mat-option>
@@ -89,7 +89,6 @@ export class BulkLoanReassignmnetComponent implements OnInit {
*/
getFromOfficers(officerId: any) {
this.toLoanOfficers = this.fromLoanOfficers.filter((officer: any) => officer.id !== officerId );
console.log(this.toLoanOfficers);
this.organizationSevice.getOfficerTemplate(officerId, this.officeTemplate.id).subscribe((response: any) => {
this.officerTemplate = response;
});