<!doctype html>
<html  {$html_attrs}>
	<head>
						<meta http-equiv="X-UA-Compatible" content="IE=Edge">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>{$pagetitle}</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<base href="{$projectPath}">
		{BEGIN styleCSSFiles}
<link REL="stylesheet" href="{$stylepath}" type="text/css">
{END styleCSSFiles}
			
	</head>

	<body class="{$stylename} function-print" {$bodyattrs}>
	{BEGIN body}
		{$header}
		<style>
			{$containerCss}
		</style>
		{$locking}
		<div class="r-small-page" 
			data-body-align="left"
			data-body-width="standard"
		>
							{BEGIN top_block}
<div class="r-form" data-location="top" id="form_top_{$pageid}" data-makeup="small" {$form_top} data-pageid="{$pageid}" data-page="sales_detail_print" >		
	 
				<div class="row">
			 
				<div 
	data-cellId="top_c2" data-pageid="{$pageid}"	{$cell_top_c2}
	class=" r-ori-vert			col-md-12
	
">
		 
		<h2 data-itemtype="print_header" data-itemid="print_header" {$item_print_header}="" data-pageid="{$pageid}" >{$pagetitlelabel sales_detail print}</h2>
	 
		{BEGIN printtabheader}
<span data-itemtype="print_subheader" data-itemid="print_subheader" {$item_print_subheader}="" data-pageid="{$pageid}" >
{$printtabheader_text}
</span>
{END printtabheader}
		</div>					</div>
			 
				<div class="row">
			 
				<div 
	data-cellId="top_c4" data-pageid="{$pageid}"	{$cell_top_c4}
	class=" r-ori-vert			col-md-12
	
">
		 
		{BEGIN mastertable_block}
<div data-itemtype="master_info" data-itemid="master_info" {$item_master_info}="" data-pageid="{$pageid}">
	{$showmasterfile}
</div>
{END mastertable_block}		</div>					</div>
			</div>		
{END top_block}
									{BEGIN above-grid_block}
<div class="r-form" data-location="above-grid" id="form_above-grid_{$pageid}" data-makeup="small" {$form_above-grid} data-pageid="{$pageid}" data-page="sales_detail_print" >		
	 
				<div class="row">
			 
				<div 
	data-cellId="above-grid_c1" data-pageid="{$pageid}"	{$cell_above-grid_c1}
	class="			col-md-12
	
">
		{BEGIN firstAboveGridCell}
		 
		<span data-itemtype="print_pages" data-itemid="print_pages" {$item_print_pages}="" data-pageid="{$pageid}" >
	{$print_pages_labelprint_pages}
</span>	 
		{BEGIN inline_cancel}
<span data-itemtype="grid_inline_cancel" data-itemid="grid_inline_cancel" {$item_grid_inline_cancel}="" data-pageid="{$pageid}" data-small="" data-button-item>
	<a type="button" title="{mlang_message CANCEL}" class="btn-link   
	 glyphicon glyphicon-remove" {$inlinerevertlink_attrs} title="{mlang_message CANCEL}" >		
				
								</a>
</span>
{END inline_cancel}
	 
		{BEGIN inlineadd_link}
<span data-itemtype="inline_add" data-itemid="inline_add" {$item_inline_add}="" data-pageid="{$pageid}" data-small="" data-button-item>
	<a type="button" title="" class="btn btn-primary   
	" {$inlineaddlink_attrs} >
							{mlang_message INLINE_ADD}			</a>
</span>
{END inlineadd_link}
			{END firstAboveGridCell}	
	</div>					</div>
			</div>		
{END above-grid_block}
									{BEGIN grid_block}
{BEGIN message_block}
<div data-grid-message data-pageid="{$pageid}" class="alert {$message_class}" role="alert" {$grid_message_attrs}>{$message}</div>
{END message_block}<table data-location="grid" id="form_grid_{$pageid}" data-makeup="small" {$form_grid} data-pageid="{$pageid}" data-page="sales_detail_print" class=" table table-striped table-bordered r-horizontal-grid  rnr-b-grid rnr-gridtable"
	cellpadding="0"
	data-body-height="1"
>
						<thead>
			{BEGIN grid_header}
			
																									<tr {$rowattrs} {$row_grid_0} class="{$rowclass}
									{$gridHeader_class}
					
								r-gridrow
							">
									{BEGIN cellblock_grid_headcell_field}
	<th
	
	{$cell_grid_headcell_field}
	{$recordattrs}
	class="
		 r-ori-vert		 {$id_class}	"

			data-field="id"
	
	data-cellId="grid_headcell_field" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN id_fieldheadercolumn}
<span 
	data-itemtype="grid_field_label" data-itemid="simple_grid_field37" {$item_simple_grid_field37}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="id" data-fieldname="id" 

	
	
	>
	<span class="text-label">
		<span>{$label sales_detail id }</span>
			</span>
	</span>
{END id_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field}
									{BEGIN cellblock_grid_headcell_field1}
	<th
	
	{$cell_grid_headcell_field1}
	{$recordattrs}
	class="
		 r-ori-vert		 {$sales_detail_uuid_class}	"

			data-field="sales_detail_uuid"
	
	data-cellId="grid_headcell_field1" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN sales_detail_uuid_fieldheadercolumn}
<span 
	data-itemtype="grid_field_label" data-itemid="simple_grid_field38" {$item_simple_grid_field38}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="sales_detail_uuid" data-fieldname="sales_detail_uuid" 

	
	
	>
	<span class="text-label">
		<span>{$label sales_detail sales_detail_uuid }</span>
			</span>
	</span>
{END sales_detail_uuid_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field1}
									{BEGIN cellblock_grid_headcell_field2}
	<th
	
	{$cell_grid_headcell_field2}
	{$recordattrs}
	class="
		 r-ori-vert		 {$sales_id_class}	"

			data-field="sales_id"
	
	data-cellId="grid_headcell_field2" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN sales_id_fieldheadercolumn}
<span 
	data-itemtype="grid_field_label" data-itemid="simple_grid_field39" {$item_simple_grid_field39}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="sales_id" data-fieldname="sales_id" 

	
	
	>
	<span class="text-label">
		<span>{$label sales_detail sales_id }</span>
			</span>
	</span>
{END sales_id_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field2}
									{BEGIN cellblock_grid_headcell_field3}
	<th
	
	{$cell_grid_headcell_field3}
	{$recordattrs}
	class="
		 r-ori-vert		 {$line_no_class}	"

			data-field="line_no"
	
	data-cellId="grid_headcell_field3" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN line_no_fieldheadercolumn}
<span 
	data-itemtype="grid_field_label" data-itemid="simple_grid_field40" {$item_simple_grid_field40}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="line_no" data-fieldname="line_no" 

	
	
	>
	<span class="text-label">
		<span>{$label sales_detail line_no }</span>
			</span>
	</span>
{END line_no_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field3}
									{BEGIN cellblock_grid_headcell_field4}
	<th
	
	{$cell_grid_headcell_field4}
	{$recordattrs}
	class="
		 r-ori-vert		 {$item_id_class}	"

			data-field="item_id"
	
	data-cellId="grid_headcell_field4" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN item_id_fieldheadercolumn}
<span 
	data-itemtype="grid_field_label" data-itemid="simple_grid_field41" {$item_simple_grid_field41}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="item_id" data-fieldname="item_id" 

	
	
	>
	<span class="text-label">
		<span>{$label sales_detail item_id }</span>
			</span>
	</span>
{END item_id_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field4}
									{BEGIN cellblock_grid_headcell_field5}
	<th
	
	{$cell_grid_headcell_field5}
	{$recordattrs}
	class="
		 r-ori-vert		 {$item_code_snapshot_class}	"

			data-field="item_code_snapshot"
	
	data-cellId="grid_headcell_field5" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN item_code_snapshot_fieldheadercolumn}
<span 
	data-itemtype="grid_field_label" data-itemid="simple_grid_field42" {$item_simple_grid_field42}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="item_code_snapshot" data-fieldname="item_code_snapshot" 

	
	
	>
	<span class="text-label">
		<span>{$label sales_detail item_code_snapshot }</span>
			</span>
	</span>
{END item_code_snapshot_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field5}
									{BEGIN cellblock_grid_headcell_field6}
	<th
	
	{$cell_grid_headcell_field6}
	{$recordattrs}
	class="
		 r-ori-vert		 {$description_class}	"

			data-field="description"
	
	data-cellId="grid_headcell_field6" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN description_fieldheadercolumn}
<span 
	data-itemtype="grid_field_label" data-itemid="simple_grid_field43" {$item_simple_grid_field43}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="description" data-fieldname="description" 

	
	
	>
	<span class="text-label">
		<span>{$label sales_detail description }</span>
			</span>
	</span>
{END description_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field6}
									{BEGIN cellblock_grid_headcell_field7}
	<th
	
	{$cell_grid_headcell_field7}
	{$recordattrs}
	class="
		 r-ori-vert		 {$uom_code_class}	"

			data-field="uom_code"
	
	data-cellId="grid_headcell_field7" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN uom_code_fieldheadercolumn}
<span 
	data-itemtype="grid_field_label" data-itemid="simple_grid_field44" {$item_simple_grid_field44}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="uom_code" data-fieldname="uom_code" 

	
	
	>
	<span class="text-label">
		<span>{$label sales_detail uom_code }</span>
			</span>
	</span>
{END uom_code_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field7}
									{BEGIN cellblock_grid_headcell_field8}
	<th
	
	{$cell_grid_headcell_field8}
	{$recordattrs}
	class="
		 r-ori-vert		 {$quantity_class}	"

			data-field="quantity"
	
	data-cellId="grid_headcell_field8" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN quantity_fieldheadercolumn}
<span 
	data-itemtype="grid_field_label" data-itemid="simple_grid_field45" {$item_simple_grid_field45}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="quantity" data-fieldname="quantity" 

	
	
	>
	<span class="text-label">
		<span>{$label sales_detail quantity }</span>
			</span>
	</span>
{END quantity_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field8}
									{BEGIN cellblock_grid_headcell_field9}
	<th
	
	{$cell_grid_headcell_field9}
	{$recordattrs}
	class="
		 r-ori-vert		 {$unit_price_class}	"

			data-field="unit_price"
	
	data-cellId="grid_headcell_field9" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN unit_price_fieldheadercolumn}
<span 
	data-itemtype="grid_field_label" data-itemid="simple_grid_field46" {$item_simple_grid_field46}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="unit_price" data-fieldname="unit_price" 

	
	
	>
	<span class="text-label">
		<span>{$label sales_detail unit_price }</span>
			</span>
	</span>
{END unit_price_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field9}
									{BEGIN cellblock_grid_headcell_field10}
	<th
	
	{$cell_grid_headcell_field10}
	{$recordattrs}
	class="
		 r-ori-vert		 {$gross_amount_class}	"

			data-field="gross_amount"
	
	data-cellId="grid_headcell_field10" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN gross_amount_fieldheadercolumn}
<span 
	data-itemtype="grid_field_label" data-itemid="simple_grid_field47" {$item_simple_grid_field47}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="gross_amount" data-fieldname="gross_amount" 

	
	
	>
	<span class="text-label">
		<span>{$label sales_detail gross_amount }</span>
			</span>
	</span>
{END gross_amount_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field10}
									{BEGIN cellblock_grid_headcell_field11}
	<th
	
	{$cell_grid_headcell_field11}
	{$recordattrs}
	class="
		 r-ori-vert		 {$commercial_discount_rate_class}	"

			data-field="commercial_discount_rate"
	
	data-cellId="grid_headcell_field11" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN commercial_discount_rate_fieldheadercolumn}
<span 
	data-itemtype="grid_field_label" data-itemid="simple_grid_field48" {$item_simple_grid_field48}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="commercial_discount_rate" data-fieldname="commercial_discount_rate" 

	
	
	>
	<span class="text-label">
		<span>{$label sales_detail commercial_discount_rate }</span>
			</span>
	</span>
{END commercial_discount_rate_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field11}
									{BEGIN cellblock_grid_headcell_field12}
	<th
	
	{$cell_grid_headcell_field12}
	{$recordattrs}
	class="
		 r-ori-vert		 {$commercial_discount_amount_class}	"

			data-field="commercial_discount_amount"
	
	data-cellId="grid_headcell_field12" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN commercial_discount_amount_fieldheadercolumn}
<span 
	data-itemtype="grid_field_label" data-itemid="simple_grid_field49" {$item_simple_grid_field49}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="commercial_discount_amount" data-fieldname="commercial_discount_amount" 

	
	
	>
	<span class="text-label">
		<span>{$label sales_detail commercial_discount_amount }</span>
			</span>
	</span>
{END commercial_discount_amount_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field12}
									{BEGIN cellblock_grid_headcell_field13}
	<th
	
	{$cell_grid_headcell_field13}
	{$recordattrs}
	class="
		 r-ori-vert		 {$discount_type_id_class}	"

			data-field="discount_type_id"
	
	data-cellId="grid_headcell_field13" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN discount_type_id_fieldheadercolumn}
<span 
	data-itemtype="grid_field_label" data-itemid="simple_grid_field50" {$item_simple_grid_field50}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="discount_type_id" data-fieldname="discount_type_id" 

	
	
	>
	<span class="text-label">
		<span>{$label sales_detail discount_type_id }</span>
			</span>
	</span>
{END discount_type_id_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field13}
									{BEGIN cellblock_grid_headcell_field14}
	<th
	
	{$cell_grid_headcell_field14}
	{$recordattrs}
	class="
		 r-ori-vert		 {$statutory_discount_rate_class}	"

			data-field="statutory_discount_rate"
	
	data-cellId="grid_headcell_field14" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN statutory_discount_rate_fieldheadercolumn}
<span 
	data-itemtype="grid_field_label" data-itemid="simple_grid_field51" {$item_simple_grid_field51}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="statutory_discount_rate" data-fieldname="statutory_discount_rate" 

	
	
	>
	<span class="text-label">
		<span>{$label sales_detail statutory_discount_rate }</span>
			</span>
	</span>
{END statutory_discount_rate_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field14}
									{BEGIN cellblock_grid_headcell_field15}
	<th
	
	{$cell_grid_headcell_field15}
	{$recordattrs}
	class="
		 r-ori-vert		 {$statutory_discount_amount_class}	"

			data-field="statutory_discount_amount"
	
	data-cellId="grid_headcell_field15" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN statutory_discount_amount_fieldheadercolumn}
<span 
	data-itemtype="grid_field_label" data-itemid="simple_grid_field52" {$item_simple_grid_field52}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="statutory_discount_amount" data-fieldname="statutory_discount_amount" 

	
	
	>
	<span class="text-label">
		<span>{$label sales_detail statutory_discount_amount }</span>
			</span>
	</span>
{END statutory_discount_amount_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field15}
									{BEGIN cellblock_grid_headcell_field16}
	<th
	
	{$cell_grid_headcell_field16}
	{$recordattrs}
	class="
		 r-ori-vert		 {$net_before_tax_amount_class}	"

			data-field="net_before_tax_amount"
	
	data-cellId="grid_headcell_field16" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN net_before_tax_amount_fieldheadercolumn}
<span 
	data-itemtype="grid_field_label" data-itemid="simple_grid_field53" {$item_simple_grid_field53}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="net_before_tax_amount" data-fieldname="net_before_tax_amount" 

	
	
	>
	<span class="text-label">
		<span>{$label sales_detail net_before_tax_amount }</span>
			</span>
	</span>
{END net_before_tax_amount_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field16}
									{BEGIN cellblock_grid_headcell_field17}
	<th
	
	{$cell_grid_headcell_field17}
	{$recordattrs}
	class="
		 r-ori-vert		 {$vat_tax_code_id_class}	"

			data-field="vat_tax_code_id"
	
	data-cellId="grid_headcell_field17" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN vat_tax_code_id_fieldheadercolumn}
<span 
	data-itemtype="grid_field_label" data-itemid="simple_grid_field54" {$item_simple_grid_field54}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="vat_tax_code_id" data-fieldname="vat_tax_code_id" 

	
	
	>
	<span class="text-label">
		<span>{$label sales_detail vat_tax_code_id }</span>
			</span>
	</span>
{END vat_tax_code_id_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field17}
									{BEGIN cellblock_grid_headcell_field18}
	<th
	
	{$cell_grid_headcell_field18}
	{$recordattrs}
	class="
		 r-ori-vert		 {$vat_rate_snapshot_class}	"

			data-field="vat_rate_snapshot"
	
	data-cellId="grid_headcell_field18" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN vat_rate_snapshot_fieldheadercolumn}
<span 
	data-itemtype="grid_field_label" data-itemid="simple_grid_field55" {$item_simple_grid_field55}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="vat_rate_snapshot" data-fieldname="vat_rate_snapshot" 

	
	
	>
	<span class="text-label">
		<span>{$label sales_detail vat_rate_snapshot }</span>
			</span>
	</span>
{END vat_rate_snapshot_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field18}
									{BEGIN cellblock_grid_headcell_field19}
	<th
	
	{$cell_grid_headcell_field19}
	{$recordattrs}
	class="
		 r-ori-vert		 {$vatable_amount_class}	"

			data-field="vatable_amount"
	
	data-cellId="grid_headcell_field19" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN vatable_amount_fieldheadercolumn}
<span 
	data-itemtype="grid_field_label" data-itemid="simple_grid_field56" {$item_simple_grid_field56}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="vatable_amount" data-fieldname="vatable_amount" 

	
	
	>
	<span class="text-label">
		<span>{$label sales_detail vatable_amount }</span>
			</span>
	</span>
{END vatable_amount_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field19}
									{BEGIN cellblock_grid_headcell_field20}
	<th
	
	{$cell_grid_headcell_field20}
	{$recordattrs}
	class="
		 r-ori-vert		 {$vat_exempt_amount_class}	"

			data-field="vat_exempt_amount"
	
	data-cellId="grid_headcell_field20" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN vat_exempt_amount_fieldheadercolumn}
<span 
	data-itemtype="grid_field_label" data-itemid="simple_grid_field57" {$item_simple_grid_field57}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="vat_exempt_amount" data-fieldname="vat_exempt_amount" 

	
	
	>
	<span class="text-label">
		<span>{$label sales_detail vat_exempt_amount }</span>
			</span>
	</span>
{END vat_exempt_amount_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field20}
									{BEGIN cellblock_grid_headcell_field21}
	<th
	
	{$cell_grid_headcell_field21}
	{$recordattrs}
	class="
		 r-ori-vert		 {$zero_rated_amount_class}	"

			data-field="zero_rated_amount"
	
	data-cellId="grid_headcell_field21" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN zero_rated_amount_fieldheadercolumn}
<span 
	data-itemtype="grid_field_label" data-itemid="simple_grid_field58" {$item_simple_grid_field58}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="zero_rated_amount" data-fieldname="zero_rated_amount" 

	
	
	>
	<span class="text-label">
		<span>{$label sales_detail zero_rated_amount }</span>
			</span>
	</span>
{END zero_rated_amount_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field21}
									{BEGIN cellblock_grid_headcell_field22}
	<th
	
	{$cell_grid_headcell_field22}
	{$recordattrs}
	class="
		 r-ori-vert		 {$vat_amount_class}	"

			data-field="vat_amount"
	
	data-cellId="grid_headcell_field22" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN vat_amount_fieldheadercolumn}
<span 
	data-itemtype="grid_field_label" data-itemid="simple_grid_field59" {$item_simple_grid_field59}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="vat_amount" data-fieldname="vat_amount" 

	
	
	>
	<span class="text-label">
		<span>{$label sales_detail vat_amount }</span>
			</span>
	</span>
{END vat_amount_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field22}
									{BEGIN cellblock_grid_headcell_field23}
	<th
	
	{$cell_grid_headcell_field23}
	{$recordattrs}
	class="
		 r-ori-vert		 {$withholding_tax_code_id_class}	"

			data-field="withholding_tax_code_id"
	
	data-cellId="grid_headcell_field23" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN withholding_tax_code_id_fieldheadercolumn}
<span 
	data-itemtype="grid_field_label" data-itemid="simple_grid_field60" {$item_simple_grid_field60}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="withholding_tax_code_id" data-fieldname="withholding_tax_code_id" 

	
	
	>
	<span class="text-label">
		<span>{$label sales_detail withholding_tax_code_id }</span>
			</span>
	</span>
{END withholding_tax_code_id_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field23}
									{BEGIN cellblock_grid_headcell_field24}
	<th
	
	{$cell_grid_headcell_field24}
	{$recordattrs}
	class="
		 r-ori-vert		 {$withholding_rate_snapshot_class}	"

			data-field="withholding_rate_snapshot"
	
	data-cellId="grid_headcell_field24" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN withholding_rate_snapshot_fieldheadercolumn}
<span 
	data-itemtype="grid_field_label" data-itemid="simple_grid_field61" {$item_simple_grid_field61}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="withholding_rate_snapshot" data-fieldname="withholding_rate_snapshot" 

	
	
	>
	<span class="text-label">
		<span>{$label sales_detail withholding_rate_snapshot }</span>
			</span>
	</span>
{END withholding_rate_snapshot_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field24}
									{BEGIN cellblock_grid_headcell_field25}
	<th
	
	{$cell_grid_headcell_field25}
	{$recordattrs}
	class="
		 r-ori-vert		 {$withholding_amount_class}	"

			data-field="withholding_amount"
	
	data-cellId="grid_headcell_field25" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN withholding_amount_fieldheadercolumn}
<span 
	data-itemtype="grid_field_label" data-itemid="simple_grid_field62" {$item_simple_grid_field62}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="withholding_amount" data-fieldname="withholding_amount" 

	
	
	>
	<span class="text-label">
		<span>{$label sales_detail withholding_amount }</span>
			</span>
	</span>
{END withholding_amount_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field25}
									{BEGIN cellblock_grid_headcell_field26}
	<th
	
	{$cell_grid_headcell_field26}
	{$recordattrs}
	class="
		 r-ori-vert		 {$line_total_amount_class}	"

			data-field="line_total_amount"
	
	data-cellId="grid_headcell_field26" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN line_total_amount_fieldheadercolumn}
<span 
	data-itemtype="grid_field_label" data-itemid="simple_grid_field63" {$item_simple_grid_field63}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="line_total_amount" data-fieldname="line_total_amount" 

	
	
	>
	<span class="text-label">
		<span>{$label sales_detail line_total_amount }</span>
			</span>
	</span>
{END line_total_amount_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field26}
									{BEGIN cellblock_grid_headcell_field27}
	<th
	
	{$cell_grid_headcell_field27}
	{$recordattrs}
	class="
		 r-ori-vert		 {$base_line_total_amount_class}	"

			data-field="base_line_total_amount"
	
	data-cellId="grid_headcell_field27" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN base_line_total_amount_fieldheadercolumn}
<span 
	data-itemtype="grid_field_label" data-itemid="simple_grid_field64" {$item_simple_grid_field64}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="base_line_total_amount" data-fieldname="base_line_total_amount" 

	
	
	>
	<span class="text-label">
		<span>{$label sales_detail base_line_total_amount }</span>
			</span>
	</span>
{END base_line_total_amount_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field27}
									{BEGIN cellblock_grid_headcell_field28}
	<th
	
	{$cell_grid_headcell_field28}
	{$recordattrs}
	class="
		 r-ori-vert		 {$warehouse_id_class}	"

			data-field="warehouse_id"
	
	data-cellId="grid_headcell_field28" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN warehouse_id_fieldheadercolumn}
<span 
	data-itemtype="grid_field_label" data-itemid="simple_grid_field65" {$item_simple_grid_field65}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="warehouse_id" data-fieldname="warehouse_id" 

	
	
	>
	<span class="text-label">
		<span>{$label sales_detail warehouse_id }</span>
			</span>
	</span>
{END warehouse_id_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field28}
									{BEGIN cellblock_grid_headcell_field29}
	<th
	
	{$cell_grid_headcell_field29}
	{$recordattrs}
	class="
		 r-ori-vert		 {$department_id_class}	"

			data-field="department_id"
	
	data-cellId="grid_headcell_field29" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN department_id_fieldheadercolumn}
<span 
	data-itemtype="grid_field_label" data-itemid="simple_grid_field66" {$item_simple_grid_field66}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="department_id" data-fieldname="department_id" 

	
	
	>
	<span class="text-label">
		<span>{$label sales_detail department_id }</span>
			</span>
	</span>
{END department_id_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field29}
									{BEGIN cellblock_grid_headcell_field30}
	<th
	
	{$cell_grid_headcell_field30}
	{$recordattrs}
	class="
		 r-ori-vert		 {$cost_center_id_class}	"

			data-field="cost_center_id"
	
	data-cellId="grid_headcell_field30" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN cost_center_id_fieldheadercolumn}
<span 
	data-itemtype="grid_field_label" data-itemid="simple_grid_field67" {$item_simple_grid_field67}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="cost_center_id" data-fieldname="cost_center_id" 

	
	
	>
	<span class="text-label">
		<span>{$label sales_detail cost_center_id }</span>
			</span>
	</span>
{END cost_center_id_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field30}
									{BEGIN cellblock_grid_headcell_field31}
	<th
	
	{$cell_grid_headcell_field31}
	{$recordattrs}
	class="
		 r-ori-vert		 {$project_id_class}	"

			data-field="project_id"
	
	data-cellId="grid_headcell_field31" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN project_id_fieldheadercolumn}
<span 
	data-itemtype="grid_field_label" data-itemid="simple_grid_field68" {$item_simple_grid_field68}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="project_id" data-fieldname="project_id" 

	
	
	>
	<span class="text-label">
		<span>{$label sales_detail project_id }</span>
			</span>
	</span>
{END project_id_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field31}
									{BEGIN cellblock_grid_headcell_field32}
	<th
	
	{$cell_grid_headcell_field32}
	{$recordattrs}
	class="
		 r-ori-vert		 {$project_task_id_class}	"

			data-field="project_task_id"
	
	data-cellId="grid_headcell_field32" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN project_task_id_fieldheadercolumn}
<span 
	data-itemtype="grid_field_label" data-itemid="simple_grid_field69" {$item_simple_grid_field69}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="project_task_id" data-fieldname="project_task_id" 

	
	
	>
	<span class="text-label">
		<span>{$label sales_detail project_task_id }</span>
			</span>
	</span>
{END project_task_id_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field32}
									{BEGIN cellblock_grid_headcell_field33}
	<th
	
	{$cell_grid_headcell_field33}
	{$recordattrs}
	class="
		 r-ori-vert		 {$sales_agent_id_class}	"

			data-field="sales_agent_id"
	
	data-cellId="grid_headcell_field33" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN sales_agent_id_fieldheadercolumn}
<span 
	data-itemtype="grid_field_label" data-itemid="simple_grid_field70" {$item_simple_grid_field70}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="sales_agent_id" data-fieldname="sales_agent_id" 

	
	
	>
	<span class="text-label">
		<span>{$label sales_detail sales_agent_id }</span>
			</span>
	</span>
{END sales_agent_id_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field33}
									{BEGIN cellblock_grid_headcell_field34}
	<th
	
	{$cell_grid_headcell_field34}
	{$recordattrs}
	class="
		 r-ori-vert		 {$campaign_id_class}	"

			data-field="campaign_id"
	
	data-cellId="grid_headcell_field34" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN campaign_id_fieldheadercolumn}
<span 
	data-itemtype="grid_field_label" data-itemid="simple_grid_field71" {$item_simple_grid_field71}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="campaign_id" data-fieldname="campaign_id" 

	
	
	>
	<span class="text-label">
		<span>{$label sales_detail campaign_id }</span>
			</span>
	</span>
{END campaign_id_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field34}
									{BEGIN cellblock_grid_headcell_field35}
	<th
	
	{$cell_grid_headcell_field35}
	{$recordattrs}
	class="
		 r-ori-vert		 {$created_at_class}	"

			data-field="created_at"
	
	data-cellId="grid_headcell_field35" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN created_at_fieldheadercolumn}
<span 
	data-itemtype="grid_field_label" data-itemid="simple_grid_field72" {$item_simple_grid_field72}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="created_at" data-fieldname="created_at" 

	
	
	>
	<span class="text-label">
		<span>{$label sales_detail created_at }</span>
			</span>
	</span>
{END created_at_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field35}
									{BEGIN cellblock_grid_headcell_field36}
	<th
	
	{$cell_grid_headcell_field36}
	{$recordattrs}
	class="
		 r-ori-vert		 {$updated_at_class}	"

			data-field="updated_at"
	
	data-cellId="grid_headcell_field36" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN updated_at_fieldheadercolumn}
<span 
	data-itemtype="grid_field_label" data-itemid="simple_grid_field73" {$item_simple_grid_field73}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="updated_at" data-fieldname="updated_at" 

	
	
	>
	<span class="text-label">
		<span>{$label sales_detail updated_at }</span>
			</span>
	</span>
{END updated_at_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field36}
							</tr>
															
					{END grid_header}
			</thead>
															{BEGIN grid_row}
					<tbody>
							
																														<tr {$rowattrs} {$row_grid_1} class="{$rowclass}
				
								r-gridrow
							">
									{BEGIN cellblock_grid_cell_field}
	<td
	
	{$cell_grid_cell_field}
	{$recordattrs}
	class="
		 r-ori-vert		 {$id_class}	"

			data-field="id"
	
	data-cellId="grid_cell_field" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN id_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field" {$item_simple_grid_field}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="id" data-fieldname="id" data-default-width="" >
{$id_value}
</span>
{END id_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field}
									{BEGIN cellblock_grid_cell_field1}
	<td
	
	{$cell_grid_cell_field1}
	{$recordattrs}
	class="
		 r-ori-vert		 {$sales_detail_uuid_class}	"

			data-field="sales_detail_uuid"
	
	data-cellId="grid_cell_field1" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN sales_detail_uuid_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field1" {$item_simple_grid_field1}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="sales_detail_uuid" data-fieldname="sales_detail_uuid" data-default-width="" >
{$sales_detail_uuid_value}
</span>
{END sales_detail_uuid_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field1}
									{BEGIN cellblock_grid_cell_field2}
	<td
	
	{$cell_grid_cell_field2}
	{$recordattrs}
	class="
		 r-ori-vert		 {$sales_id_class}	"

			data-field="sales_id"
	
	data-cellId="grid_cell_field2" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN sales_id_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field2" {$item_simple_grid_field2}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="sales_id" data-fieldname="sales_id" data-default-width="" >
{$sales_id_value}
</span>
{END sales_id_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field2}
									{BEGIN cellblock_grid_cell_field3}
	<td
	
	{$cell_grid_cell_field3}
	{$recordattrs}
	class="
		 r-ori-vert		 {$line_no_class}	"

			data-field="line_no"
	
	data-cellId="grid_cell_field3" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN line_no_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field3" {$item_simple_grid_field3}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="line_no" data-fieldname="line_no" data-default-width="" >
{$line_no_value}
</span>
{END line_no_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field3}
									{BEGIN cellblock_grid_cell_field4}
	<td
	
	{$cell_grid_cell_field4}
	{$recordattrs}
	class="
		 r-ori-vert		 {$item_id_class}	"

			data-field="item_id"
	
	data-cellId="grid_cell_field4" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN item_id_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field4" {$item_simple_grid_field4}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="item_id" data-fieldname="item_id" data-default-width="" >
{$item_id_value}
</span>
{END item_id_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field4}
									{BEGIN cellblock_grid_cell_field5}
	<td
	
	{$cell_grid_cell_field5}
	{$recordattrs}
	class="
		 r-ori-vert		 {$item_code_snapshot_class}	"

			data-field="item_code_snapshot"
	
	data-cellId="grid_cell_field5" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN item_code_snapshot_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field5" {$item_simple_grid_field5}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="item_code_snapshot" data-fieldname="item_code_snapshot" data-default-width="" >
{$item_code_snapshot_value}
</span>
{END item_code_snapshot_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field5}
									{BEGIN cellblock_grid_cell_field6}
	<td
	
	{$cell_grid_cell_field6}
	{$recordattrs}
	class="
		 r-ori-vert		 {$description_class}	"

			data-field="description"
	
	data-cellId="grid_cell_field6" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN description_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field6" {$item_simple_grid_field6}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="description" data-fieldname="description" data-default-width="" >
{$description_value}
</span>
{END description_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field6}
									{BEGIN cellblock_grid_cell_field7}
	<td
	
	{$cell_grid_cell_field7}
	{$recordattrs}
	class="
		 r-ori-vert		 {$uom_code_class}	"

			data-field="uom_code"
	
	data-cellId="grid_cell_field7" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN uom_code_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field7" {$item_simple_grid_field7}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="uom_code" data-fieldname="uom_code" data-default-width="" >
{$uom_code_value}
</span>
{END uom_code_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field7}
									{BEGIN cellblock_grid_cell_field8}
	<td
	
	{$cell_grid_cell_field8}
	{$recordattrs}
	class="
		 r-ori-vert		 {$quantity_class}	"

			data-field="quantity"
	
	data-cellId="grid_cell_field8" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN quantity_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field8" {$item_simple_grid_field8}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="quantity" data-fieldname="quantity" data-default-width="" >
{$quantity_value}
</span>
{END quantity_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field8}
									{BEGIN cellblock_grid_cell_field9}
	<td
	
	{$cell_grid_cell_field9}
	{$recordattrs}
	class="
		 r-ori-vert		 {$unit_price_class}	"

			data-field="unit_price"
	
	data-cellId="grid_cell_field9" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN unit_price_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field9" {$item_simple_grid_field9}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="unit_price" data-fieldname="unit_price" data-default-width="" >
{$unit_price_value}
</span>
{END unit_price_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field9}
									{BEGIN cellblock_grid_cell_field10}
	<td
	
	{$cell_grid_cell_field10}
	{$recordattrs}
	class="
		 r-ori-vert		 {$gross_amount_class}	"

			data-field="gross_amount"
	
	data-cellId="grid_cell_field10" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN gross_amount_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field10" {$item_simple_grid_field10}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="gross_amount" data-fieldname="gross_amount" data-default-width="" >
{$gross_amount_value}
</span>
{END gross_amount_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field10}
									{BEGIN cellblock_grid_cell_field11}
	<td
	
	{$cell_grid_cell_field11}
	{$recordattrs}
	class="
		 r-ori-vert		 {$commercial_discount_rate_class}	"

			data-field="commercial_discount_rate"
	
	data-cellId="grid_cell_field11" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN commercial_discount_rate_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field11" {$item_simple_grid_field11}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="commercial_discount_rate" data-fieldname="commercial_discount_rate" data-default-width="" >
{$commercial_discount_rate_value}
</span>
{END commercial_discount_rate_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field11}
									{BEGIN cellblock_grid_cell_field12}
	<td
	
	{$cell_grid_cell_field12}
	{$recordattrs}
	class="
		 r-ori-vert		 {$commercial_discount_amount_class}	"

			data-field="commercial_discount_amount"
	
	data-cellId="grid_cell_field12" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN commercial_discount_amount_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field12" {$item_simple_grid_field12}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="commercial_discount_amount" data-fieldname="commercial_discount_amount" data-default-width="" >
{$commercial_discount_amount_value}
</span>
{END commercial_discount_amount_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field12}
									{BEGIN cellblock_grid_cell_field13}
	<td
	
	{$cell_grid_cell_field13}
	{$recordattrs}
	class="
		 r-ori-vert		 {$discount_type_id_class}	"

			data-field="discount_type_id"
	
	data-cellId="grid_cell_field13" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN discount_type_id_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field13" {$item_simple_grid_field13}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="discount_type_id" data-fieldname="discount_type_id" data-default-width="" >
{$discount_type_id_value}
</span>
{END discount_type_id_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field13}
									{BEGIN cellblock_grid_cell_field14}
	<td
	
	{$cell_grid_cell_field14}
	{$recordattrs}
	class="
		 r-ori-vert		 {$statutory_discount_rate_class}	"

			data-field="statutory_discount_rate"
	
	data-cellId="grid_cell_field14" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN statutory_discount_rate_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field14" {$item_simple_grid_field14}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="statutory_discount_rate" data-fieldname="statutory_discount_rate" data-default-width="" >
{$statutory_discount_rate_value}
</span>
{END statutory_discount_rate_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field14}
									{BEGIN cellblock_grid_cell_field15}
	<td
	
	{$cell_grid_cell_field15}
	{$recordattrs}
	class="
		 r-ori-vert		 {$statutory_discount_amount_class}	"

			data-field="statutory_discount_amount"
	
	data-cellId="grid_cell_field15" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN statutory_discount_amount_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field15" {$item_simple_grid_field15}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="statutory_discount_amount" data-fieldname="statutory_discount_amount" data-default-width="" >
{$statutory_discount_amount_value}
</span>
{END statutory_discount_amount_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field15}
									{BEGIN cellblock_grid_cell_field16}
	<td
	
	{$cell_grid_cell_field16}
	{$recordattrs}
	class="
		 r-ori-vert		 {$net_before_tax_amount_class}	"

			data-field="net_before_tax_amount"
	
	data-cellId="grid_cell_field16" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN net_before_tax_amount_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field16" {$item_simple_grid_field16}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="net_before_tax_amount" data-fieldname="net_before_tax_amount" data-default-width="" >
{$net_before_tax_amount_value}
</span>
{END net_before_tax_amount_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field16}
									{BEGIN cellblock_grid_cell_field17}
	<td
	
	{$cell_grid_cell_field17}
	{$recordattrs}
	class="
		 r-ori-vert		 {$vat_tax_code_id_class}	"

			data-field="vat_tax_code_id"
	
	data-cellId="grid_cell_field17" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN vat_tax_code_id_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field17" {$item_simple_grid_field17}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="vat_tax_code_id" data-fieldname="vat_tax_code_id" data-default-width="" >
{$vat_tax_code_id_value}
</span>
{END vat_tax_code_id_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field17}
									{BEGIN cellblock_grid_cell_field18}
	<td
	
	{$cell_grid_cell_field18}
	{$recordattrs}
	class="
		 r-ori-vert		 {$vat_rate_snapshot_class}	"

			data-field="vat_rate_snapshot"
	
	data-cellId="grid_cell_field18" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN vat_rate_snapshot_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field18" {$item_simple_grid_field18}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="vat_rate_snapshot" data-fieldname="vat_rate_snapshot" data-default-width="" >
{$vat_rate_snapshot_value}
</span>
{END vat_rate_snapshot_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field18}
									{BEGIN cellblock_grid_cell_field19}
	<td
	
	{$cell_grid_cell_field19}
	{$recordattrs}
	class="
		 r-ori-vert		 {$vatable_amount_class}	"

			data-field="vatable_amount"
	
	data-cellId="grid_cell_field19" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN vatable_amount_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field19" {$item_simple_grid_field19}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="vatable_amount" data-fieldname="vatable_amount" data-default-width="" >
{$vatable_amount_value}
</span>
{END vatable_amount_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field19}
									{BEGIN cellblock_grid_cell_field20}
	<td
	
	{$cell_grid_cell_field20}
	{$recordattrs}
	class="
		 r-ori-vert		 {$vat_exempt_amount_class}	"

			data-field="vat_exempt_amount"
	
	data-cellId="grid_cell_field20" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN vat_exempt_amount_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field20" {$item_simple_grid_field20}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="vat_exempt_amount" data-fieldname="vat_exempt_amount" data-default-width="" >
{$vat_exempt_amount_value}
</span>
{END vat_exempt_amount_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field20}
									{BEGIN cellblock_grid_cell_field21}
	<td
	
	{$cell_grid_cell_field21}
	{$recordattrs}
	class="
		 r-ori-vert		 {$zero_rated_amount_class}	"

			data-field="zero_rated_amount"
	
	data-cellId="grid_cell_field21" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN zero_rated_amount_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field21" {$item_simple_grid_field21}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="zero_rated_amount" data-fieldname="zero_rated_amount" data-default-width="" >
{$zero_rated_amount_value}
</span>
{END zero_rated_amount_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field21}
									{BEGIN cellblock_grid_cell_field22}
	<td
	
	{$cell_grid_cell_field22}
	{$recordattrs}
	class="
		 r-ori-vert		 {$vat_amount_class}	"

			data-field="vat_amount"
	
	data-cellId="grid_cell_field22" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN vat_amount_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field22" {$item_simple_grid_field22}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="vat_amount" data-fieldname="vat_amount" data-default-width="" >
{$vat_amount_value}
</span>
{END vat_amount_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field22}
									{BEGIN cellblock_grid_cell_field23}
	<td
	
	{$cell_grid_cell_field23}
	{$recordattrs}
	class="
		 r-ori-vert		 {$withholding_tax_code_id_class}	"

			data-field="withholding_tax_code_id"
	
	data-cellId="grid_cell_field23" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN withholding_tax_code_id_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field23" {$item_simple_grid_field23}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="withholding_tax_code_id" data-fieldname="withholding_tax_code_id" data-default-width="" >
{$withholding_tax_code_id_value}
</span>
{END withholding_tax_code_id_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field23}
									{BEGIN cellblock_grid_cell_field24}
	<td
	
	{$cell_grid_cell_field24}
	{$recordattrs}
	class="
		 r-ori-vert		 {$withholding_rate_snapshot_class}	"

			data-field="withholding_rate_snapshot"
	
	data-cellId="grid_cell_field24" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN withholding_rate_snapshot_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field24" {$item_simple_grid_field24}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="withholding_rate_snapshot" data-fieldname="withholding_rate_snapshot" data-default-width="" >
{$withholding_rate_snapshot_value}
</span>
{END withholding_rate_snapshot_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field24}
									{BEGIN cellblock_grid_cell_field25}
	<td
	
	{$cell_grid_cell_field25}
	{$recordattrs}
	class="
		 r-ori-vert		 {$withholding_amount_class}	"

			data-field="withholding_amount"
	
	data-cellId="grid_cell_field25" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN withholding_amount_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field25" {$item_simple_grid_field25}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="withholding_amount" data-fieldname="withholding_amount" data-default-width="" >
{$withholding_amount_value}
</span>
{END withholding_amount_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field25}
									{BEGIN cellblock_grid_cell_field26}
	<td
	
	{$cell_grid_cell_field26}
	{$recordattrs}
	class="
		 r-ori-vert		 {$line_total_amount_class}	"

			data-field="line_total_amount"
	
	data-cellId="grid_cell_field26" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN line_total_amount_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field26" {$item_simple_grid_field26}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="line_total_amount" data-fieldname="line_total_amount" data-default-width="" >
{$line_total_amount_value}
</span>
{END line_total_amount_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field26}
									{BEGIN cellblock_grid_cell_field27}
	<td
	
	{$cell_grid_cell_field27}
	{$recordattrs}
	class="
		 r-ori-vert		 {$base_line_total_amount_class}	"

			data-field="base_line_total_amount"
	
	data-cellId="grid_cell_field27" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN base_line_total_amount_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field27" {$item_simple_grid_field27}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="base_line_total_amount" data-fieldname="base_line_total_amount" data-default-width="" >
{$base_line_total_amount_value}
</span>
{END base_line_total_amount_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field27}
									{BEGIN cellblock_grid_cell_field28}
	<td
	
	{$cell_grid_cell_field28}
	{$recordattrs}
	class="
		 r-ori-vert		 {$warehouse_id_class}	"

			data-field="warehouse_id"
	
	data-cellId="grid_cell_field28" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN warehouse_id_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field28" {$item_simple_grid_field28}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="warehouse_id" data-fieldname="warehouse_id" data-default-width="" >
{$warehouse_id_value}
</span>
{END warehouse_id_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field28}
									{BEGIN cellblock_grid_cell_field29}
	<td
	
	{$cell_grid_cell_field29}
	{$recordattrs}
	class="
		 r-ori-vert		 {$department_id_class}	"

			data-field="department_id"
	
	data-cellId="grid_cell_field29" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN department_id_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field29" {$item_simple_grid_field29}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="department_id" data-fieldname="department_id" data-default-width="" >
{$department_id_value}
</span>
{END department_id_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field29}
									{BEGIN cellblock_grid_cell_field30}
	<td
	
	{$cell_grid_cell_field30}
	{$recordattrs}
	class="
		 r-ori-vert		 {$cost_center_id_class}	"

			data-field="cost_center_id"
	
	data-cellId="grid_cell_field30" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN cost_center_id_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field30" {$item_simple_grid_field30}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="cost_center_id" data-fieldname="cost_center_id" data-default-width="" >
{$cost_center_id_value}
</span>
{END cost_center_id_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field30}
									{BEGIN cellblock_grid_cell_field31}
	<td
	
	{$cell_grid_cell_field31}
	{$recordattrs}
	class="
		 r-ori-vert		 {$project_id_class}	"

			data-field="project_id"
	
	data-cellId="grid_cell_field31" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN project_id_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field31" {$item_simple_grid_field31}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="project_id" data-fieldname="project_id" data-default-width="" >
{$project_id_value}
</span>
{END project_id_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field31}
									{BEGIN cellblock_grid_cell_field32}
	<td
	
	{$cell_grid_cell_field32}
	{$recordattrs}
	class="
		 r-ori-vert		 {$project_task_id_class}	"

			data-field="project_task_id"
	
	data-cellId="grid_cell_field32" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN project_task_id_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field32" {$item_simple_grid_field32}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="project_task_id" data-fieldname="project_task_id" data-default-width="" >
{$project_task_id_value}
</span>
{END project_task_id_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field32}
									{BEGIN cellblock_grid_cell_field33}
	<td
	
	{$cell_grid_cell_field33}
	{$recordattrs}
	class="
		 r-ori-vert		 {$sales_agent_id_class}	"

			data-field="sales_agent_id"
	
	data-cellId="grid_cell_field33" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN sales_agent_id_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field33" {$item_simple_grid_field33}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="sales_agent_id" data-fieldname="sales_agent_id" data-default-width="" >
{$sales_agent_id_value}
</span>
{END sales_agent_id_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field33}
									{BEGIN cellblock_grid_cell_field34}
	<td
	
	{$cell_grid_cell_field34}
	{$recordattrs}
	class="
		 r-ori-vert		 {$campaign_id_class}	"

			data-field="campaign_id"
	
	data-cellId="grid_cell_field34" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN campaign_id_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field34" {$item_simple_grid_field34}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="campaign_id" data-fieldname="campaign_id" data-default-width="" >
{$campaign_id_value}
</span>
{END campaign_id_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field34}
									{BEGIN cellblock_grid_cell_field35}
	<td
	
	{$cell_grid_cell_field35}
	{$recordattrs}
	class="
		 r-ori-vert		 {$created_at_class}	"

			data-field="created_at"
	
	data-cellId="grid_cell_field35" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN created_at_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field35" {$item_simple_grid_field35}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="created_at" data-fieldname="created_at" data-default-width="" >
{$created_at_value}
</span>
{END created_at_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field35}
									{BEGIN cellblock_grid_cell_field36}
	<td
	
	{$cell_grid_cell_field36}
	{$recordattrs}
	class="
		 r-ori-vert		 {$updated_at_class}	"

			data-field="updated_at"
	
	data-cellId="grid_cell_field36" data-pageid="{$pageid}" data-record-id="{$recId}"	
	>

	 
		{BEGIN updated_at_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field36" {$item_simple_grid_field36}="" data-pageid="{$pageid}" data-record-id="{$recId}" data-field="updated_at" data-fieldname="updated_at" data-default-width="" >
{$updated_at_value}
</span>
{END updated_at_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field36}
							</tr>
										
											</tbody>
					{END grid_row}
													<tfoot>
			
																																			<tr {$rowattrs} {$row_grid_2} class="{$rowclass}
									{$gridFooter_class}
					
								r-gridrow
							">
									{BEGIN cellblock_grid_footcell_field}
	<td
	
	{$cell_grid_footcell_field}
	{$recordattrs}
	class="
		 r-ori-vert		 {$id_class}	"

	
	data-cellId="grid_footcell_field" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="sales_detail_print"	
	>

	
	</td>
	{END cellblock_grid_footcell_field}
									{BEGIN cellblock_grid_footcell_field1}
	<td
	
	{$cell_grid_footcell_field1}
	{$recordattrs}
	class="
		 r-ori-vert		 {$sales_detail_uuid_class}	"

	
	data-cellId="grid_footcell_field1" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="sales_detail_print"	
	>

	
	</td>
	{END cellblock_grid_footcell_field1}
									{BEGIN cellblock_grid_footcell_field2}
	<td
	
	{$cell_grid_footcell_field2}
	{$recordattrs}
	class="
		 r-ori-vert		 {$sales_id_class}	"

	
	data-cellId="grid_footcell_field2" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="sales_detail_print"	
	>

	
	</td>
	{END cellblock_grid_footcell_field2}
									{BEGIN cellblock_grid_footcell_field3}
	<td
	
	{$cell_grid_footcell_field3}
	{$recordattrs}
	class="
		 r-ori-vert		 {$line_no_class}	"

	
	data-cellId="grid_footcell_field3" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="sales_detail_print"	
	>

	
	</td>
	{END cellblock_grid_footcell_field3}
									{BEGIN cellblock_grid_footcell_field4}
	<td
	
	{$cell_grid_footcell_field4}
	{$recordattrs}
	class="
		 r-ori-vert		 {$item_id_class}	"

	
	data-cellId="grid_footcell_field4" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="sales_detail_print"	
	>

	
	</td>
	{END cellblock_grid_footcell_field4}
									{BEGIN cellblock_grid_footcell_field5}
	<td
	
	{$cell_grid_footcell_field5}
	{$recordattrs}
	class="
		 r-ori-vert		 {$item_code_snapshot_class}	"

	
	data-cellId="grid_footcell_field5" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="sales_detail_print"	
	>

	
	</td>
	{END cellblock_grid_footcell_field5}
									{BEGIN cellblock_grid_footcell_field6}
	<td
	
	{$cell_grid_footcell_field6}
	{$recordattrs}
	class="
		 r-ori-vert		 {$description_class}	"

	
	data-cellId="grid_footcell_field6" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="sales_detail_print"	
	>

	
	</td>
	{END cellblock_grid_footcell_field6}
									{BEGIN cellblock_grid_footcell_field7}
	<td
	
	{$cell_grid_footcell_field7}
	{$recordattrs}
	class="
		 r-ori-vert		 {$uom_code_class}	"

	
	data-cellId="grid_footcell_field7" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="sales_detail_print"	
	>

	
	</td>
	{END cellblock_grid_footcell_field7}
									{BEGIN cellblock_grid_footcell_field8}
	<td
	
	{$cell_grid_footcell_field8}
	{$recordattrs}
	class="
		 r-ori-vert		 {$quantity_class}	"

	
	data-cellId="grid_footcell_field8" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="sales_detail_print"	
	>

	
	</td>
	{END cellblock_grid_footcell_field8}
									{BEGIN cellblock_grid_footcell_field9}
	<td
	
	{$cell_grid_footcell_field9}
	{$recordattrs}
	class="
		 r-ori-vert		 {$unit_price_class}	"

	
	data-cellId="grid_footcell_field9" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="sales_detail_print"	
	>

	
	</td>
	{END cellblock_grid_footcell_field9}
									{BEGIN cellblock_grid_footcell_field10}
	<td
	
	{$cell_grid_footcell_field10}
	{$recordattrs}
	class="
		 r-ori-vert		 {$gross_amount_class}	"

	
	data-cellId="grid_footcell_field10" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="sales_detail_print"	
	>

	
	</td>
	{END cellblock_grid_footcell_field10}
									{BEGIN cellblock_grid_footcell_field11}
	<td
	
	{$cell_grid_footcell_field11}
	{$recordattrs}
	class="
		 r-ori-vert		 {$commercial_discount_rate_class}	"

	
	data-cellId="grid_footcell_field11" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="sales_detail_print"	
	>

	
	</td>
	{END cellblock_grid_footcell_field11}
									{BEGIN cellblock_grid_footcell_field12}
	<td
	
	{$cell_grid_footcell_field12}
	{$recordattrs}
	class="
		 r-ori-vert		 {$commercial_discount_amount_class}	"

	
	data-cellId="grid_footcell_field12" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="sales_detail_print"	
	>

	
	</td>
	{END cellblock_grid_footcell_field12}
									{BEGIN cellblock_grid_footcell_field13}
	<td
	
	{$cell_grid_footcell_field13}
	{$recordattrs}
	class="
		 r-ori-vert		 {$discount_type_id_class}	"

	
	data-cellId="grid_footcell_field13" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="sales_detail_print"	
	>

	
	</td>
	{END cellblock_grid_footcell_field13}
									{BEGIN cellblock_grid_footcell_field14}
	<td
	
	{$cell_grid_footcell_field14}
	{$recordattrs}
	class="
		 r-ori-vert		 {$statutory_discount_rate_class}	"

	
	data-cellId="grid_footcell_field14" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="sales_detail_print"	
	>

	
	</td>
	{END cellblock_grid_footcell_field14}
									{BEGIN cellblock_grid_footcell_field15}
	<td
	
	{$cell_grid_footcell_field15}
	{$recordattrs}
	class="
		 r-ori-vert		 {$statutory_discount_amount_class}	"

	
	data-cellId="grid_footcell_field15" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="sales_detail_print"	
	>

	
	</td>
	{END cellblock_grid_footcell_field15}
									{BEGIN cellblock_grid_footcell_field16}
	<td
	
	{$cell_grid_footcell_field16}
	{$recordattrs}
	class="
		 r-ori-vert		 {$net_before_tax_amount_class}	"

	
	data-cellId="grid_footcell_field16" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="sales_detail_print"	
	>

	
	</td>
	{END cellblock_grid_footcell_field16}
									{BEGIN cellblock_grid_footcell_field17}
	<td
	
	{$cell_grid_footcell_field17}
	{$recordattrs}
	class="
		 r-ori-vert		 {$vat_tax_code_id_class}	"

	
	data-cellId="grid_footcell_field17" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="sales_detail_print"	
	>

	
	</td>
	{END cellblock_grid_footcell_field17}
									{BEGIN cellblock_grid_footcell_field18}
	<td
	
	{$cell_grid_footcell_field18}
	{$recordattrs}
	class="
		 r-ori-vert		 {$vat_rate_snapshot_class}	"

	
	data-cellId="grid_footcell_field18" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="sales_detail_print"	
	>

	
	</td>
	{END cellblock_grid_footcell_field18}
									{BEGIN cellblock_grid_footcell_field19}
	<td
	
	{$cell_grid_footcell_field19}
	{$recordattrs}
	class="
		 r-ori-vert		 {$vatable_amount_class}	"

	
	data-cellId="grid_footcell_field19" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="sales_detail_print"	
	>

	
	</td>
	{END cellblock_grid_footcell_field19}
									{BEGIN cellblock_grid_footcell_field20}
	<td
	
	{$cell_grid_footcell_field20}
	{$recordattrs}
	class="
		 r-ori-vert		 {$vat_exempt_amount_class}	"

	
	data-cellId="grid_footcell_field20" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="sales_detail_print"	
	>

	
	</td>
	{END cellblock_grid_footcell_field20}
									{BEGIN cellblock_grid_footcell_field21}
	<td
	
	{$cell_grid_footcell_field21}
	{$recordattrs}
	class="
		 r-ori-vert		 {$zero_rated_amount_class}	"

	
	data-cellId="grid_footcell_field21" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="sales_detail_print"	
	>

	
	</td>
	{END cellblock_grid_footcell_field21}
									{BEGIN cellblock_grid_footcell_field22}
	<td
	
	{$cell_grid_footcell_field22}
	{$recordattrs}
	class="
		 r-ori-vert		 {$vat_amount_class}	"

	
	data-cellId="grid_footcell_field22" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="sales_detail_print"	
	>

	
	</td>
	{END cellblock_grid_footcell_field22}
									{BEGIN cellblock_grid_footcell_field23}
	<td
	
	{$cell_grid_footcell_field23}
	{$recordattrs}
	class="
		 r-ori-vert		 {$withholding_tax_code_id_class}	"

	
	data-cellId="grid_footcell_field23" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="sales_detail_print"	
	>

	
	</td>
	{END cellblock_grid_footcell_field23}
									{BEGIN cellblock_grid_footcell_field24}
	<td
	
	{$cell_grid_footcell_field24}
	{$recordattrs}
	class="
		 r-ori-vert		 {$withholding_rate_snapshot_class}	"

	
	data-cellId="grid_footcell_field24" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="sales_detail_print"	
	>

	
	</td>
	{END cellblock_grid_footcell_field24}
									{BEGIN cellblock_grid_footcell_field25}
	<td
	
	{$cell_grid_footcell_field25}
	{$recordattrs}
	class="
		 r-ori-vert		 {$withholding_amount_class}	"

	
	data-cellId="grid_footcell_field25" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="sales_detail_print"	
	>

	
	</td>
	{END cellblock_grid_footcell_field25}
									{BEGIN cellblock_grid_footcell_field26}
	<td
	
	{$cell_grid_footcell_field26}
	{$recordattrs}
	class="
		 r-ori-vert		 {$line_total_amount_class}	"

	
	data-cellId="grid_footcell_field26" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="sales_detail_print"	
	>

	
	</td>
	{END cellblock_grid_footcell_field26}
									{BEGIN cellblock_grid_footcell_field27}
	<td
	
	{$cell_grid_footcell_field27}
	{$recordattrs}
	class="
		 r-ori-vert		 {$base_line_total_amount_class}	"

	
	data-cellId="grid_footcell_field27" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="sales_detail_print"	
	>

	
	</td>
	{END cellblock_grid_footcell_field27}
									{BEGIN cellblock_grid_footcell_field28}
	<td
	
	{$cell_grid_footcell_field28}
	{$recordattrs}
	class="
		 r-ori-vert		 {$warehouse_id_class}	"

	
	data-cellId="grid_footcell_field28" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="sales_detail_print"	
	>

	
	</td>
	{END cellblock_grid_footcell_field28}
									{BEGIN cellblock_grid_footcell_field29}
	<td
	
	{$cell_grid_footcell_field29}
	{$recordattrs}
	class="
		 r-ori-vert		 {$department_id_class}	"

	
	data-cellId="grid_footcell_field29" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="sales_detail_print"	
	>

	
	</td>
	{END cellblock_grid_footcell_field29}
									{BEGIN cellblock_grid_footcell_field30}
	<td
	
	{$cell_grid_footcell_field30}
	{$recordattrs}
	class="
		 r-ori-vert		 {$cost_center_id_class}	"

	
	data-cellId="grid_footcell_field30" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="sales_detail_print"	
	>

	
	</td>
	{END cellblock_grid_footcell_field30}
									{BEGIN cellblock_grid_footcell_field31}
	<td
	
	{$cell_grid_footcell_field31}
	{$recordattrs}
	class="
		 r-ori-vert		 {$project_id_class}	"

	
	data-cellId="grid_footcell_field31" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="sales_detail_print"	
	>

	
	</td>
	{END cellblock_grid_footcell_field31}
									{BEGIN cellblock_grid_footcell_field32}
	<td
	
	{$cell_grid_footcell_field32}
	{$recordattrs}
	class="
		 r-ori-vert		 {$project_task_id_class}	"

	
	data-cellId="grid_footcell_field32" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="sales_detail_print"	
	>

	
	</td>
	{END cellblock_grid_footcell_field32}
									{BEGIN cellblock_grid_footcell_field33}
	<td
	
	{$cell_grid_footcell_field33}
	{$recordattrs}
	class="
		 r-ori-vert		 {$sales_agent_id_class}	"

	
	data-cellId="grid_footcell_field33" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="sales_detail_print"	
	>

	
	</td>
	{END cellblock_grid_footcell_field33}
									{BEGIN cellblock_grid_footcell_field34}
	<td
	
	{$cell_grid_footcell_field34}
	{$recordattrs}
	class="
		 r-ori-vert		 {$campaign_id_class}	"

	
	data-cellId="grid_footcell_field34" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="sales_detail_print"	
	>

	
	</td>
	{END cellblock_grid_footcell_field34}
									{BEGIN cellblock_grid_footcell_field35}
	<td
	
	{$cell_grid_footcell_field35}
	{$recordattrs}
	class="
		 r-ori-vert		 {$created_at_class}	"

	
	data-cellId="grid_footcell_field35" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="sales_detail_print"	
	>

	
	</td>
	{END cellblock_grid_footcell_field35}
									{BEGIN cellblock_grid_footcell_field36}
	<td
	
	{$cell_grid_footcell_field36}
	{$recordattrs}
	class="
		 r-ori-vert		 {$updated_at_class}	"

	
	data-cellId="grid_footcell_field36" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="sales_detail_print"	
	>

	
	</td>
	{END cellblock_grid_footcell_field36}
							</tr>
					
					</tfoot>
				</table>
{END grid_block}
									{BEGIN below-grid_block}
<div class="r-form" data-location="below-grid" id="form_below-grid_{$pageid}" data-makeup="small" {$form_below-grid} data-pageid="{$pageid}" data-page="sales_detail_print" >		
	 
				<div class="row">
			 
				<div 
	data-cellId="below-grid_c1" data-pageid="{$pageid}"	{$cell_below-grid_c1}
	class=" r-ori-vert			col-md-12
	
">
			</div>					</div>
			</div>		
{END below-grid_block}
			</div>
		{$footer}
	{END body}
	</body>
</html>
