Guest Book

Chore:
  Added New Day Offset and Timezone Offset in settings so that they can be shared consistently and also set in runtime.
This commit is contained in:
2020-09-22 10:53:31 +05:30
parent cabdd505e0
commit b19d8cc030
13 changed files with 223 additions and 75 deletions

View File

@ -43,6 +43,12 @@
<mat-cell *matCellDef="let row">{{row.pax}}</mat-cell>
</ng-container>
<!-- Time Column -->
<ng-container matColumnDef="date">
<mat-header-cell *matHeaderCellDef>Time</mat-header-cell>
<mat-cell *matCellDef="let row">{{row.date | localTime}}</mat-cell>
</ng-container>
<!-- Action Column -->
<ng-container matColumnDef="action">
<mat-header-cell *matHeaderCellDef class="center">Action</mat-header-cell>
@ -53,7 +59,7 @@
<button mat-icon-button [routerLink]="['/guest-book/', row.id]">
<mat-icon>edit</mat-icon>
</button>
<button mat-icon-button color="warn" (click)="deleteRow(row)">
<button mat-icon-button color="warn" (click)="confirmDelete(row.id)">
<mat-icon>delete</mat-icon>
</button>
</mat-cell>