[{if $client != "xlow"}]
[{if $client == "vtoidach" && $vt_bo_bookingtype == "B"}]Beherbergung[{else}]Aufenthalt[{/if}]
Termin:
 [{$hotelsForInvoice.0->ht_beginn}] - [{$hotelsForInvoice.0->ht_end}]
Hotel:
 [{$hotelsForInvoice.0->ht_hotelname}]
[{if $hotelsForInvoice.0->ht_category}]
Hotel Kategorie:
 [{$hotelsForInvoice.0->ht_category}]
[{/if}] [{if $hotelsForInvoice.0->ht_hotellocation}]
Ort:
[{/if}] [{if $hotelsForInvoice.0->ht_hotellocation}]
 [{$hotelsForInvoice.0->ht_hotellocation}]
[{/if}] [{foreach item=item key=id from=$hotelsForInvoice.0->dataforinvoice}]
Zimmer:
 [{$item->countValue}] [{$item->HT_ROOMTYPE}][{if $item->HT_ASSINGLEROOM == 1}] zur Alleinbenutzung [{/if}]
[{if $vt_bo_storno == 0}]
Ausstattung:
 [{$item->HT_ROOMACCOMODATION}] [{if $item->HT_ROOMVIEW=="ohne" || $item->HT_ROOMVIEW == OHNE}] [{else}] [{$item->HT_ROOMVIEW}] [{/if}]
Verpflegung:
 [{$item->HT_MEALTYPE}]
[{/if}] [{/foreach}] [{if $vt_bo_storno == 0}]
Transfer:
[{if ($vt_bo_bookingtype == "E" || $vt_bo_bookingtype == "B") && $vt_bo_destination != "MLE"}]
 NICHT INKLUSIVE
[{else}] [{if $vt_bo_bookingtype == "P"}]
 INKLUSIVE
[{else}]
 [{if $hotelsForInvoice.0->ht_transferagent || $vt_bo_destination == "MLE" }][{if $mwflag == 1}]NICHT INKLUSIVE[{else}]INKLUSIVE[{/if}][{else}]NICHT INKLUSIVE[{/if}]
[{/if}] [{/if}] [{if $vt_bo_bookingtype != "E" && $vt_bo_bookingtype != "B"}]
[{if $hotelsForInvoice.0->ht_transfertype != ""}]Transferart:[{/if}]
[{if $hotelsForInvoice.0->ht_transfertype != ""}]  [{$hotelsForInvoice.0->ht_transfertype|strtoupper}] [{/if}]
[{/if}] [{/if}]
[{else}]
[{if $client == "vtoidach" && $vt_bo_bookingtype == "B"}]Beherbergung[{else}]Aufenthalt[{/if}]
Termin:
 [{$hotelsForInvoice.0->ht_beginn}] - [{$hotelsForInvoice.0->ht_end}]
Hotel:
 [{$hotelsForInvoice.0->ht_hotelname}]
[{if $hotelsForInvoice.0->ht_category}]
Hotel Kategorie:
 [{$hotelsForInvoice.0->ht_category}]
[{/if}] [{foreach item=item key=id from=$hotelsForInvoice}]
Zimmer:
 [{$item->ht_roomtype}][{if $item->HT_ASSINGLEROOM == 1}] zur Alleinbenutzung [{/if}]
[{if $vt_bo_storno == 0}]
Ausstattung:
 [{$item->ht_roomaccomodation}] [{if $item->ht_roomview=="ohne"|| $item->ht_roomview == OHNE}] [{else}] [{$item->ht_roomview}] [{/if}]
Verpflegung:
 [{$item->ht_mealtype}]
[{/if}] [{/foreach}]
Transfer:
[{if ((($vt_bo_destination == "AYT" || $vt_bo_destination == "HRG" || $vt_bo_destination == "SSH") && $oldBooking == 1) || (($vt_bo_destination == "MLA" || $vt_bo_destination == "PMI" || $vt_bo_destination == "KGS")&& $oldBooking2 == 1))}]
 INKLUSIVE
[{else}]
 NICHT INKLUSIVE
[{/if}] [{if $vt_bo_bookingtype != "E" && $vt_bo_bookingtype != "B"}] [{if $hotelsForInvoice.0->ht_transfertype}]
Transferart:
[{/if}] [{if $hotelsForInvoice.0->ht_transfertype}]
[{$hotelsForInvoice.0->ht_transfertype|trim|strtoupper}]
[{/if}] [{/if}]
[{/if}]