{* *} {if !$strict} {/if} {include file="print_button.html"} {*relative path from frontend*}

{$smarty.const.CONF_SHOP_NAME}

{if $COMPANYNAME}

{$COMPANYNAME}

{/if} {if $COMPANYADDRESS}

{$COMPANYADDRESS}

{/if} {if $COMPANYPHONE}

{$smarty.const.PRINTFORMS_INVOICE_PHONE}: {$COMPANYPHONE}

{/if}
{lbl_pgn_invoice}: {$order.orderID_view|default:" "} {$order.date_print|default:" "}
{lbl_ord_bill_to}: {if $customer.company}

{$customer.company|htmlsafe:true:true}

{else}

{$order.billing_name|htmlsafe:true:true}

{/if} {if $order.billing_address}

{$order.billing_address|htmlsafe:true:true}

{/if}

{if $order.billing_state}{$order.billing_state|htmlsafe:true:true}, {/if} {if $order.billing_city}{$order.billing_city|htmlsafe:true:true}, {/if} {if $order.billing_zip}{$order.billing_zip|htmlsafe:true:true}{/if}

 
{lbl_ord_ship_to}: {if $customer.company}

{$customer.company|htmlsafe:true:true}

{else}

{$order.shipping_name|htmlsafe:true:true}

{/if} {if $order.shipping_address}

{$order.shipping_address|htmlsafe:true:true}

{/if}

{if $order.shipping_state}{$order.shipping_state|htmlsafe:true:true}, {/if} {if $order.shipping_city}{$order.shipping_city|htmlsafe:true:true}, {/if} {if $order.shipping_zip}{$order.shipping_zip|htmlsafe:true:true}{/if}

 
{foreach from=$order_content item=order_item key=id} {/foreach} {assign var=class value='total'} {if $order.order_discount} {assign var=class value='odd'} {/if} {if $order.shipping_cost} {assign var=class value='odd'} {/if} {if $order.tax} {/if}
  {lbl_str_description} {lbl_cart_product_quantity} {lbl_str_price}
{$id+1} {$order_item.name|htmlsafe:true:true|default:" "} {$order_item.Quantity|string_format:"%d"} {$order_item.PriceToShow}
  {"usr_custinfo_group_discount"|transcape}{$order.order_discount_percent|string_format:', %0.1f%%'}   {$order.order_discount_valueToShow}
  {"ordr_shipping_handling_cost"|transcape} ({$order.shipping_type|htmlsafe:true:true|default:"—"})   {$order.shipping_costToShow}
  {"ordr_tax"|translate}   {$order.tax_toShow}
  {"str_total"|translate}   {$order.order_amountToShow}
  {lbl_payment}: {$order.payment_type|htmlsafe:true:true|default:" "}
  {lbl_ord_date_paid}: {$order.paid_date}