<!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-edit" {$bodyattrs}>
	{BEGIN body}
		{$header}
		<style>
			{$containerCss}
		</style>
		{$locking}
		<div class="r-small-page" 
			data-body-align="center"
			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="accounting_period_edit"
		data-v-width="4"
	data-v-margin="1"
	
>		
	 
		<div class="row">
			 
				<div 
	data-cellId="top_c1" data-pageid="{$pageid}"	{$cell_top_c1}
	class=" r-ori-vert			col-md-12
	">
	 
		<h2 data-itemtype="edit_header" data-itemid="edit_header" {$item_edit_header}="" data-pageid="{$pageid}" >{$pagetitlelabel accounting_period edit}</h2>
	</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="accounting_period_edit"
		data-v-width="4"
	data-v-margin="1"
	
>		
	 
		<div class="row">
			 
				<div 
	data-cellId="above-grid_c1" data-pageid="{$pageid}"	{$cell_above-grid_c1}
	class=" r-ori-vert			col-md-12
	">
	 
		<div data-itemtype="edit_message" data-itemid="edit_message" {$item_edit_message}="" data-pageid="{$pageid}" class="alert {$message_class}" role="alert">
<h5>{$message}</h5>
<div>
{BEGIN message_back_button}
			<button class="btn btn-sm btn-default" {$backbutton_attrs}>{mlang_message BACK_TO_LIST}</button>
	{END message_back_button}
{BEGIN message_view_page_button}
		<a class="btn btn-sm btn-default" href="accounting_period_view.php?{$editlink}" {$view_page_button_attrs}>{mlang_message VIEW}</a>
{END message_view_page_button}
</div>
</div>
	</div>					</div>
	</div>		
{END above-grid_block}
									{BEGIN grid_block}




 
	 
												<table 
	data-body-align="center"
	data-location="grid" id="form_grid_{$pageid}" data-makeup="small" {$form_grid} data-pageid="{$pageid}" data-page="accounting_period_edit" 
	class="r-edit-form" cellpadding="0" cellspacing="0" 
	{$grid_hiddenattr} 
		data-form-width="1"
		
		data-v-width="4"
	>
	<tbody>
										<tr {$row_grid_0} >
										

{BEGIN cellblock_grid_c3}
<td
	{$cell_grid_c3}
	class=" r-ori-vert"
	
				data-fullwidth
		
			data-cellId="grid_c3" data-pageid="{$pageid}"
		data-v-cell="4"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN fiscal_year_id_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_fiscal_year_id}  r-vertical-field" 
	data-signal-error-for="fiscal_year_id{$id}" {$required_attr_fiscal_year_id}
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field" {$item_integrated_edit_field}="" data-pageid="{$pageid}" data-field="fiscal_year_id" data-fieldname="fiscal_year_id" >

	<label class="r-edit-label control-label {$fiscal_year_id_label_class}" for="{$labelfor_fiscal_year_id}">
		{BEGIN fiscal_year_id_label}
			{$fiscal_year_id_forward_control}
			{$label accounting_period fiscal_year_id }			{END fiscal_year_id_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$fiscal_year_id_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="fiscal_year_id" {$tooltipAttr accounting_period fiscal_year_id } >
		<div class="text-muted" >
		{$tooltip accounting_period fiscal_year_id }		</div>
	</div>
	</div>


{END fiscal_year_id_fieldblock}
											
{BEGIN period_no_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_period_no}  r-vertical-field" 
	data-signal-error-for="period_no{$id}" {$required_attr_period_no}
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field1" {$item_integrated_edit_field1}="" data-pageid="{$pageid}" data-field="period_no" data-fieldname="period_no" >

	<label class="r-edit-label control-label {$period_no_label_class}" for="{$labelfor_period_no}">
		{BEGIN period_no_label}
			{$period_no_forward_control}
			{$label accounting_period period_no }			{END period_no_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$period_no_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="period_no" {$tooltipAttr accounting_period period_no } >
		<div class="text-muted" >
		{$tooltip accounting_period period_no }		</div>
	</div>
	</div>


{END period_no_fieldblock}
											
{BEGIN period_name_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_period_name}  r-vertical-field" 
	data-signal-error-for="period_name{$id}" {$required_attr_period_name}
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field2" {$item_integrated_edit_field2}="" data-pageid="{$pageid}" data-field="period_name" data-fieldname="period_name" >

	<label class="r-edit-label control-label {$period_name_label_class}" for="{$labelfor_period_name}">
		{BEGIN period_name_label}
			{$period_name_forward_control}
			{$label accounting_period period_name }			{END period_name_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$period_name_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="period_name" {$tooltipAttr accounting_period period_name } >
		<div class="text-muted" >
		{$tooltip accounting_period period_name }		</div>
	</div>
	</div>


{END period_name_fieldblock}
											
{BEGIN date_from_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_date_from}  r-vertical-field" 
	data-signal-error-for="date_from{$id}" {$required_attr_date_from}
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field3" {$item_integrated_edit_field3}="" data-pageid="{$pageid}" data-field="date_from" data-fieldname="date_from" >

	<label class="r-edit-label control-label {$date_from_label_class}" for="{$labelfor_date_from}">
		{BEGIN date_from_label}
			{$date_from_forward_control}
			{$label accounting_period date_from }			{END date_from_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$date_from_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="date_from" {$tooltipAttr accounting_period date_from } >
		<div class="text-muted" >
		{$tooltip accounting_period date_from }		</div>
	</div>
	</div>


{END date_from_fieldblock}
											
{BEGIN date_to_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_date_to}  r-vertical-field" 
	data-signal-error-for="date_to{$id}" {$required_attr_date_to}
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field4" {$item_integrated_edit_field4}="" data-pageid="{$pageid}" data-field="date_to" data-fieldname="date_to" >

	<label class="r-edit-label control-label {$date_to_label_class}" for="{$labelfor_date_to}">
		{BEGIN date_to_label}
			{$date_to_forward_control}
			{$label accounting_period date_to }			{END date_to_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$date_to_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="date_to" {$tooltipAttr accounting_period date_to } >
		<div class="text-muted" >
		{$tooltip accounting_period date_to }		</div>
	</div>
	</div>


{END date_to_fieldblock}
											
{BEGIN period_status_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_period_status}  r-vertical-field" 
	data-signal-error-for="period_status{$id}" {$required_attr_period_status}
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field5" {$item_integrated_edit_field5}="" data-pageid="{$pageid}" data-field="period_status" data-fieldname="period_status" >

	<label class="r-edit-label control-label {$period_status_label_class}" for="{$labelfor_period_status}">
		{BEGIN period_status_label}
			{$period_status_forward_control}
			{$label accounting_period period_status }			{END period_status_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$period_status_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="period_status" {$tooltipAttr accounting_period period_status } >
		<div class="text-muted" >
		{$tooltip accounting_period period_status }		</div>
	</div>
	</div>


{END period_status_fieldblock}
											
{BEGIN closed_at_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_closed_at}  r-vertical-field" 
	data-signal-error-for="closed_at{$id}" {$required_attr_closed_at}
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field6" {$item_integrated_edit_field6}="" data-pageid="{$pageid}" data-field="closed_at" data-fieldname="closed_at" >

	<label class="r-edit-label control-label {$closed_at_label_class}" for="{$labelfor_closed_at}">
		{BEGIN closed_at_label}
			{$closed_at_forward_control}
			{$label accounting_period closed_at }			{END closed_at_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$closed_at_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="closed_at" {$tooltipAttr accounting_period closed_at } >
		<div class="text-muted" >
		{$tooltip accounting_period closed_at }		</div>
	</div>
	</div>


{END closed_at_fieldblock}
											
{BEGIN closed_by_platform_user_id_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_closed_by_platform_user_id}  r-vertical-field" 
	data-signal-error-for="closed_by_platform_user_id{$id}" {$required_attr_closed_by_platform_user_id}
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field7" {$item_integrated_edit_field7}="" data-pageid="{$pageid}" data-field="closed_by_platform_user_id" data-fieldname="closed_by_platform_user_id" >

	<label class="r-edit-label control-label {$closed_by_platform_user_id_label_class}" for="{$labelfor_closed_by_platform_user_id}">
		{BEGIN closed_by_platform_user_id_label}
			{$closed_by_platform_user_id_forward_control}
			{$label accounting_period closed_by_platform_user_id }			{END closed_by_platform_user_id_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$closed_by_platform_user_id_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="closed_by_platform_user_id" {$tooltipAttr accounting_period closed_by_platform_user_id } >
		<div class="text-muted" >
		{$tooltip accounting_period closed_by_platform_user_id }		</div>
	</div>
	</div>


{END closed_by_platform_user_id_fieldblock}
											
{BEGIN soft_closed_at_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_soft_closed_at}  r-vertical-field" 
	data-signal-error-for="soft_closed_at{$id}" {$required_attr_soft_closed_at}
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field8" {$item_integrated_edit_field8}="" data-pageid="{$pageid}" data-field="soft_closed_at" data-fieldname="soft_closed_at" >

	<label class="r-edit-label control-label {$soft_closed_at_label_class}" for="{$labelfor_soft_closed_at}">
		{BEGIN soft_closed_at_label}
			{$soft_closed_at_forward_control}
			{$label accounting_period soft_closed_at }			{END soft_closed_at_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$soft_closed_at_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="soft_closed_at" {$tooltipAttr accounting_period soft_closed_at } >
		<div class="text-muted" >
		{$tooltip accounting_period soft_closed_at }		</div>
	</div>
	</div>


{END soft_closed_at_fieldblock}
											
{BEGIN reopened_until_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_reopened_until}  r-vertical-field" 
	data-signal-error-for="reopened_until{$id}" {$required_attr_reopened_until}
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field9" {$item_integrated_edit_field9}="" data-pageid="{$pageid}" data-field="reopened_until" data-fieldname="reopened_until" >

	<label class="r-edit-label control-label {$reopened_until_label_class}" for="{$labelfor_reopened_until}">
		{BEGIN reopened_until_label}
			{$reopened_until_forward_control}
			{$label accounting_period reopened_until }			{END reopened_until_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$reopened_until_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="reopened_until" {$tooltipAttr accounting_period reopened_until } >
		<div class="text-muted" >
		{$tooltip accounting_period reopened_until }		</div>
	</div>
	</div>


{END reopened_until_fieldblock}
											
{BEGIN reopen_reason_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_reopen_reason}  r-vertical-field" 
	data-signal-error-for="reopen_reason{$id}" {$required_attr_reopen_reason}
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field10" {$item_integrated_edit_field10}="" data-pageid="{$pageid}" data-field="reopen_reason" data-fieldname="reopen_reason" >

	<label class="r-edit-label control-label {$reopen_reason_label_class}" for="{$labelfor_reopen_reason}">
		{BEGIN reopen_reason_label}
			{$reopen_reason_forward_control}
			{$label accounting_period reopen_reason }			{END reopen_reason_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$reopen_reason_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="reopen_reason" {$tooltipAttr accounting_period reopen_reason } >
		<div class="text-muted" >
		{$tooltip accounting_period reopen_reason }		</div>
	</div>
	</div>


{END reopen_reason_fieldblock}
											
{BEGIN company_id_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_company_id}  r-vertical-field" 
	data-signal-error-for="company_id{$id}" {$required_attr_company_id}
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field11" {$item_integrated_edit_field11}="" data-pageid="{$pageid}" data-field="company_id" data-fieldname="company_id" >

	<label class="r-edit-label control-label {$company_id_label_class}" for="{$labelfor_company_id}">
		{BEGIN company_id_label}
			{$company_id_forward_control}
			{$label accounting_period company_id }			{END company_id_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$company_id_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="company_id" {$tooltipAttr accounting_period company_id } >
		<div class="text-muted" >
		{$tooltip accounting_period company_id }		</div>
	</div>
	</div>


{END company_id_fieldblock}
	
								</td>
			{END cellblock_grid_c3}
								</tr>
			</tbody></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="accounting_period_edit"
		data-v-width="4"
	data-v-margin="1"
	
>		
	 
		<div class="row">
			 
				<div 
	data-cellId="below-grid_c1" data-pageid="{$pageid}"	{$cell_below-grid_c1}
	class="			col-md-6
	">
	 
		{BEGIN save_edit}
<span data-itemtype="edit_save" data-itemid="edit_save" {$item_edit_save}="" data-pageid="{$pageid}" data-small="" data-button-item>
	<a type="button" title="" class="btn btn-primary   
	" {$savebutton_attrs} >
							{mlang_message SAVE}			</a>
</span>
{END save_edit}
	 
		{BEGIN back_button}
<span data-itemtype="edit_back_list" data-itemid="edit_back_list" {$item_edit_back_list}="" data-pageid="{$pageid}" data-small="" data-button-item>
	<a type="button" title="" class="btn btn-default   
	" {$backbutton_attrs} >
							{mlang_message BACK_TO_LIST}			</a>
</span>
{END back_button}
	 
		{BEGIN close_button}
<span data-itemtype="edit_close" data-itemid="edit_close" {$item_edit_close}="" data-pageid="{$pageid}" data-small="" data-button-item>
	<a type="button" title="" class="btn btn-default   
	" {$closebutton_attrs} >
							{mlang_message CANCEL}			</a>
</span>
{END close_button}
	</div>			 
				<div 
	data-cellId="below-grid_c2" data-pageid="{$pageid}"	{$cell_below-grid_c2}
	class="r-align-right r-ori-vert			col-md-6
	">
	 
		<span data-itemtype="hamburger" data-itemid="hamburger" {$item_hamburger}="" data-pageid="{$pageid}" data-small="" data-button-item>
	<span class="dropdown dropup">
		<button type="button" title="" class="btn btn-default   dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">		
										<span class="glyphicon glyphicon-menu-hamburger"></span>
												<span class="caret"></span>
		</button>
		<ul class="dropdown-menu">
							{BEGIN reset_button}
	<li data-itemtype="edit_reset" data-itemid="edit_reset" {$item_edit_reset}="" data-pageid="{$pageid}" data-small="" >
				<a  {$resetbutton_attrs}  title="" >
				
		{mlang_message RESET}		
		</a>
	</li>
{END reset_button}
							{BEGIN view_page_button}
	<li data-itemtype="edit_view" data-itemid="edit_view" {$item_edit_view}="" data-pageid="{$pageid}" data-small="" >
				<a  href="accounting_period_view.php?{$editlink}" {$view_page_button_attrs}  title="" >
				
		{mlang_message VIEW}		
		</a>
	</li>
{END view_page_button}
					</ul>
	</span>
</span>
	</div>					</div>
	</div>		
{END below-grid_block}
			</div>
		{$footer}
	{END body}
	</body>
</html>
