{{ isEdit ? ('booking.form.title_edit' | translate) : ('booking.form.title_new' | translate) }}

{{ 'booking.form.tab.data' | translate }} {{ 'booking.form.tab.menu' | translate }}
@if (!isRestaurant) {
} @if (isBeach) {
} @if (!isBeach) {
} @if (!isBeach) {
}
@if (isTimeOccupied(time)) { }{{ time }}@if (isTimeOccupied(time)) { {{ getOccupiedSlotFor(time)?.name }} }
@if (isBeach) {
}
@if (isTimeOccupied(time)) { }{{ time }}@if (isTimeOccupied(time)) { {{ getOccupiedSlotFor(time)?.name }} }
@if (isRestaurant) {
{{ 'booking.form.lbl.table_selection' | translate }}
@if (selectedRestaurantResources.length > 0) { {{ 'booking.form.lbl.capacity' | translate }} {{ restaurantTotalCapacity }}p {{ 'booking.form.lbl.on' | translate }} {{ restaurantGuestsCount }} {{ 'booking.form.lbl.guests_count' | translate }} @if (restaurantTotalCapacity < restaurantGuestsCount) { } }
@for (table of restaurantResources; track table) {
{{ table.bkr_name }} {{ table.bkr_capacity }}p
}
@if (!form.get('bkb_date')?.value) {
{{ 'booking.form.msg.select_date_first' | translate }}
} @if (selectedRestaurantResources.length >= 2) {
{{ 'booking.form.hint.resource_alias' | translate }}
}
} @if (isBeach && prezzoBase > 0) {
{{ 'booking.form.lbl.base_price' | translate }} {{ prezzoBase | currency:'EUR':'symbol':'1.2-2' }}
@for (v of prezzoDettaglio; track v) {
{{ v.label }} {{ v.subtotal | currency:'EUR':'symbol':'1.2-2' }}
}
{{ 'booking.form.lbl.total_price' | translate }}
}
{{ 'booking.form.lbl.customer' | translate }}
@if (linkedUserId) { {{ 'booking.form.lbl.user_registered' | translate }}{{ linkedUserName ? ': ' + linkedUserName : '' }} } @if (!linkedUserId && form.get('bkb_customer_email')?.value) { {{ 'booking.form.lbl.no_account' | translate }} }