<!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}">
		<link REL="stylesheet" href="styles/default.css?{$wizardBuildKey}" type="text/css">
	{BEGIN rtlCSS}
	<link REL="stylesheet" href="styles/defaultRTL.css?{$wizardBuildKey}" type="text/css">
	{END rtlCSS}
	{BEGIN styleCSSFiles}
	<link REL="stylesheet" href="{$stylepath}" type="text/css">
	{END styleCSSFiles}
	</head>

	<body class="{$stylename} function-list" {$bodyattrs}>
	{BEGIN body}
		<style>
		{$containerCss}
		</style>
		<div class="r-vbar-page">
			<div data-width="" data-fixed class="r-left clearfix {$leftbar_class}" >
								<div data-location="left" id="form_left_{$pageid}" data-makeup="leftbar" {$form_left} data-pageid="{$pageid}">
{BEGIN left_block}
 
     
         

			<div data-cellId="left_c0" data-pageid="{$pageid}" data-logo-cell class="clearfix r-align-center" data-itemid="logo1" {$item_logo1}>
				{BEGIN logo_block}
	<A data-itemtype="logo" data-itemid="logo1" {$item_logo1} data-pageid="{$pageid}" class="navbar-brand" href="{$home_link}" data-pageid="{$pageid}" {$logo_hiddenattr}>
		{$logo}
	</A>
{END logo_block}
				<button data-pageid="1" type="button" class="navbar-toggle collapsed" data-runner-toggle="collapse" data-target="[data-mobile-controlled]">	
					<span class="sr-only">Toggle navigation</span>	
					<span class="icon-bar"></span>					
				</button>				
			</div>
		
 

			<div class="clearfix r-align-center" data-cellId="left_c0" data-pageid="{$pageid}" data-logo-cell data-itemid="expand_button" {$item_expand_button} data-topcell-item-type="expand_button" >
				<span data-itemtype="expand_button" data-itemid="expand_button" {$item_expand_button} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="Expand" class="btn btn-link   
	" href="#" >
					<span class="glyphicon glyphicon-triangle-right"></span>
										</a>
</span>
			</div>
		
     
     
         

			<div data-cellId="left_c1" data-pageid="{$pageid}" class="clearfix  r-ori-vert " data-itemtype="menu" data-itemid="menu" {$item_menu} data-pageid="{$pageid}">
				{$menu main}			</div>
		
     
     
         

			<div class="clearfix r-align-center r-ori-vert" data-cellId="left_c" data-pageid="{$pageid}" data-page="stock_balance_list" data-itemid="hide_search_panel" {$item_hide_search_panel} data-topcell-item-type="hide_search_panel" >
				{BEGIN searchPanelTopButtons}
<span data-itemtype="hide_search_panel" data-itemid="hide_search_panel" {$item_hide_search_panel} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="" class="btn btn-default   
	" id="hideOptPanel{$id}" >
							Hide search panel			</a>
</span>
{END searchPanelTopButtons}
			</div>
		
 

			<div class="clearfix r-align-center r-ori-vert" data-cellId="left_c" data-pageid="{$pageid}" data-page="stock_balance_list" data-itemid="show_search_panel" {$item_show_search_panel} data-topcell-item-type="show_search_panel" >
				{BEGIN searchPanelTopButtons}
<span data-itemtype="show_search_panel" data-itemid="show_search_panel" {$item_show_search_panel} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="" class="btn btn-default   
	" id="showOptPanel{$id}" >
							Show search panel			</a>
</span>
{END searchPanelTopButtons}
			</div>
		
     
     
         

			<div class="clearfix  r-ori-vert" data-cellId="left_c2" data-pageid="{$pageid}" data-itemid="search_panel" {$item_search_panel} data-topcell-item-type="search_panel" >
				<!-- Begin Search panel content -->
<div class="searchOptions panel panel-primary searchPanelContainer " {$srchOpt_attrs} data-itemtype="search_panel" data-itemid="search_panel" {$item_search_panel} data-pageid="{$pageid}" >

	<div class="panel-heading">
		<div class="btn-group" id="addSearchFieldButton{$id}">
			<button id="showHideControlChooseMenu{$id}" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
			Search in			<span class="caret"></span>
			</button>
		</div>


		<div class="btn-group searchpanel-options" id="searchPanelOptions{$id}">
			<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
				<span class="glyphicon glyphicon glyphicon-option-vertical"></span>
			</button>
			<ul class="dropdown-menu dropdown-left">
				<li id="showHideSearchType{$id}" {$showHideCtrlsOpt_attrs}><a>Show options</a></li>
				<li role="separator" class="divider"></li>
				<li class="srchCritTop" style="display: none;"><a><input type="radio" name="srchType{$id}" id="radioAll" {$all_checkbox}><label for="radioAll"><span class="glyphicon">&nbsp;</span>all conditions</label></a></li>
				<li class="srchCritTop" style="display: none;"><a><input type="radio" name="srchType{$id}" id="radioAny" {$any_checkbox}><label for="radioAny"><span class="glyphicon">&nbsp;</span>any condition</label></a></li>
				<li role="separator" class="divider"></li>
				<li><a class="close-button"><span class="glyphicon glyphicon-remove">&nbsp;</span>hide</a></li>
			</ul>
		</div>


		</div>
	<div class="panel-body controlsBlock" {$bottomSearchButt_attrs} >


		
		{BEGIN searchCtrlBlock}
		<div class="srchPanelRow form-group" {$filterRow_attrs}>
			<label>{$fLabel}</label>	{$delCtrlButt}
				<span class="rnr-searchtype">{$searchtype}</span>
				<span class="rnr-searchcontrol">{$searchcontrol}</span>
				<span class="rnr-searchcontrol">{$searchcontrol1}</span>
		</div>
		{END searchCtrlBlock}
																		{BEGIN searchCtrlBlock_bar_code}


		<div class="form-group srchPanelRow {$filterRow_class_bar_code}" {$filterRow_attrs_bar_code}>
			<label>{$label stock_balance bar_code }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_bar_code}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_bar_code}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_bar_code}</span>
						</div>
		{END searchCtrlBlock_bar_code}
																{BEGIN searchCtrlBlock_balance_all}


		<div class="form-group srchPanelRow {$filterRow_class_balance_all}" {$filterRow_attrs_balance_all}>
			<label>{$label stock_balance balance_all }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_balance_all}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_balance_all}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_balance_all}</span>
						</div>
		{END searchCtrlBlock_balance_all}
																{BEGIN searchCtrlBlock_out_all}


		<div class="form-group srchPanelRow {$filterRow_class_out_all}" {$filterRow_attrs_out_all}>
			<label>{$label stock_balance out_all }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_out_all}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_out_all}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_out_all}</span>
						</div>
		{END searchCtrlBlock_out_all}
																{BEGIN searchCtrlBlock_in_all}


		<div class="form-group srchPanelRow {$filterRow_class_in_all}" {$filterRow_attrs_in_all}>
			<label>{$label stock_balance in_all }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_in_all}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_in_all}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_in_all}</span>
						</div>
		{END searchCtrlBlock_in_all}
																{BEGIN searchCtrlBlock_balance_3}


		<div class="form-group srchPanelRow {$filterRow_class_balance_3}" {$filterRow_attrs_balance_3}>
			<label>{$label stock_balance balance_3 }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_balance_3}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_balance_3}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_balance_3}</span>
						</div>
		{END searchCtrlBlock_balance_3}
																{BEGIN searchCtrlBlock_out_3}


		<div class="form-group srchPanelRow {$filterRow_class_out_3}" {$filterRow_attrs_out_3}>
			<label>{$label stock_balance out_3 }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_out_3}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_out_3}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_out_3}</span>
						</div>
		{END searchCtrlBlock_out_3}
																{BEGIN searchCtrlBlock_in_3}


		<div class="form-group srchPanelRow {$filterRow_class_in_3}" {$filterRow_attrs_in_3}>
			<label>{$label stock_balance in_3 }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_in_3}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_in_3}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_in_3}</span>
						</div>
		{END searchCtrlBlock_in_3}
																{BEGIN searchCtrlBlock_balance_2}


		<div class="form-group srchPanelRow {$filterRow_class_balance_2}" {$filterRow_attrs_balance_2}>
			<label>{$label stock_balance balance_2 }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_balance_2}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_balance_2}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_balance_2}</span>
						</div>
		{END searchCtrlBlock_balance_2}
																{BEGIN searchCtrlBlock_out_2}


		<div class="form-group srchPanelRow {$filterRow_class_out_2}" {$filterRow_attrs_out_2}>
			<label>{$label stock_balance out_2 }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_out_2}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_out_2}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_out_2}</span>
						</div>
		{END searchCtrlBlock_out_2}
																{BEGIN searchCtrlBlock_in_2}


		<div class="form-group srchPanelRow {$filterRow_class_in_2}" {$filterRow_attrs_in_2}>
			<label>{$label stock_balance in_2 }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_in_2}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_in_2}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_in_2}</span>
						</div>
		{END searchCtrlBlock_in_2}
																{BEGIN searchCtrlBlock_balance_1}


		<div class="form-group srchPanelRow {$filterRow_class_balance_1}" {$filterRow_attrs_balance_1}>
			<label>{$label stock_balance balance_1 }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_balance_1}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_balance_1}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_balance_1}</span>
						</div>
		{END searchCtrlBlock_balance_1}
																{BEGIN searchCtrlBlock_out_1}


		<div class="form-group srchPanelRow {$filterRow_class_out_1}" {$filterRow_attrs_out_1}>
			<label>{$label stock_balance out_1 }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_out_1}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_out_1}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_out_1}</span>
						</div>
		{END searchCtrlBlock_out_1}
																{BEGIN searchCtrlBlock_in_1}


		<div class="form-group srchPanelRow {$filterRow_class_in_1}" {$filterRow_attrs_in_1}>
			<label>{$label stock_balance in_1 }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_in_1}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_in_1}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_in_1}</span>
						</div>
		{END searchCtrlBlock_in_1}
																{BEGIN searchCtrlBlock_id}


		<div class="form-group srchPanelRow {$filterRow_class_id}" {$filterRow_attrs_id}>
			<label>{$label stock_balance id }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_id}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_id}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_id}</span>
						</div>
		{END searchCtrlBlock_id}
																{BEGIN searchCtrlBlock_unit}


		<div class="form-group srchPanelRow {$filterRow_class_unit}" {$filterRow_attrs_unit}>
			<label>{$label stock_balance unit }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_unit}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_unit}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_unit}</span>
						</div>
		{END searchCtrlBlock_unit}
																{BEGIN searchCtrlBlock_product_name}


		<div class="form-group srchPanelRow {$filterRow_class_product_name}" {$filterRow_attrs_product_name}>
			<label>{$label stock_balance product_name }</label>

							{$delCtrlButt}
			
								<span class="rnr-searchtype">{$searchtype_product_name}</span>
								<span class="rnr-searchcontrol">{$searchcontrol_product_name}</span>
								<span class="rnr-searchcontrol">{$searchcontrol1_product_name}</span>
						</div>
		{END searchCtrlBlock_product_name}
		

	</div>

	<div class="panel-footer bottomSearchButt" {$bottomSearchButt_attrs}>
		<button class="btn btn-primary" id="searchButton{$id}" {$searchbutton_attrs}>Search</button>
		<button class="btn btn-default" {$showAllCont_attrs} {$showallbutton_attrs}>Show all</button>
	</div>
</div>
<!-- End Search panel content -->
			</div>
		
    {END left_block}
</div>				</div>	
			<div class="r-content-col" data-resize-left="leftbar">
				<div  class="r-topheader" data-resize-name="topbar">
									{BEGIN supertop_block}
<nav class="navbar navbar-default" 
	data-location="supertop" id="form_supertop_{$pageid}" data-makeup="leftbar" {$form_supertop} data-pageid="{$pageid}" >
			 
							 
				<span class="navbar-form  navbar-header" data-cellId="supertop_c1" data-pageid="{$pageid}" data-itemid="collapse_button" {$item_collapse_button} data-topcell-item-type="collapse_button" >
				<span data-itemtype="collapse_button" data-itemid="collapse_button" {$item_collapse_button} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="Collapse" class="btn-link   
	 glyphicon glyphicon-triangle-left" href="#" >		
				
								</a>
</span>
			</span>
		 
				<span class="navbar-form  navbar-collapse" data-cellId="supertop_c1" data-pageid="{$pageid}" data-itemid="details_found" {$item_details_found} data-topcell-item-type="details_found" >
				<span data-itemtype="details_found" data-itemid="details_found" {$item_details_found} data-pageid="{$pageid}" data-small >
{$details_found_labeldetails_found}
</span>			</span>
		 
				<span class="navbar-form  navbar-collapse" data-cellId="supertop_c1" data-pageid="{$pageid}" data-itemid="page_size" {$item_page_size} data-topcell-item-type="page_size" >
				<span data-itemtype="page_size" data-itemid="page_size" {$item_page_size} data-pageid="{$pageid}" >
		{$recsPerPage}
</span>			</span>
		 
				<span class="navbar-form  navbar-collapse" data-cellId="supertop_c1" data-pageid="{$pageid}" data-itemid="print_panel" {$item_print_panel} data-topcell-item-type="print_panel" >
				{BEGIN print_friendly}
<span id="printpanelblock{$id}"  data-pageid="{$pageid}" {$printpanel_hiddenattr} data-itemtype="print_panel" data-itemid="print_panel" {$item_print_panel} data-pageid="{$pageid}">
	<button title="Print-friendly page" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
					<span class="glyphicon glyphicon-print"></span>
				<span class="caret"></span>
	</button>
	<ul class="dropdown-menu pull-right">
										 
				 
					<li class="container-fluid 
										">
									<div id="print_friendly_scope{$id}">
	<div class="row">
		<div class="col-md-4">
			Scope:		</div>

		{BEGIN print_friendly_all}
		<div class="col-md-8">
			<label for="printAll{$id}">
				<input type="radio" id="printAll{$id}" data-href="stock_balance_print.php?all=1&amp;{$crosstable_attrs}" name="printScope">
									Print all pages							</label>
		</div>
		{END print_friendly_all}
	</div>
	<div class="row">
		<div class="col-md-4">&nbsp;</div>
		<div class="col-md-8">
			<label for="printPage{$id}">
				<input name="printScope" id="printPage{$id}" type="radio" checked data-href="stock_balance_print.php?{$crosstable_attrs}">
				Print this page			</label>
		</div>
	</div>
	
		<div class="row">
		<div class="col-md-4">
			&nbsp;
		</div>
		<div class="col-md-8">
			<label style="color: gray;" for="printSelection{$id}">
			<input name="printScope" disabled="disabled" id="printSelection{$id}" type="radio">
			Print selected			</label>
		</div>
	</div>
	</div>				 
					</li>
											<li class="divider" role="separator"></li>
																				 
				 
					<li class="container-fluid 
										">
									<div>
	<label for="printPerPage{$id}">
					Records Per Page							
	</label>
	<input type="number" id="printPerPage{$id}" value="{$print_recspp}" class="rnr-printrecspp">		
</div>
				 
					</li>
											<li class="divider" role="separator"></li>
																				 
				 
					<li class="container-fluid 
					 text-center 					">
									<span data-itemtype="print_button" data-itemid="print_button" {$item_print_button} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="" class="btn btn-primary   
	" id="print_friendly_button{$id}" >
							Print			</a>
</span>
				 
					</li>
															</ul>
</span>
{END print_friendly}
			</span>
							 
							 
				<span class="navbar-form r-align-right navbar-collapse" data-cellId="supertop_c2" data-pageid="{$pageid}" data-itemid="simple_search_field" {$item_simple_search_field} data-topcell-item-type="simple_search_field" >
				{$simpleSearchFieldCombo}			</span>
		 
				<span class="navbar-form r-align-right navbar-collapse" data-cellId="supertop_c2" data-pageid="{$pageid}" data-itemid="simple_search_option" {$item_simple_search_option} data-topcell-item-type="simple_search_option" >
				{$simpleSearchTypeCombo}			</span>
		 
				<span class="navbar-form r-align-right navbar-collapse" data-cellId="supertop_c2" data-pageid="{$pageid}" data-itemid="simple_search" {$item_simple_search} data-topcell-item-type="simple_search" >
				<span data-itemtype="simple_search" data-itemid="simple_search" {$item_simple_search} data-pageid="{$pageid}" class="form-group">

<div  class="input-group">
{BEGIN searchform_text}
	<input type="search" class="form-control" {$searchfor_attrs} size="25">
{END searchform_text}
	<span class="input-group-btn">
	{BEGIN searchform_showall}
		<button class="btn btn-default" {$showAllCont_attrs} {$showallbutton_attrs} title="Show all">
			<span class="glyphicon glyphicon-remove"></span>
		</button>
	{END searchform_showall}
	{BEGIN searchform_search}
	<button {$searchbutton_attrs} class="btn btn-primary" >
		<span class="glyphicon glyphicon-search"></span>
	</button>
	{END searchform_search}
	</span>
</div>
		
</span>			</span>
		 
				<span class="navbar-form r-align-right navbar-collapse" data-cellId="supertop_c2" data-pageid="{$pageid}" data-itemid="list_options" {$item_list_options} data-topcell-item-type="list_options" >
				<span data-itemtype="list_options" data-itemid="list_options" {$item_list_options} data-pageid="{$pageid}" data-small data-button-item>
</span>
			</span>
		 
				<span class="navbar-form r-align-right navbar-collapse" data-cellId="supertop_c2" data-pageid="{$pageid}" data-itemid="loginform_login" {$item_loginform_login} data-topcell-item-type="loginform_login" >
				{BEGIN guestloginbutton}
<span data-itemtype="loginform_login" data-itemid="loginform_login" {$item_loginform_login} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="" class="btn btn-primary   
	" href="#" {$guestloginlink_attrs} >
							Login			</a>
</span>
{END guestloginbutton}
			</span>
		 
				<span class="navbar-form r-align-right navbar-collapse" data-cellId="supertop_c2" data-pageid="{$pageid}" data-itemid="username_button" {$item_username_button} data-topcell-item-type="username_button" >
				{BEGIN loggedas_message}
<span data-itemtype="username_button" data-itemid="username_button" {$item_username_button} data-pageid="{$pageid}" data-small data-button-item>
	<span class="dropdown ">
		<button type="button" title="" class="btn btn-default   dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">		
							<span class="glyphicon glyphicon-user"></span>
						{$username}			<span class="caret"></span>
		</button>
		<ul class="dropdown-menu">
							{BEGIN logoutbutton}
	<li data-itemtype="logout_link" data-itemid="logout_link" {$item_logout_link} data-pageid="{$pageid}" data-small >
				<a  href="#" {$logoutlink_attrs}  title="" >
				
		Log out		
		</a>
	</li>
{END logoutbutton}
							{BEGIN changepwd_link}
	<li data-itemtype="changepassword_link" data-itemid="changepassword_link" {$item_changepassword_link} data-pageid="{$pageid}" data-small >
				<a  href="#" {$changepwdlink_attrs}  title="" >
				
		Change password		
		</a>
	</li>
{END changepwd_link}
					</ul>
	</span>
</span>
{END loggedas_message}
			</span>
								</nav>
{END supertop_block}
						{$locking}
				</div>	
				<div class="r-body" data-resize-top="topbar" data-body-width="compact">
					{$header}
					<div class="r-top">
									{BEGIN top_block}
<div class="r-form" data-location="top" id="form_top_{$pageid}" data-makeup="leftbar" {$form_top} data-pageid="{$pageid}" >		
	</div>		
{END top_block}
						</div>
					<div class="r-above">
										{BEGIN above-grid_block}
<div class="r-form" data-location="above-grid" id="form_above-grid_{$pageid}" data-makeup="leftbar" {$form_above-grid} data-pageid="{$pageid}" >		
	 
		<div class="row">
			 
				<div 
	data-cellId="above-grid_c1" data-pageid="{$pageid}"	{$cell_above-grid_c1}
	class="r-align-center			col-md-12
	
">
		{BEGIN firstAboveGridCell}
		 
		<span data-itemtype="advsearch_link" data-itemid="advsearch_link" {$item_advsearch_link} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="" class="btn btn-success  btn-lg 
	"  href="stock_balance_search.php{$stateLink_full}" {$advsearchlink_attrs} >
							Advanced search			</a>
</span>
	 
		{BEGIN exportselected_link}
<span data-itemtype="export_selected" data-itemid="export_selected" {$item_export_selected} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="" class="btn btn-primary  btn-lg 
	" href="#" {$exportselectedlink_attrs} {$exportselectedlink_span} >
							Export selected			</a>
</span>
{END exportselected_link}
	 
		{BEGIN export_link}
<span data-itemtype="export" data-itemid="export" {$item_export} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="" class="btn btn-warning  btn-lg 
	" href="#" {$exportlink_attrs} >
							Export results			</a>
</span>
{END export_link}
			{END firstAboveGridCell}	
	</div>					</div>
	 
		<div class="row">
			 
				<div 
	data-cellId="above-grid_c" data-pageid="{$pageid}"	{$cell_above-grid_c}
	class=" r-ori-vert			col-md-6
	
">
			</div>			 
				<div 
	data-cellId="above-grid_c2" data-pageid="{$pageid}"	{$cell_above-grid_c2}
	class="r-align-right r-ori-vert			col-md-6
	
">
		 
		<div id="fildhidepanel{$id}" class="bs-fildhidepanel 
	 showHide	 reorder	keep-open btn-group"
	data-itemtype="columns_control" data-itemid="columns_control" {$item_columns_control} data-pageid="{$pageid}"	title="Show/hide columns"
	>
	<button data-toggle="dropdown" class="btn btn-default dropdown-toggle" type="button"><i class="glyphicon glyphicon-th-list"></i> <span class="caret"></span></button>
	<ul role="menu" class="dropdown-menu dropdown-left">
							<li>
		<a>
					  	<div class="checkbox">
				<label>
					<input type="checkbox" id="hide_bar_code" checked="checked" value="1" data-field="bar_code" data-fieldname="bar_code">
					<span>{$label stock_balance bar_code }</span>
				</label>
			</div>
					</a>
		</li>
							<li>
		<a>
					  	<div class="checkbox">
				<label>
					<input type="checkbox" id="hide_unit" checked="checked" value="1" data-field="unit" data-fieldname="unit">
					<span>{$label stock_balance unit }</span>
				</label>
			</div>
					</a>
		</li>
							<li>
		<a>
					  	<div class="checkbox">
				<label>
					<input type="checkbox" id="hide_product_name" checked="checked" value="1" data-field="product_name" data-fieldname="product_name">
					<span>{$label stock_balance product_name }</span>
				</label>
			</div>
					</a>
		</li>
							<li>
		<a>
					  	<div class="checkbox">
				<label>
					<input type="checkbox" id="hide_id" checked="checked" value="1" data-field="id" data-fieldname="id">
					<span>{$label stock_balance id }</span>
				</label>
			</div>
					</a>
		</li>
							<li>
		<a>
					  	<div class="checkbox">
				<label>
					<input type="checkbox" id="hide_in_1" checked="checked" value="1" data-field="in_1" data-fieldname="in-1">
					<span>{$label stock_balance in_1 }</span>
				</label>
			</div>
					</a>
		</li>
							<li>
		<a>
					  	<div class="checkbox">
				<label>
					<input type="checkbox" id="hide_out_1" checked="checked" value="1" data-field="out_1" data-fieldname="out-1">
					<span>{$label stock_balance out_1 }</span>
				</label>
			</div>
					</a>
		</li>
							<li>
		<a>
					  	<div class="checkbox">
				<label>
					<input type="checkbox" id="hide_balance_1" checked="checked" value="1" data-field="balance_1" data-fieldname="balance-1">
					<span>{$label stock_balance balance_1 }</span>
				</label>
			</div>
					</a>
		</li>
							<li>
		<a>
					  	<div class="checkbox">
				<label>
					<input type="checkbox" id="hide_in_2" checked="checked" value="1" data-field="in_2" data-fieldname="in-2">
					<span>{$label stock_balance in_2 }</span>
				</label>
			</div>
					</a>
		</li>
							<li>
		<a>
					  	<div class="checkbox">
				<label>
					<input type="checkbox" id="hide_out_2" checked="checked" value="1" data-field="out_2" data-fieldname="out-2">
					<span>{$label stock_balance out_2 }</span>
				</label>
			</div>
					</a>
		</li>
							<li>
		<a>
					  	<div class="checkbox">
				<label>
					<input type="checkbox" id="hide_balance_2" checked="checked" value="1" data-field="balance_2" data-fieldname="balance-2">
					<span>{$label stock_balance balance_2 }</span>
				</label>
			</div>
					</a>
		</li>
							<li>
		<a>
					  	<div class="checkbox">
				<label>
					<input type="checkbox" id="hide_in_3" checked="checked" value="1" data-field="in_3" data-fieldname="in-3">
					<span>{$label stock_balance in_3 }</span>
				</label>
			</div>
					</a>
		</li>
							<li>
		<a>
					  	<div class="checkbox">
				<label>
					<input type="checkbox" id="hide_out_3" checked="checked" value="1" data-field="out_3" data-fieldname="out-3">
					<span>{$label stock_balance out_3 }</span>
				</label>
			</div>
					</a>
		</li>
							<li>
		<a>
					  	<div class="checkbox">
				<label>
					<input type="checkbox" id="hide_balance_3" checked="checked" value="1" data-field="balance_3" data-fieldname="balance-3">
					<span>{$label stock_balance balance_3 }</span>
				</label>
			</div>
					</a>
		</li>
							<li>
		<a>
					  	<div class="checkbox">
				<label>
					<input type="checkbox" id="hide_in_all" checked="checked" value="1" data-field="in_all" data-fieldname="in-all">
					<span>{$label stock_balance in_all }</span>
				</label>
			</div>
					</a>
		</li>
							<li>
		<a>
					  	<div class="checkbox">
				<label>
					<input type="checkbox" id="hide_out_all" checked="checked" value="1" data-field="out_all" data-fieldname="out-all">
					<span>{$label stock_balance out_all }</span>
				</label>
			</div>
					</a>
		</li>
							<li>
		<a>
					  	<div class="checkbox">
				<label>
					<input type="checkbox" id="hide_balance_all" checked="checked" value="1" data-field="balance_all" data-fieldname="balance-all">
					<span>{$label stock_balance balance_all }</span>
				</label>
			</div>
					</a>
		</li>
			</ul>
</div>
		</div>					</div>
	</div>		
{END above-grid_block}
						</div>
					<div class="r-grid">
										{BEGIN grid_block}
{BEGIN grid_tabs}
  <ul class="nav nav-tabs bsgrid_tabs">
	{$grid_tabs_content}
  </ul>
{END grid_tabs}
{BEGIN message_block}
<div data-grid-message data-pageid="{$pageid}" class="alert {$message_class}" role="alert" {$grid_message_attrs}>{$message}</div>
{END message_block}	<style>
@media screen and (max-width: 767px) {
		[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="id"]:before {
		content: "{$label stock_balance id}";
	}
			[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="bar_code"]:before {
		content: "{$label stock_balance bar_code}";
	}
			[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="product_name"]:before {
		content: "{$label stock_balance product_name}";
	}
			[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="unit"]:before {
		content: "{$label stock_balance unit}";
	}
			[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="in_1"]:before {
		content: "{$label stock_balance in_1}";
	}
			[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="out_1"]:before {
		content: "{$label stock_balance out_1}";
	}
			[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="balance_1"]:before {
		content: "{$label stock_balance balance_1}";
	}
			[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="in_2"]:before {
		content: "{$label stock_balance in_2}";
	}
			[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="out_2"]:before {
		content: "{$label stock_balance out_2}";
	}
			[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="balance_2"]:before {
		content: "{$label stock_balance balance_2}";
	}
			[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="in_3"]:before {
		content: "{$label stock_balance in_3}";
	}
			[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="out_3"]:before {
		content: "{$label stock_balance out_3}";
	}
			[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="balance_3"]:before {
		content: "{$label stock_balance balance_3}";
	}
			[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="in_all"]:before {
		content: "{$label stock_balance in_all}";
	}
			[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="out_all"]:before {
		content: "{$label stock_balance out_all}";
	}
			[data-pageid="{$pageid}"][data-itemtype="grid_field"][data-field="balance_all"]:before {
		content: "{$label stock_balance balance_all}";
	}
	}
</style>
<table data-location="grid" id="form_grid_{$pageid}" data-makeup="leftbar" {$form_grid} data-pageid="{$pageid}" class=" table {$grid_classes}  r-flexgrid 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_checkbox}
	<th
	
	{$cell_grid_headcell_checkbox}
	{$recordattrs}
	class="
		 r-ori-vert			"

	
	data-cellId="grid_headcell_checkbox" data-pageid="{$pageid}" data-record-id="{$recId}" data-page="stock_balance_list"	
		data-checkbox-cell
	>

	 
		{BEGIN checkbox_column}
<span data-itemtype="grid_checkbox_head" data-itemid="grid_checkbox_head" {$item_grid_checkbox_head} data-pageid="{$pageid}" data-record-id="{$recId}" >
	<input type="checkbox" {$checkboxheader_attrs}>
</span>
{END checkbox_column}
	
	</th>
	{END cellblock_grid_headcell_checkbox}
				 
					{BEGIN cellblock_grid_headcell_field}
	<th
	
	{$cell_grid_headcell_field}
	{$recordattrs}
	class="
		r-align-center r-ori-vert				{$id_class}
			"

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

	 
		{BEGIN id_fieldheadercolumn}
	{BEGIN id_fieldheader}
	<SPAN {$id_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="simple_grid_field10" {$item_simple_grid_field10} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="id">
	{$label stock_balance id }	{$arrow_icon_id}
	</SPAN>
	{END id_fieldheader}
{END id_fieldheadercolumn}

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

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

	 
		{BEGIN bar_code_fieldheadercolumn}
	{BEGIN bar_code_fieldheader}
	<SPAN {$bar_code_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="simple_grid_field12" {$item_simple_grid_field12} data-pageid="{$pageid}" data-page="stock_balance_list" data-record-id="{$recId}" data-field="bar_code">
	{$label stock_balance bar_code }	{$arrow_icon_bar_code}
	</SPAN>
	{END bar_code_fieldheader}
{END bar_code_fieldheadercolumn}

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

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

	 
		{BEGIN product_name_fieldheadercolumn}
	{BEGIN product_name_fieldheader}
	<SPAN {$product_name_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="simple_grid_field14" {$item_simple_grid_field14} data-pageid="{$pageid}" data-page="stock_balance_list" data-record-id="{$recId}" data-field="product_name">
	{$label stock_balance product_name }	{$arrow_icon_product_name}
	</SPAN>
	{END product_name_fieldheader}
{END product_name_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field2}
				 
					{BEGIN cellblock_grid_headcell_field5}
	<th
	
	{$cell_grid_headcell_field5}
	{$recordattrs}
	class="
		r-align-center r-ori-vert				{$unit_class}
			"

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

	 
		{BEGIN unit_fieldheadercolumn}
	{BEGIN unit_fieldheader}
	<SPAN {$unit_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="simple_grid_field19" {$item_simple_grid_field19} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="unit">
	{$label stock_balance unit }	{$arrow_icon_unit}
	</SPAN>
	{END unit_fieldheader}
{END unit_fieldheadercolumn}

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

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

	 
		{BEGIN in_1_fieldheadercolumn}
	{BEGIN in_1_fieldheader}
	<SPAN {$in_1_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="grid_field_label" {$item_grid_field_label} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="in_1">
	{$label stock_balance in_1 }	{$arrow_icon_in_1}
	</SPAN>
	{END in_1_fieldheader}
{END in_1_fieldheadercolumn}

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

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

	 
		{BEGIN out_1_fieldheadercolumn}
	{BEGIN out_1_fieldheader}
	<SPAN {$out_1_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="grid_field_label1" {$item_grid_field_label1} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="out_1">
	{$label stock_balance out_1 }	{$arrow_icon_out_1}
	</SPAN>
	{END out_1_fieldheader}
{END out_1_fieldheadercolumn}

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

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

	 
		{BEGIN balance_1_fieldheadercolumn}
	{BEGIN balance_1_fieldheader}
	<SPAN {$balance_1_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="grid_field_label2" {$item_grid_field_label2} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="balance_1">
	{$label stock_balance balance_1 }	{$arrow_icon_balance_1}
	</SPAN>
	{END balance_1_fieldheader}
{END balance_1_fieldheadercolumn}

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

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

	 
		{BEGIN in_2_fieldheadercolumn}
	{BEGIN in_2_fieldheader}
	<SPAN {$in_2_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="grid_field_label3" {$item_grid_field_label3} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="in_2">
	{$label stock_balance in_2 }	{$arrow_icon_in_2}
	</SPAN>
	{END in_2_fieldheader}
{END in_2_fieldheadercolumn}

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

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

	 
		{BEGIN out_2_fieldheadercolumn}
	{BEGIN out_2_fieldheader}
	<SPAN {$out_2_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="grid_field_label4" {$item_grid_field_label4} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="out_2">
	{$label stock_balance out_2 }	{$arrow_icon_out_2}
	</SPAN>
	{END out_2_fieldheader}
{END out_2_fieldheadercolumn}

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

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

	 
		{BEGIN balance_2_fieldheadercolumn}
	{BEGIN balance_2_fieldheader}
	<SPAN {$balance_2_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="grid_field_label5" {$item_grid_field_label5} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="balance_2">
	{$label stock_balance balance_2 }	{$arrow_icon_balance_2}
	</SPAN>
	{END balance_2_fieldheader}
{END balance_2_fieldheadercolumn}

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

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

	 
		{BEGIN in_3_fieldheadercolumn}
	{BEGIN in_3_fieldheader}
	<SPAN {$in_3_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="grid_field_label6" {$item_grid_field_label6} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="in_3">
	{$label stock_balance in_3 }	{$arrow_icon_in_3}
	</SPAN>
	{END in_3_fieldheader}
{END in_3_fieldheadercolumn}

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

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

	 
		{BEGIN out_3_fieldheadercolumn}
	{BEGIN out_3_fieldheader}
	<SPAN {$out_3_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="grid_field_label7" {$item_grid_field_label7} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="out_3">
	{$label stock_balance out_3 }	{$arrow_icon_out_3}
	</SPAN>
	{END out_3_fieldheader}
{END out_3_fieldheadercolumn}

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

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

	 
		{BEGIN balance_3_fieldheadercolumn}
	{BEGIN balance_3_fieldheader}
	<SPAN {$balance_3_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="grid_field_label8" {$item_grid_field_label8} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="balance_3">
	{$label stock_balance balance_3 }	{$arrow_icon_balance_3}
	</SPAN>
	{END balance_3_fieldheader}
{END balance_3_fieldheadercolumn}

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

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

	 
		{BEGIN in_all_fieldheadercolumn}
	{BEGIN in_all_fieldheader}
	<SPAN {$in_all_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="grid_field_label9" {$item_grid_field_label9} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="in_all">
	{$label stock_balance in_all }	{$arrow_icon_in_all}
	</SPAN>
	{END in_all_fieldheader}
{END in_all_fieldheadercolumn}

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

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

	 
		{BEGIN out_all_fieldheadercolumn}
	{BEGIN out_all_fieldheader}
	<SPAN {$out_all_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="grid_field_label10" {$item_grid_field_label10} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="out_all">
	{$label stock_balance out_all }	{$arrow_icon_out_all}
	</SPAN>
	{END out_all_fieldheader}
{END out_all_fieldheadercolumn}

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

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

	 
		{BEGIN balance_all_fieldheadercolumn}
	{BEGIN balance_all_fieldheader}
	<SPAN {$balance_all_orderlinkattrs} data-itemtype="grid_field_label" data-itemid="grid_field_label11" {$item_grid_field_label11} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="balance_all">
	{$label stock_balance balance_all }	{$arrow_icon_balance_all}
	</SPAN>
	{END balance_all_fieldheader}
{END balance_all_fieldheadercolumn}

	
	</th>
	{END cellblock_grid_headcell_field15}
							</tr>
					 
					 
					
					{END grid_header}
			</thead>
															<tbody>
					{BEGIN grid_row}
									
		 
					 
						<tr {$rowattrs} {$row_grid_1} class="{$rowclass} 
								
								r-gridrow
							">
				 
					{BEGIN cellblock_grid_cell_checkbox}
	<td
	
	{$cell_grid_cell_checkbox}
	{$recordattrs}
	class="
		 r-ori-vert			"

	
	data-cellId="grid_cell_checkbox" data-pageid="{$pageid}" data-record-id="{$recId}"		data-control-cell
	
		data-checkbox-cell
	>

	 
		{BEGIN checkbox_column}
<span data-itemtype="grid_checkbox" data-itemid="grid_checkbox" {$item_grid_checkbox} data-pageid="{$pageid}" data-record-id="{$recId}" >
	<input type="checkbox" {$checkbox_attrs}>
</span>	
{END checkbox_column}
	
	</td>
	{END cellblock_grid_cell_checkbox}
				 
					{BEGIN cellblock_grid_cell_field}
	<td
	
	{$cell_grid_cell_field}
	{$recordattrs}
	class="
		r-align-center 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-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-align-center r-ori-vert				{$bar_code_class}
			"

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

	 
		{BEGIN bar_code_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field1" {$item_simple_grid_field1} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="bar_code" data-default-width >
{$bar_code_value}
</span>
{END bar_code_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field1}
				 
					{BEGIN cellblock_grid_cell_field2}
	<td
	
	{$cell_grid_cell_field2}
	{$recordattrs}
	class="
		 r-ori-vert				{$product_name_class}
			"

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

	 
		{BEGIN product_name_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="simple_grid_field2" {$item_simple_grid_field2} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="product_name" data-default-width >
{$product_name_value}
</span>
{END product_name_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field2}
				 
					{BEGIN cellblock_grid_cell_field5}
	<td
	
	{$cell_grid_cell_field5}
	{$recordattrs}
	class="
		r-align-center r-ori-vert				{$unit_class}
			"

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

	 
		{BEGIN unit_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" data-default-width >
{$unit_value}
</span>
{END unit_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field5}
				 
					{BEGIN cellblock_grid_cell_field3}
	<td
	
	{$cell_grid_cell_field3}
	{$recordattrs}
	class="
		 r-ori-vert				{$in_1_class}
			"

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

	 
		{BEGIN in_1_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="grid_field" {$item_grid_field} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="in_1" data-default-width >
{$in_1_value}
</span>
{END in_1_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field3}
				 
					{BEGIN cellblock_grid_cell_field4}
	<td
	
	{$cell_grid_cell_field4}
	{$recordattrs}
	class="
		 r-ori-vert				{$out_1_class}
			"

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

	 
		{BEGIN out_1_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="grid_field1" {$item_grid_field1} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="out_1" data-default-width >
{$out_1_value}
</span>
{END out_1_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field4}
				 
					{BEGIN cellblock_grid_cell_field6}
	<td
	
	{$cell_grid_cell_field6}
	{$recordattrs}
	class="
		 r-ori-vert				{$balance_1_class}
			"

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

	 
		{BEGIN balance_1_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="grid_field2" {$item_grid_field2} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="balance_1" data-default-width >
{$balance_1_value}
</span>
{END balance_1_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field6}
				 
					{BEGIN cellblock_grid_cell_field7}
	<td
	
	{$cell_grid_cell_field7}
	{$recordattrs}
	class="
		 r-ori-vert				{$in_2_class}
			"

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

	 
		{BEGIN in_2_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="grid_field3" {$item_grid_field3} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="in_2" data-default-width >
{$in_2_value}
</span>
{END in_2_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field7}
				 
					{BEGIN cellblock_grid_cell_field8}
	<td
	
	{$cell_grid_cell_field8}
	{$recordattrs}
	class="
		 r-ori-vert				{$out_2_class}
			"

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

	 
		{BEGIN out_2_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="grid_field4" {$item_grid_field4} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="out_2" data-default-width >
{$out_2_value}
</span>
{END out_2_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field8}
				 
					{BEGIN cellblock_grid_cell_field9}
	<td
	
	{$cell_grid_cell_field9}
	{$recordattrs}
	class="
		 r-ori-vert				{$balance_2_class}
			"

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

	 
		{BEGIN balance_2_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="grid_field5" {$item_grid_field5} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="balance_2" data-default-width >
{$balance_2_value}
</span>
{END balance_2_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field9}
				 
					{BEGIN cellblock_grid_cell_field10}
	<td
	
	{$cell_grid_cell_field10}
	{$recordattrs}
	class="
		 r-ori-vert				{$in_3_class}
			"

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

	 
		{BEGIN in_3_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="grid_field6" {$item_grid_field6} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="in_3" data-default-width >
{$in_3_value}
</span>
{END in_3_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field10}
				 
					{BEGIN cellblock_grid_cell_field11}
	<td
	
	{$cell_grid_cell_field11}
	{$recordattrs}
	class="
		 r-ori-vert				{$out_3_class}
			"

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

	 
		{BEGIN out_3_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="grid_field7" {$item_grid_field7} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="out_3" data-default-width >
{$out_3_value}
</span>
{END out_3_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field11}
				 
					{BEGIN cellblock_grid_cell_field12}
	<td
	
	{$cell_grid_cell_field12}
	{$recordattrs}
	class="
		 r-ori-vert				{$balance_3_class}
			"

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

	 
		{BEGIN balance_3_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="grid_field8" {$item_grid_field8} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="balance_3" data-default-width >
{$balance_3_value}
</span>
{END balance_3_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field12}
				 
					{BEGIN cellblock_grid_cell_field13}
	<td
	
	{$cell_grid_cell_field13}
	{$recordattrs}
	class="
		 r-ori-vert				{$in_all_class}
			"

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

	 
		{BEGIN in_all_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="grid_field9" {$item_grid_field9} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="in_all" data-default-width >
{$in_all_value}
</span>
{END in_all_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field13}
				 
					{BEGIN cellblock_grid_cell_field14}
	<td
	
	{$cell_grid_cell_field14}
	{$recordattrs}
	class="
		 r-ori-vert				{$out_all_class}
			"

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

	 
		{BEGIN out_all_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="grid_field10" {$item_grid_field10} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="out_all" data-default-width >
{$out_all_value}
</span>
{END out_all_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field14}
				 
					{BEGIN cellblock_grid_cell_field15}
	<td
	
	{$cell_grid_cell_field15}
	{$recordattrs}
	class="
		 r-ori-vert				{$balance_all_class}
			"

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

	 
		{BEGIN balance_all_fieldcolumn}
<span data-itemtype="grid_field" data-itemid="grid_field11" {$item_grid_field11} data-pageid="{$pageid}" data-record-id="{$recId}" data-field="balance_all" data-default-width >
{$balance_all_value}
</span>
{END balance_all_fieldcolumn}	
	</td>
	{END cellblock_grid_cell_field15}
							</tr>
					 
					
											{END grid_row}
					</tbody>
													<tfoot>
					
		 
					 
					 
						<tr {$rowattrs} {$row_grid_2} class="{$rowclass} 
									{$gridFooter_class}
									
								r-gridrow
							">
				 
					{BEGIN cellblock_grid_footcell_checkbox}
	<td
	
	{$cell_grid_footcell_checkbox}
	{$recordattrs}
	class="
		 r-ori-vert			"

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

	
	</td>
	{END cellblock_grid_footcell_checkbox}
				 
					{BEGIN cellblock_grid_footcell_field}
	<td
	
	{$cell_grid_footcell_field}
	{$recordattrs}
	class="
		 r-ori-vert			"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	
	</td>
	{END cellblock_grid_footcell_field15}
							</tr>
					
					</tfoot>
				</table>
{END grid_block}
						</div>
					<div class="r-below">
										{BEGIN below-grid_block}
<div class="r-form" data-location="below-grid" id="form_below-grid_{$pageid}" data-makeup="leftbar" {$form_below-grid} data-pageid="{$pageid}" >		
	 
		<div class="row">
			 
				<div 
	data-cellId="below-grid_c1" data-pageid="{$pageid}"	{$cell_below-grid_c1}
	class="r-align-center r-ori-vert			col-md-12
	
">
		 
		{BEGIN pagination_block}
<span data-itemtype="pagination" data-itemid="pagination" {$item_pagination} data-pageid="{$pageid}" >
{$pagination}
</span>
{END pagination_block}
		</div>					</div>
	</div>		
{END below-grid_block}
						</div>
					{$footer}
				</div>	
			</div>	
		</div>
	{END body}
	</body>
</html>
