1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-20 13:29:37 +02:00

feat: Add reservation number and price fields to lodging information across multiple languages

This commit is contained in:
Sean Morley 2025-02-16 09:35:07 -05:00
parent b5d6788c11
commit d31b95289d
10 changed files with 355 additions and 17 deletions

View file

@ -133,6 +133,20 @@
</p>
</div>
{/if}
{#if lodging.user_id == user?.uuid || (collection && user && collection.shared_with && collection.shared_with.includes(user.uuid))}
{#if lodging.reservation_number}
<div class="flex items-center gap-2">
<span class="font-medium text-sm">{$t('adventures.reservation_number')}:</span>
<p>{lodging.reservation_number}</p>
</div>
{/if}
{#if lodging.price}
<div class="flex items-center gap-2">
<span class="font-medium text-sm">{$t('adventures.price')}:</span>
<p>{lodging.price}</p>
</div>
{/if}
{/if}
</div>
<!-- Actions -->