build: Use prettier for html

Stop ignoring html files in prettier and fix existing issues.
This commit is contained in:
Ralph Hopman
2024-12-19 09:36:50 +01:00
committed by Adam Saghy
parent c5fc3925fb
commit 2ec9ba81d6
651 changed files with 28935 additions and 20624 deletions
@@ -1,33 +1,28 @@
<div fxLayout="row" fxLayoutAlign="end" fxLayoutGap="2%" fxLayout.lt-md="column" class="container m-b-20">
<button mat-raised-button color="primary" [routerLink]="['edit']" *mifosxHasPermission="'UPDATE_CASHIER'">
<fa-icon icon="edit" class="m-r-10"></fa-icon>
{{'labels.buttons.Edit' | translate}}
{{ 'labels.buttons.Edit' | translate }}
</button>
<button mat-raised-button color="warn" (click)="deleteCashier()" *mifosxHasPermission="'DELETECASHIER_TELLER'">
<fa-icon icon="trash" class="m-r-10"></fa-icon>
{{'labels.buttons.Delete' | translate}}
{{ 'labels.buttons.Delete' | translate }}
</button>
</div>
<div class="container">
<mat-card>
<mat-card-content>
<div fxLayout="row wrap" class="content">
<div fxFlex="50%" class="header">
{{'labels.inputs.Name' | translate}}
{{ 'labels.inputs.Name' | translate }}
</div>
<div fxFlex="50%">
{{ cashierData.staffName}}
{{ cashierData.staffName }}
</div>
<div fxFlex="50%" class="header">
{{'labels.inputs.Teller' | translate}}
{{ 'labels.inputs.Teller' | translate }}
</div>
<div fxFlex="50%">
@@ -35,7 +30,7 @@
</div>
<div fxFlex="50%" class="header" *ngIf="cashierData.description !== ''">
{{'labels.inputs.Description' | translate}}
{{ 'labels.inputs.Description' | translate }}
</div>
<div fxFlex="50%" *ngIf="cashierData.description !== ''">
@@ -43,7 +38,7 @@
</div>
<div fxFlex="50%" class="header">
{{'labels.inputs.Start Date' | translate}}
{{ 'labels.inputs.Start Date' | translate }}
</div>
<div fxFlex="50%">
@@ -51,7 +46,7 @@
</div>
<div fxFlex="50%" class="header">
{{'labels.inputs.End Date' | translate}}
{{ 'labels.inputs.End Date' | translate }}
</div>
<div fxFlex="50%">
@@ -59,20 +54,19 @@
</div>
<div fxFlex="50%" class="header">
{{'labels.inputs.Full Day/Time' | translate}}
{{ 'labels.inputs.Full Day/Time' | translate }}
</div>
<div fxFlex="50%">
{{ cashierData.isFullDay }}
</div>
</div>
</mat-card-content>
<mat-card-actions fxLayout="row" fxLayout.xs="column" fxLayoutAlign="center" fxLayoutGap="5px">
<button type="button" color="primary" mat-raised-button [routerLink]="['..']">{{ "labels.buttons.Back" | translate}}</button>
<button type="button" color="primary" mat-raised-button [routerLink]="['..']">
{{ 'labels.buttons.Back' | translate }}
</button>
</mat-card-actions>
</mat-card>
</div>