@if (vm$ | async; as vm) {
@for (hour of hours; track hour) { } @for (table of vm.tables; track table) { @for (hour of hours; track hour) { } @for (reservation of table.reservations; track reservation) { } }
Table
| Persons
{{ hour }}:00
{{ table.name }}
@if (table.id !== unassignedTableId) {
| {{ table.capacity }}
}
{{ reservation.ref.customerData.name }}
{{ reservation.ref.noOfPersons }}
  • {{ t('Edit') }}
  • @for (option of reservation.state | stateOptions; track option) {
  • {{ t(option.title) }}
  • }
@if (showCurrentTime) { @if (currentTime$ | async; as currentTime) {
} }
}