{#if isWarningModalOpen} (isWarningModalOpen = false)} on:confirm={deleteTransportation} /> {/if}
{#if lodging.type}
{$t(`lodging.${lodging.type}`)} {getLodgingIcon(lodging.type)}
{/if}
{lodging.name}
{#if !readOnly && (lodging.user == user?.uuid || (collection && user && collection.shared_with?.includes(user.uuid)))} {/if}
{#if lodging.location}
{lodging.location}
{/if} {#if lodging.check_in || lodging.check_out}
{#if lodging.check_in && lodging.check_out} {#if isAllDay(lodging.check_in) && isAllDay(lodging.check_out)}
{formatAllDayDate(lodging.check_in)} {formatAllDayDate(lodging.check_out)}
{:else}
Check-in {#if isAllDay(lodging.check_in)} {formatAllDayDate(lodging.check_in)} {:else} {formatDateInTimezone(lodging.check_in, lodging.timezone)} {/if}
{#if hasTimePortion(lodging.check_in) && shouldShowTzBadge(lodging.timezone)}
{getTimezoneLabel(lodging.timezone)}
{/if}
{#if hasExpandableDetails}
{/if} {#if showMoreDetails && hasExpandableDetails}
Check-out {#if isAllDay(lodging.check_out)} {formatAllDayDate(lodging.check_out)} {:else} {formatDateInTimezone(lodging.check_out, lodging.timezone)} {/if}
{#if hasTimePortion(lodging.check_out) && shouldShowTzBadge(lodging.timezone)}
{getTimezoneLabel(lodging.timezone)}
{/if}
{/if}
{/if} {:else if lodging.check_in}
Check-in {#if isAllDay(lodging.check_in)} {formatAllDayDate(lodging.check_in)} {:else} {formatDateInTimezone(lodging.check_in, lodging.timezone)} {/if}
{#if hasTimePortion(lodging.check_in) && shouldShowTzBadge(lodging.timezone)}
{getTimezoneLabel(lodging.timezone)}
{/if}
{:else if lodging.check_out}
Check-out {#if isAllDay(lodging.check_out)} {formatAllDayDate(lodging.check_out)} {:else} {formatDateInTimezone(lodging.check_out, lodging.timezone)} {/if}
{#if hasTimePortion(lodging.check_out) && shouldShowTzBadge(lodging.timezone)}
{getTimezoneLabel(lodging.timezone)}
{/if}
{/if}
{/if}
{#if lodging.rating}
{#each renderStars(lodging.rating) as filled} {#if filled} {:else} {/if} {/each}
({lodging.rating}/5)
{/if} {#if lodging.user == user?.uuid || (collection && user && collection.shared_with?.includes(user.uuid))} {#if lodging.reservation_number} {$t('adventures.reservation')}: {lodging.reservation_number} {/if} {#if lodgingPriceLabel} 💰 {lodgingPriceLabel} {/if} {/if}