<inp2:m_DefineElement name="product_image">
	<img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" />
</inp2:m_DefineElement>

<inp2:m_DefineElement name="order_print_element">
	<table cellspacing="0" cellpadding="2" width="100%" border="0" class="order_print_defaults">
		<tr>
			<td colspan="3" align="left">
				<table width="100%" cellpadding="0" cellspacing="0">
					<tr>
						<td width="50%" align="left" valign="top">
							<h2><inp2:m_GetConfig name="Comm_StoreName"/></h2>
						</td>
						<td width="50%" align="right">
							<inp2:m_if check="m_ConfigEquals" name="Comm_AddressLine1" value="" inverse="inverse">
								<inp2:m_GetConfig name="Comm_AddressLine1"/><br>
							</inp2:m_if>
							<inp2:m_if check="m_ConfigEquals" name="Comm_AddressLine2" value="" inverse="inverse">
								<inp2:m_GetConfig name="Comm_AddressLine2"/><br>
							</inp2:m_if>
							<inp2:ord_PrintLocation type="Company"/><br />
							E-Mail: <inp2:m_GetConfig name="Comm_Contacts_Email"/><br />
							Phone: <inp2:m_GetConfig name="Comm_Contacts_Phone"/><br />
							Fax: <inp2:m_GetConfig name="Comm_Contacts_Fax"/><br />
						</td>
					</tr>
				</table>
			</td>
		</tr>

		<tr>
			<td colspan="3">
				<br />
				<center>
					<h3>Order Number: <inp2:ord_Field field="OrderNumber"/></h3>
					<inp2:ord_Field field="OrderDate" format="_regional_DateFormat"/><br />
				</center>
				<br />
			</td>
		</tr>

		<inp2:m_if check="ord_Field" name="ShippingTo">
		<tr>
			<td width="50%" valign="top">
				<br />
				<!-- shipping -->
				<table width="100%" cellpadding="0" cellspacing="0">
					<tr>
						<td class="order_preview_field_name">Ship To:</td>
						<td><inp2:ord_Field field="ShippingTo"/></td>
					</tr>
					<inp2:m_if check="ord_Field" name="ShippingEmail">
					<tr>
						<td class="order_preview_field_name">Email Address:</td>
						<td><inp2:ord_Field field="ShippingEmail"/></td>
					</tr>
					</inp2:m_if>
					<inp2:m_if check="ord_Field" name="ShippingPhone">
					<tr>
						<td class="order_preview_field_name">Phone:</td>
						<td><inp2:ord_Field field="ShippingPhone"/></td>
					</tr>
					</inp2:m_if>
					<inp2:m_if check="ord_Field" name="ShippingFax">
					<tr>
						<td class="order_preview_field_name">Fax Number:</td>
						<td><inp2:ord_Field field="ShippingFax"/></td>
					</tr>
					</inp2:m_if>
					<inp2:m_if check="ord_Field" name="ShippingCompany">
					<tr>
						<td class="order_preview_field_name">Company:</td>
						<td><inp2:ord_Field field="ShippingCompany"/></td>
					</tr>
					</inp2:m_if>
					<tr>
						<td class="order_preview_field_name" style="vertical-align: top;">Address:</td>
						<td>
							<inp2:m_if check="ord_FieldEquals" field="ShippingAddress1" value="" inverse="inverse" >
								<inp2:ord_Field field="ShippingAddress1"/><br>
							</inp2:m_if>
							<inp2:m_if check="ord_FieldEquals" field="ShippingAddress2" value="" inverse="inverse" >
								<inp2:ord_Field field="ShippingAddress2"/><br>
							</inp2:m_if>
							<inp2:ord_PrintLocation type="Shipping"/>
						</td>
					</tr>
				</table>
			</td>
			</inp2:m_if>

			<inp2:m_if check="ord_Field" name="BillingTo">
			<td width="50%" valign="top">
				<!-- billing -->
				<br />
				<table width="100%" cellpadding="0" cellspacing="0">
					<tr>
						<td class="order_preview_field_name">Bill To:</td>
						<td><inp2:ord_Field field="BillingTo"/></td>
					</tr>
					<inp2:m_if check="ord_Field" name="BillingEmail">
					<tr>
						<td class="order_preview_field_name">Email Address:</td>
						<td><inp2:ord_Field field="BillingEmail"/></td>
					</tr>
					</inp2:m_if>
					<inp2:m_if check="ord_Field" name="BillingPhone">
					<tr>
						<td class="order_preview_field_name">Phone:</td>
						<td><inp2:ord_Field field="BillingPhone"/></td>
					</tr>
					</inp2:m_if>
					<inp2:m_if check="ord_Field" name="BillingFax">
					<tr>
						<td class="order_preview_field_name">Fax Number:</td>
						<td><inp2:ord_Field field="BillingFax"/></td>
					</tr>
					</inp2:m_if>
					<inp2:m_if check="ord_Field" name="BillingCompany">
					<tr>
						<td class="order_preview_field_name">Company:</td>
						<td><inp2:ord_Field field="BillingCompany"/></td>
					</tr>
					</inp2:m_if>
					<tr>
						<td class="order_preview_field_name" style="vertical-align: top;">Address:</td>
						<td>
							<inp2:m_if check="ord_FieldEquals" field="BillingAddress1" value="" inverse="inverse" >
								<inp2:ord_Field field="BillingAddress1"/><br>
							</inp2:m_if>
							<inp2:m_if check="ord_FieldEquals" field="BillingAddress2" value="" inverse="inverse" >
								<inp2:ord_Field field="BillingAddress2"/><br>
							</inp2:m_if>
							<inp2:ord_PrintLocation type="Billing"/>
						</td>
					</tr>
				</table>
			</td>
			</inp2:m_if>

			<inp2:m_if check="ord_Field" name="ShippingTo" inverse="inverse"><td width="50%" valign="top">&nbsp;</td></inp2:m_if>
			<inp2:m_if check="ord_Field" name="BillingTo" inverse="inverse"><td width="50%" valign="top">&nbsp;</td></inp2:m_if>
		</tr>
	</table>

	<br /><br />

	<table cellspacing="0" cellpadding="0" width="100%" border="0" class="orders_print_flat_table"<inp2:m_if check="ord_NextId"> style="page-break-after: always;"</inp2:m_if>>
		<tr class="order_print_preview_header">
			<td width="70%"<inp2:m_if check="m_GetConfig" name="ShowProductImagesInOrders"> colspan="2"</inp2:m_if>>Product</td>
			<td width="10%">Quantity</td>
			<td width="10%">Price</td>
			<td width="10%">Total</td>
		</tr>

		<inp2:m_DefineElement name="option_value_element">
			<inp2:m_param name="value"/> <inp2:m_if check="m_ParamEquals" name="price" value=""><inp2:m_else/> (<inp2:m_param name="sign"/><inp2:m_param name="price"/> <inp2:m_param name="price_type"/>)</inp2:m_if>
			<inp2:m_if check="m_ParamEquals" name="is_last" value="1"><inp2:m_else/>, </inp2:m_if>
		</inp2:m_DefineElement>

		<inp2:m_DefineElement name="option_element">
			<inp2:m_if check="m_ParamEquals" param="type" value="6"> <!-- checkboxes - multiple -->
				<strong><inp2:m_param name="option"/>:</strong>
					<inp2:PrintOptionValues render_as="option_value_element"/>
			<inp2:m_else/>
					<strong><inp2:m_param name="option"/>:</strong> <inp2:m_param name="value"/>
						<inp2:m_if check="m_ParamEquals" name="price" value=""><inp2:m_else/> (<inp2:m_param name="sign"/><inp2:m_param name="price"/> <inp2:m_param name="price_type"/>)</inp2:m_if>
			</inp2:m_if><br/>
		</inp2:m_DefineElement>

		<inp2:m_DefineElement name="option_value_element_no_price">
			<inp2:m_param name="value"/>
			<inp2:m_if check="m_ParamEquals" name="is_last" value="1"><inp2:m_else/>, </inp2:m_if>
		</inp2:m_DefineElement>

		<inp2:m_DefineElement name="option_element_no_price">
			<inp2:m_if check="m_ParamEquals" param="type" value="6"> <!-- checkboxes - multiple -->
				<strong><inp2:m_param name="option"/>:</strong>
					<inp2:PrintOptionValues render_as="option_value_element_no_price"/>
			<inp2:m_else/>
					<strong><inp2:m_param name="option"/>:</strong> <inp2:m_param name="value"/>
			</inp2:m_if><br/>
		</inp2:m_DefineElement>

		<inp2:m_DefineElement name="order_detail_row">
			<tr>
				<inp2:m_if check="m_GetConfig" name="ShowProductImagesInOrders">
					<td valign="top" width="120">
						<inp2:p_Image render_as="product_image" thumbnail="1" DefaultImage="../../in-commerce/admin_templates/img/itemicons/no_picture_list.gif" MaxWidth="120" MaxHeight="120" DefaultWidth="120" />
					</td>
				</inp2:m_if>
				<td align="left" width="100%">
					<inp2:{$PrefixSpecial}_Field field="ProductName"/><br/>
					<small><strong>SKU: </strong><inp2:Field field="SKU"/></small>
					<inp2:m_if check="HasOptions">
						<br/>
						<small>
						<inp2:m_if check="DisplayOptionsPricing"> <!-- selectable options or overriding combination -->
							<inp2:PrintOptions render_as="option_element"/>
						<inp2:m_else/> <!-- listed combinations -->
							<inp2:PrintOptions render_as="option_element_no_price"/>
						</inp2:m_if>
						</small>
						<br/>
					</inp2:m_if>
					<inp2:m_if check="HasDiscount">
						<br />
						<inp2:m_Phrase label="lu_comm_RegularPrice" />: <inp2:Field name="FlatPrice" /><br />
						<inp2:m_Phrase label="lu_comm_Discount" />: - <inp2:Field name="ItemDiscount" />
					</inp2:m_if>
				</td>
				<td align="right" nowrap><inp2:{$PrefixSpecial}_Field field="Quantity"/></td>
				<td align="right" nowrap><inp2:{$PrefixSpecial}_Field field="Price"/></td>
				<td align="right" nowrap><inp2:{$PrefixSpecial}_Field field="ExtendedPrice"/></td>
			</tr>
		</inp2:m_DefineElement>

		<inp2:orditems_PrintList block="order_detail_row" per_page="-1" requery="1"/>

		<tr>
			<td align="left"<inp2:m_if check="m_GetConfig" name="ShowProductImagesInOrders"> colspan="2"</inp2:m_if>>
				<inp2:m_if check="ord_Field" name="CouponId">
					<span class="order_preview_field_name"><inp2:m_Phrase label="la_CouponCode"/>:</span> <inp2:ord_Field field="CouponCode"/><br />
				</inp2:m_if>

				<inp2:m_if check="ord_FieldEquals" field="DiscountTotal" value="0.00" inverse="inverse">
					<span class="order_preview_field_name"><inp2:m_Phrase label="la_TotalSavings"/>:</span> <inp2:ord_Field field="DiscountTotal"/><br />
				</inp2:m_if>
			</td>
			<td align="right" nowrap colspan="2" class="order-totals-name"><inp2:m_Phrase label="la_SubTotal"/></td>
			<td align="right" nowrap>
				<inp2:m_if check="ord_FieldEquals" name="VAT" value="0.00">
					<inp2:ord_Field field="AmountWithoutVAT"/>
				<inp2:m_else />
					<inp2:ord_Field field="SubTotal"/>
				</inp2:m_if>
			</td>
		</tr>

		<inp2:m_DefineElement name="shipping_total">
			<tr>
				<td align="right" nowrap colspan="<inp2:m_if check="m_GetConfig" name="ShowProductImagesInOrders">4<inp2:m_else/>3</inp2:m_if>" class="order-totals-name"><inp2:m_Phrase label="la_ShippingHandling"/><inp2:m_if check="ord_ShippingType"> (<inp2:ord_ShippingType />)</inp2:m_if></td>
				<td align="right" nowrap><inp2:ord_Field field="ShippingCost"/></td>
			</tr>

			<tr>
				<td align="right" nowrap colspan="<inp2:m_if check="m_GetConfig" name="ShowProductImagesInOrders">4<inp2:m_else/>3</inp2:m_if>" class="order-totals-name"><inp2:m_Phrase label="la_Insurance_Fee"/>:</td>
				<td align="right" nowrap class="arial2"><inp2:ord_Field field="InsuranceFee"/></td>
			</tr>

		</inp2:m_DefineElement>

		<inp2:m_DefineElement name="vat_total">
			<tr>
				<td align="right" nowrap colspan="<inp2:m_if check="m_GetConfig" name="ShowProductImagesInOrders">4<inp2:m_else/>3</inp2:m_if>" class="order-totals-name"><inp2:m_Phrase label="la_VAT"/> <inp2:ord_Field field="VATPercent"/>%</td>
				<td align="right" nowrap><inp2:ord_Field field="VAT"/></td>
			</tr>
		</inp2:m_DefineElement>

		<inp2:m_DefineElement name="processing_total">
			<tr>
				<td align="right" nowrap colspan="<inp2:m_if check="m_GetConfig" name="ShowProductImagesInOrders">4<inp2:m_else/>3</inp2:m_if>" class="order-totals-name"><inp2:m_Phrase label="la_ProcessingFee"/> :</td>
				<td align="right" nowrap><inp2:ord_Field field="ProcessingFee"/></td>
			</tr>
		</inp2:m_DefineElement>
		
		<inp2:m_DefineElement name="return_total">
			<tr>
				<td align="right" nowrap colspan="<inp2:m_if check="m_GetConfig" name="ShowProductImagesInOrders">4<inp2:m_else/>3</inp2:m_if>" class="order-totals-name"><inp2:m_Phrase label="la_fld_TotalReturns"/>:</td>
				<td align="right" nowrap class="arial2">-<inp2:ord_Field field="ReturnTotal"/></td>
			</tr>
		</inp2:m_DefineElement>

		<inp2:ord_PrintTotals
				shipping_render_as="shipping_total"
				processing_render_as="processing_total"
				vat_render_as="vat_total"
				return_render_as="return_total"/>

		<inp2:m_if check="ord_Field" field="GiftCertificateId">
			<tr>
				<td align="right" nowrap colspan="<inp2:m_if check="m_GetConfig" name="ShowProductImagesInOrders">4<inp2:m_else/>3</inp2:m_if>" class="order-totals-name"><inp2:m_Phrase label="la_fld_Gift_Certificate_Number"/>:</td>
				<td align="right" nowrap class="arial2"><inp2:ord_Field field="GiftCertificateCode"/></td>
			</tr>
			<tr>
				<td align="right" nowrap colspan="<inp2:m_if check="m_GetConfig" name="ShowProductImagesInOrders">4<inp2:m_else/>3</inp2:m_if>" class="order-totals-name"><inp2:m_Phrase label="la_fld_Gift_Certificate_Amount_Applied"/>:</td>
				<td align="right" nowrap class="arial2"><inp2:ord_Field field="GiftCertificateDiscount"/></td>
			</tr>
		</inp2:m_if>

		<tr>
			<td align="right" colspan="<inp2:m_if check="m_GetConfig" name="ShowProductImagesInOrders">4<inp2:m_else/>3</inp2:m_if>"><span class="order_preview_field_name">Total:</span></td>
			<td align="right" nowrap><span class="order_preview_field_name"><inp2:ord_Field field="TotalAmount"/></span></td>
		</tr>
		<inp2:m_if check="ord_HasOriginalAmount" >
		<tr>
			<td align="right" colspan="<inp2:m_if check="m_GetConfig" name="ShowProductImagesInOrders">4<inp2:m_else/>3</inp2:m_if>"><span class="order_preview_field_name">Original Amount:</span></td>
			<td align="right" nowrap><span class="order_preview_field_name"><inp2:ord_Field field="OriginalAmount"/></span></td>
		</tr>
		</inp2:m_if>
	</table>
</inp2:m_DefineElement>