{capture assign=headerStyle}colspan="2" style="text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;"{/capture} {capture assign=labelStyle }style="padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;"{/capture} {capture assign=valueStyle }style="padding: 4px; border-bottom: 1px solid #999;"{/capture}
{ts}Booking Status{/ts}
{ts}Booking ID{/ts}: {$booking_id} {ts}From{/ts}: {$booking_start_date|crmDate} {ts}To{/ts}: {$booking_end_date|crmDate} {ts}Booking Status{/ts}: {$booking_status}
{if !empty($contribution)}
{ts}Payment Information{/ts}
{ts}Total Amount Due{/ts}: {$booking_total}
{ts}Amounts Paid{/ts}:
{ts}Name{/ts} {ts}Amount{/ts} {ts}Type{/ts} {ts}Source{/ts} {ts}Received Date{/ts} {ts}Status{/ts} {ts}Premium{/ts}
{$contacts.primary_contact.display_name} {$contribution.total_amount} {$contribution.financial_type} {$contribution.contribution_source} {$contribution.receive_date|crmDate} {$contribution.contribution_status} {$contribution.product_name} 
{ts}Amounts Outstanding{/ts}: {$amount_outstanding}
{/if}
{ts}Booking Information{/ts} {if !empty($contacts.secondary_contact)} {else} {/if} {if !empty($contacts.secondary_contact)} {else} {/if} {if !empty($contacts.secondary_contact)} {else} {/if} {if !empty($contacts.secondary_contact)} {else} {/if} {if !empty($contacts.secondary_contact)} {else} {/if} {if !empty($contacts.secondary_contact)} {else} {/if} {if !empty($contacts.secondary_contact)} {else} {/if} {if !empty($contacts.secondary_contact)} {else} {/if} {if !empty($contacts.secondary_contact)} {else} {/if} {if !empty($contacts.secondary_contact)} {else} {/if}
{ts}Booking ID{/ts}: {$booking_id} {ts}Today's date{/ts} {$today_date}
       
{ts}Primary Contact{/ts} {$contacts.primary_contact.display_name} {ts}Secondary Contact{/ts} {$contacts.secondary_contact.display_name}    
{ts}Street Address{/ts}: {$contacts.primary_contact.street_address}{ts}Street Address{/ts}: {$contacts.secondary_contact.street_address}    
{ts}Address Line 1{/ts}: {$contacts.primary_contact.supplemental_address_1}{ts}Address Line 1{/ts}: {$contacts.secondary_contact.supplemental_address_1}    
{ts}Address Line 2{/ts}: {$contacts.primary_contact.supplemental_address_2}{ts}Address Line 2{/ts}: {$contacts.secondary_contact.supplemental_address_2}    
{ts}Town{/ts}: {$contacts.primary_contact.city}{ts}Town{/ts}: {$contacts.secondary_contact.city}    
{ts}County{/ts}: {$contacts.primary_contact.state_province_name}{ts}County{/ts}: {$contacts.secondary_contact.state_province_name}    
{ts}Country{/ts}: {$contacts.primary_contact.country}{ts}Country{/ts}: {$contacts.secondary_contact.country}    
{ts}Post code{/ts}: {$contacts.primary_contact.postal_code}{ts}Post code{/ts}: {$contacts.secondary_contact.postal_code}    
{ts}Telephone{/ts}: {$contacts.primary_contact.phone}{ts}Telephone{/ts}: {$contacts.secondary_contact.phone}    
{ts}Email{/ts}: {$contacts.primary_contact.email}{ts}Email{/ts}: {$contacts.secondary_contact.email}    
       
{ts}Day Booking Made{/ts}: {$booking_event_day} {ts}Date Booking Made{/ts}: {$booking_date_made|crmDate}
{ts}From{/ts}: {$booking_start_date|crmDate} {ts}To{/ts}: {$booking_end_date|crmDate}
{ts}Booking Title{/ts}: {$booking_title} {ts}Booking Status{/ts}: {$booking_status}
{ts}Estimated Number{/ts}: {$participants_estimate} {ts}Final Number{/ts}: {$participants_actual}
{ts}Booking Resource{/ts}

{ts}Resources{/ts}

{foreach from=$slots item=slot} {/foreach}
{ts}Resource{/ts} {ts}From{/ts} {ts}To{/ts} {ts}Configuration{/ts} {ts}Price Per unit{/ts} {ts}Quantity{/ts} {ts}Total price{/ts}
{$slot.resource_label} {$slot.start|crmDate} {$slot.end|crmDate} {$slot.config_label} {$slot.unit_price} {$slot.quantity} {$slot.total_amount}
{if !empty($sub_slots)}

Unlimited resources

{foreach from=$sub_slots item=subSlot} {/foreach}
{ts}Resource{/ts} {ts}Parent Resource{/ts} {ts}Time{/ts} {ts}Configuration{/ts} {ts}Price Per unit{/ts} {ts}Quantity{/ts} {ts}Total price{/ts}
{$subSlot.resource_label} {$subSlot.parent_resource_label} {$subSlot.time_required|crmDate} {$subSlot.config_label} {$subSlot.unit_price} {$subSlot.quantity} {$subSlot.total_amount}
{/if} {if !empty($adhoc_charges)}

Additional charges

{foreach from=$adhoc_charges item=adhocCharge} {/foreach}
{ts}Item{/ts} {ts}Price Per unit{/ts} {ts}Quantity{/ts} {ts}Total price{/ts}
{$adhocCharge.item_label} {$adhocCharge.unit_price} {$adhocCharge.quantity} {$adhocCharge.total_amount}
{/if}
{ts}Price{/ts}
{ts}Sub total{/ts} {$booking_subtotal}
{ts}Discounts{/ts} {$booking_discount}
{ts}Total{/ts} {$booking_total}
{if !empty($cancellation_charges)}
{ts}Booking cancellation{/ts} {foreach from=$cancellation_charges item=cancellationCharges}
{ts}Date Cancelled{/ts}: {$cancellationCharges.cancellation_date|crmDate}
{ts}Booking Price{/ts} {$cancellationCharges.booking_price|number_format:2:".":","}
{ts}This booking was cancelled{/ts} {$cancellationCharges.prior_days} days {ts}before the event was intended to take place{/ts}
{ts}Cancellation Subtotal{/ts}: {$cancellationCharges.cancellation_fee}
{ts}Other Cancellation Charges{/ts}: {$cancellationCharges.additional_fee}
{ts}Charge Comment{/ts}:
{$cancellationCharges.comment} 
{ts}Cancellation fee{/ts}: {$cancellationCharges.total_fee}
{/foreach}
{/if}