{{set-translations (asset "email/translations.json")}} {{set-locale (asset "general/localization.json" "locale" "en_US")}} {{set-timezone transaction.listing.availability-plan.timezone}} {{#with transaction}}

{{t "BookingReminder.Title" "Your booking for {listingTitle} is approaching!" listingTitle=listing.title}}

{{#each tx-line-items}} {{#eq "line-item/hour" code}}

{{t "BookingReminder.ContentForHourly" "You have booked { listingTitle } from {dateStart,date,::hmmaYYYYMMMd} to {dateEnd,date,::hmmaYYYYMMMd}." dateStart=booking.start dateEnd=booking.end listingTitle=listing.title}}

{{/ eq}} {{#eq "line-item/day" code}}

{{t "BookingReminder.ContentForDaily" "You have booked { listingTitle } from {dateStart,date,::YYYYMMMd} to {dateEnd,date,::YYYYMMMd}." dateStart=booking.start dateEnd=(date-transform booking.end days=-1) listingTitle=listing.title}}

{{/ eq}} {{#eq "line-item/night" code}}

{{t "BookingReminder.ContentForNightly" "You have booked { listingTitle } from {dateStart,date,::YYYYMMMd} to {dateEnd,date,::YYYYMMMd}." dateStart=booking.start dateEnd=booking.end listingTitle=listing.title}}

{{/ eq}} {{/each}}

{{t "BookingReminder.ContactProvider" "If you have questions about your booking, you can contact {providerDisplayName} through the order page." providerDisplayName=provider.display-name}}

{{t "BookingReminder.Cta" "View order details"}}

{{t "TransactionEmails.AccessibleLinkText" "Can't click the button? Here's the link for your convenience:"}} {{marketplace.url}}/order/{{url-encode id}}/

{{/with}}

{{t "TransactionEmails.MembershipParagraph" "You have received this email notification because you are a member of {marketplaceName}. If you no longer wish to receive these emails, please contact {marketplaceName} team." marketplaceName=marketplace.name }}