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:
tanshu committed 2020-09-22 10:53:31 +05:30
1 parent cabdd505e0
commit b19d8cc030
13 files changed
+223 -75

No files matched your search

@@ -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>