{{ 'booking.mappa.no_resources' | translate }}
| {{ 'booking.mappa.th.customer' | translate }} | {{ 'booking.mappa.th.slot' | translate }} | {{ 'booking.mappa.th.time' | translate }} | {{ 'booking.mappa.th.seats' | translate }} | {{ 'booking.mappa.th.tables' | translate }} | {{ 'booking.mappa.th.status' | translate }} |
|---|---|---|---|---|---|
| {{ bk.bkb_customer_name }} | {{ bk.bkts_name }} | @if (bk.bkb_start_time) { {{ bk.bkb_start_time | slice:0:5 }}–{{ bk.bkb_end_time | slice:0:5 }} } @if (!bk.bkb_start_time) { — } | {{ bk.bkb_guests_count }} | {{ getAssignedTablesLabel(bk) }} |
|
| {{ 'booking.mappa.no_bookings' | translate }} | |||||
| {{ 'booking.mappa.th.resource' | translate }} | @for (s of timeSlots; track s) {
{{ s.bkts_name }}
{{ s.bkts_start_time | slice:0:5 }} - {{ s.bkts_end_time | slice:0:5 }}
|
}
|---|---|
| {{ r.bkr_name }} | @for (s of timeSlots; track s) { 0 ? getBookingsForSlot(selectedDateStr, r.bkr_id, s.bkts_id).length + ' ' + ('booking.mappa.bookings_count' | translate) : ('booking.mappa.legend.free' | translate)"
tooltipPosition="top">
@for (bk of getBookingsForSlot(selectedDateStr, r.bkr_id, s.bkts_id); track bk; let last = $last) {
@if (bk.bkb_start_time) {
@if (!last) {
}
}
{{ bk.bkb_start_time | slice:0:5 }}–{{ bk.bkb_end_time | slice:0:5 }}
}
@if (selectedType?.bkrt_type === 'BEACH') {
@if (bk.bkb_lettini) {
{{ bk.bkb_lettini }}
}
@if (bk.bkb_sedie) {
{{ bk.bkb_sedie }}
}
@if (bk.bkb_sdraio) {
{{ bk.bkb_sdraio }}
}
}
@if (selectedType?.bkrt_type === 'RESTAURANT') {
{{ 'booking.mappa.th.seats' | translate }}{{ bk.bkb_guests_count }}
}
@if (!selectedType || (selectedType?.bkrt_type !== 'BEACH' && selectedType?.bkrt_type !== 'RESTAURANT')) {
1
}
|
}
| {{ 'booking.mappa.th.customer' | translate }} | {{ 'booking.mappa.th.time' | translate }} | {{ 'booking.mappa.th.seats' | translate }} | {{ 'booking.mappa.th.tables' | translate }} | {{ 'booking.mappa.th.status' | translate }} |
|---|---|---|---|---|
| {{ bk.bkb_customer_name }} | @if (bk.bkb_start_time) { {{ bk.bkb_start_time | slice:0:5 }}–{{ bk.bkb_end_time | slice:0:5 }} } @if (!bk.bkb_start_time) { — } | {{ bk.bkb_guests_count }} | {{ getAssignedTablesLabel(bk) }} |
|
| {{ 'booking.mappa.no_bookings' | translate }} | ||||
| {{ 'booking.mappa.th.resource' | translate }} | {{ 'booking.mappa.th.status' | translate }} |
|---|---|
| {{ r.bkr_name }} | 0 ? getBookingsForCell(selectedDateStr, r.bkr_id).length + ' ' + ('booking.mappa.bookings_count' | translate) : ('booking.mappa.legend.free' | translate)"
tooltipPosition="top">
@for (bk of getBookingsForCell(selectedDateStr, r.bkr_id); track bk; let last = $last) {
@if (bk.bkb_start_time) {
@if (!last) {
}
}
{{ bk.bkb_start_time | slice:0:5 }}–{{ bk.bkb_end_time | slice:0:5 }}
}
@if (selectedType?.bkrt_type === 'BEACH') {
@if (bk.bkb_lettini) {
{{ bk.bkb_lettini }}
}
@if (bk.bkb_sedie) {
{{ bk.bkb_sedie }}
}
@if (bk.bkb_sdraio) {
{{ bk.bkb_sdraio }}
}
}
@if (!selectedType || (selectedType?.bkrt_type !== 'BEACH' && selectedType?.bkrt_type !== 'RESTAURANT')) {
1
}
|
| {{ 'booking.mappa.th.resource' | translate }} | @for (day of getWeekDays(); track day) {
{{ day | date:'EEE':'':'it' }}
{{ day | date:'d MMM':'':'it' }}
|
}
|---|---|
| {{ r.bkr_name }} | @for (day of getWeekDays(); track day) { 0 ? getBookingsForCell(formatDate(day), r.bkr_id).length + ' ' + ('booking.mappa.bookings_count' | translate) : ('booking.mappa.legend.free' | translate)"
tooltipPosition="top">
@if (selectedType?.bkrt_type === 'BEACH') {
@if (getCellBeachTotals(formatDate(day), r.bkr_id); as t) {
@if (getBookingsForCell(formatDate(day), r.bkr_id).length > 0) {
@if (t.lettini) {
{{ t.lettini }}
}
@if (t.sedie) {
{{ t.sedie }}
}
@if (t.sdraio) {
{{ t.sdraio }}
}
@if (bk.bkb_start_time) {
} @else {
{{ bk.bkb_start_time | slice:0:5 }}–{{ bk.bkb_end_time | slice:0:5 }}
}
{{ 'booking.mappa.th.seats' | translate }}{{ bk.bkb_guests_count }}
{{ getPrimaryTableName(bk) }}
}
}
}
@if (!selectedType || (selectedType?.bkrt_type !== 'BEACH' && selectedType?.bkrt_type !== 'RESTAURANT')) {
@for (bk of getBookingsForCell(formatDate(day), r.bkr_id); track bk; let last = $last) {
@if (bk.bkb_start_time) {
@if (!last) {
}
}
}
{{ bk.bkb_start_time | slice:0:5 }}–{{ bk.bkb_end_time | slice:0:5 }}
}
1
|
}
| {{ 'booking.mappa.th.resource' | translate }} | @for (day of getMonthDays(); track day) {
{{ day | date:'EEE':'':'it' }}
{{ day | date:'d':'':'it' }}
|
}
|---|---|
| {{ r.bkr_name }} | @for (day of getMonthDays(); track day) {0 ? getBookingsForCell(formatDate(day), r.bkr_id).length + ' ' + ('booking.mappa.pren_abbr' | translate) : ('booking.mappa.legend.free' | translate)" tooltipPosition="top"> @if (getBookingsForCell(formatDate(day), r.bkr_id).length > 0) { } | }