@if (selectedTable$ | async; as table) {
{{ table.tableNames.join(', ') }}
@if ($any(table.reservation?.state) | stateOptions; as options) { @if (table.reservation && options.length > 0) {
    @if (table.reservation) {
  • {{ t('Edit Reservation') }}
  • @for (option of options; track option) {
  • {{ t(option.title) }}
  • } }
} }
{{ t('Name') }}
{{ table.reservation?.customerData?.name ?? '-' }}
{{ table.reservation?.noOfPersons ?? 0 }} {{ t('Persons') }}
{{ t('Phone No') }}.
{{ table.reservation?.customerData?.phoneNumber ?? '+49' }}

{{ t('Email Address') }}

{{ table.reservation?.customerData?.email ?? t('-') }}
@if (table?.tableState === TableState.taken) {

{{ t('Payment Status') }}

@if ((table?.order?.outstandingAmount ?? 0) > 0) {
{{ t('Outstanding Balance') }}
} @if ((table?.order?.outstandingAmount ?? 0) === 0) {
{{ t('Paid') }}
}
} @if (table.reservation) {
{{ t('Reservation') }}
{{ (table.reservation.startDate | date: 'ccc, dd. MMMM' : _settingsStore.timezoneOffset()) ?? '-' }}
{{ table.reservation.startDate | date: 'HH:mm' : _settingsStore.timezoneOffset() }} - {{ table.reservation.endDate | date: 'HH:mm' : _settingsStore.timezoneOffset() }}
} @if (table.reservation?.comment) {
{{ t('Comment') }}
{{ table.reservation?.comment }}
}
@if (table.tableState === TableState.approved) { } @if (table.tableState === TableState.free) { } @if (table.tableState === TableState.taken) { } @if (table.tableState === TableState.unconfirmed) {
}
}