build: Use prettier for html
Stop ignoring html files in prettier and fix existing issues.
This commit is contained in:
@@ -1,15 +1,10 @@
|
||||
<div class="container">
|
||||
|
||||
<div fxLayout="row wrap" fxLayout.lt-md="column" fxLayoutGap="2%">
|
||||
|
||||
<div fxFlex="48%">
|
||||
|
||||
<mat-card fxLayout="column">
|
||||
|
||||
<mat-card-content fxLayout="column">
|
||||
|
||||
<mat-form-field *ngIf="!(officeData === undefined || officeData === null)">
|
||||
<mat-label>{{"labels.inputs.Office" | translate}}</mat-label>
|
||||
<mat-label>{{ 'labels.inputs.Office' | translate }}</mat-label>
|
||||
<mat-select [formControl]="officeSelector">
|
||||
<mat-option *ngFor="let office of officeData" [value]="office.id">
|
||||
{{ office.name }}
|
||||
@@ -52,19 +47,17 @@
|
||||
</mat-option>
|
||||
</mat-select>
|
||||
</mat-form-field>
|
||||
|
||||
</mat-card-content>
|
||||
|
||||
</mat-card>
|
||||
|
||||
</div>
|
||||
|
||||
<div fxFlex="48%">
|
||||
|
||||
<mat-card fxLayout="column" *ngIf="selectedItem">
|
||||
|
||||
<ng-container *ngIf="selectedItem.itemType === 'office'">
|
||||
<mifosx-office-navigation [officeData]="selectedItem" [employeeData]="employeeData"></mifosx-office-navigation>
|
||||
<mifosx-office-navigation
|
||||
[officeData]="selectedItem"
|
||||
[employeeData]="employeeData"
|
||||
></mifosx-office-navigation>
|
||||
</ng-container>
|
||||
|
||||
<ng-container *ngIf="selectedItem.itemType === 'employee'">
|
||||
@@ -72,21 +65,29 @@
|
||||
</ng-container>
|
||||
|
||||
<ng-container *ngIf="selectedItem.itemType === 'center'">
|
||||
<mifosx-center-navigation [centerData]="selectedItem" [groupData]="groupData" [centerAccountsData]='selectedItemAccounts' [centerSummaryData]='selectedItemSummary'></mifosx-center-navigation>
|
||||
<mifosx-center-navigation
|
||||
[centerData]="selectedItem"
|
||||
[groupData]="groupData"
|
||||
[centerAccountsData]="selectedItemAccounts"
|
||||
[centerSummaryData]="selectedItemSummary"
|
||||
></mifosx-center-navigation>
|
||||
</ng-container>
|
||||
|
||||
<ng-container *ngIf="selectedItem.itemType === 'group'">
|
||||
<mifosx-group-navigation [groupData]="selectedItem" [clientData]="clientData" [groupAccountsData]='selectedItemAccounts'></mifosx-group-navigation>
|
||||
<mifosx-group-navigation
|
||||
[groupData]="selectedItem"
|
||||
[clientData]="clientData"
|
||||
[groupAccountsData]="selectedItemAccounts"
|
||||
></mifosx-group-navigation>
|
||||
</ng-container>
|
||||
|
||||
<ng-container *ngIf="selectedItem.itemType === 'client'">
|
||||
<mifosx-client-navigation [clientData]="selectedItem" [clientAccountsData]='selectedItemAccounts'></mifosx-client-navigation>
|
||||
<mifosx-client-navigation
|
||||
[clientData]="selectedItem"
|
||||
[clientAccountsData]="selectedItemAccounts"
|
||||
></mifosx-client-navigation>
|
||||
</ng-container>
|
||||
|
||||
</mat-card>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user