<!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-add" {$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="subscription_add"
		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="add_header" data-itemid="add_header" {$item_add_header}="" data-pageid="{$pageid}" >{$pagetitlelabel subscription add}</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="subscription_add"
		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
	">
	 
		{BEGIN message_block}
<div data-itemtype="add_message" data-itemid="add_message" {$item_add_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 view_page_button}
	<button class="btn btn-sm btn-default" {$view_page_button_attrs}>{mlang_message VIEW}</button>
{END view_page_button}
{BEGIN edit_page_button}
	<button class="btn btn-sm btn-default" {$edit_page_button_attrs}>{mlang_message EDIT}</button>
{END edit_page_button}
</div>
</div>
{END message_block}	</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="subscription_add" 
	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 tenant_id_fieldblock}


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

	<label class="r-edit-label control-label {$tenant_id_label_class}" for="{$labelfor_tenant_id}">
		{BEGIN tenant_id_label}
			{$tenant_id_forward_control}
			{$label subscription tenant_id }			{END tenant_id_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$tenant_id_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="tenant_id" {$tooltipAttr subscription tenant_id } >
		<div class="text-muted" >
		{$tooltip subscription tenant_id }		</div>
	</div>
	</div>


{END tenant_id_fieldblock}
											
{BEGIN subscription_no_fieldblock}


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

	<label class="r-edit-label control-label {$subscription_no_label_class}" for="{$labelfor_subscription_no}">
		{BEGIN subscription_no_label}
			{$subscription_no_forward_control}
			{$label subscription subscription_no }			{END subscription_no_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$subscription_no_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="subscription_no" {$tooltipAttr subscription subscription_no } >
		<div class="text-muted" >
		{$tooltip subscription subscription_no }		</div>
	</div>
	</div>


{END subscription_no_fieldblock}
											
{BEGIN subscription_status_fieldblock}


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

	<label class="r-edit-label control-label {$subscription_status_label_class}" for="{$labelfor_subscription_status}">
		{BEGIN subscription_status_label}
			{$subscription_status_forward_control}
			{$label subscription subscription_status }			{END subscription_status_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$subscription_status_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="subscription_status" {$tooltipAttr subscription subscription_status } >
		<div class="text-muted" >
		{$tooltip subscription subscription_status }		</div>
	</div>
	</div>


{END subscription_status_fieldblock}
											
{BEGIN billing_cycle_fieldblock}


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

	<label class="r-edit-label control-label {$billing_cycle_label_class}" for="{$labelfor_billing_cycle}">
		{BEGIN billing_cycle_label}
			{$billing_cycle_forward_control}
			{$label subscription billing_cycle }			{END billing_cycle_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$billing_cycle_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="billing_cycle" {$tooltipAttr subscription billing_cycle } >
		<div class="text-muted" >
		{$tooltip subscription billing_cycle }		</div>
	</div>
	</div>


{END billing_cycle_fieldblock}
											
{BEGIN currency_code_fieldblock}


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

	<label class="r-edit-label control-label {$currency_code_label_class}" for="{$labelfor_currency_code}">
		{BEGIN currency_code_label}
			{$currency_code_forward_control}
			{$label subscription currency_code }			{END currency_code_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$currency_code_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="currency_code" {$tooltipAttr subscription currency_code } >
		<div class="text-muted" >
		{$tooltip subscription currency_code }		</div>
	</div>
	</div>


{END currency_code_fieldblock}
											
{BEGIN trial_started_at_fieldblock}


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

	<label class="r-edit-label control-label {$trial_started_at_label_class}" for="{$labelfor_trial_started_at}">
		{BEGIN trial_started_at_label}
			{$trial_started_at_forward_control}
			{$label subscription trial_started_at }			{END trial_started_at_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$trial_started_at_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="trial_started_at" {$tooltipAttr subscription trial_started_at } >
		<div class="text-muted" >
		{$tooltip subscription trial_started_at }		</div>
	</div>
	</div>


{END trial_started_at_fieldblock}
											
{BEGIN trial_ends_at_fieldblock}


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

	<label class="r-edit-label control-label {$trial_ends_at_label_class}" for="{$labelfor_trial_ends_at}">
		{BEGIN trial_ends_at_label}
			{$trial_ends_at_forward_control}
			{$label subscription trial_ends_at }			{END trial_ends_at_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$trial_ends_at_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="trial_ends_at" {$tooltipAttr subscription trial_ends_at } >
		<div class="text-muted" >
		{$tooltip subscription trial_ends_at }		</div>
	</div>
	</div>


{END trial_ends_at_fieldblock}
											
{BEGIN current_period_start_fieldblock}


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

	<label class="r-edit-label control-label {$current_period_start_label_class}" for="{$labelfor_current_period_start}">
		{BEGIN current_period_start_label}
			{$current_period_start_forward_control}
			{$label subscription current_period_start }			{END current_period_start_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$current_period_start_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="current_period_start" {$tooltipAttr subscription current_period_start } >
		<div class="text-muted" >
		{$tooltip subscription current_period_start }		</div>
	</div>
	</div>


{END current_period_start_fieldblock}
											
{BEGIN current_period_end_fieldblock}


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

	<label class="r-edit-label control-label {$current_period_end_label_class}" for="{$labelfor_current_period_end}">
		{BEGIN current_period_end_label}
			{$current_period_end_forward_control}
			{$label subscription current_period_end }			{END current_period_end_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$current_period_end_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="current_period_end" {$tooltipAttr subscription current_period_end } >
		<div class="text-muted" >
		{$tooltip subscription current_period_end }		</div>
	</div>
	</div>


{END current_period_end_fieldblock}
											
{BEGIN grace_period_ends_at_fieldblock}


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

	<label class="r-edit-label control-label {$grace_period_ends_at_label_class}" for="{$labelfor_grace_period_ends_at}">
		{BEGIN grace_period_ends_at_label}
			{$grace_period_ends_at_forward_control}
			{$label subscription grace_period_ends_at }			{END grace_period_ends_at_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$grace_period_ends_at_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="grace_period_ends_at" {$tooltipAttr subscription grace_period_ends_at } >
		<div class="text-muted" >
		{$tooltip subscription grace_period_ends_at }		</div>
	</div>
	</div>


{END grace_period_ends_at_fieldblock}
											
{BEGIN cancel_at_period_end_fieldblock}


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

	<label class="r-edit-label control-label {$cancel_at_period_end_label_class}" for="{$labelfor_cancel_at_period_end}">
		{BEGIN cancel_at_period_end_label}
			{$cancel_at_period_end_forward_control}
			{$label subscription cancel_at_period_end }			{END cancel_at_period_end_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$cancel_at_period_end_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="cancel_at_period_end" {$tooltipAttr subscription cancel_at_period_end } >
		<div class="text-muted" >
		{$tooltip subscription cancel_at_period_end }		</div>
	</div>
	</div>


{END cancel_at_period_end_fieldblock}
											
{BEGIN cancelled_at_fieldblock}


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

	<label class="r-edit-label control-label {$cancelled_at_label_class}" for="{$labelfor_cancelled_at}">
		{BEGIN cancelled_at_label}
			{$cancelled_at_forward_control}
			{$label subscription cancelled_at }			{END cancelled_at_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$cancelled_at_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="cancelled_at" {$tooltipAttr subscription cancelled_at } >
		<div class="text-muted" >
		{$tooltip subscription cancelled_at }		</div>
	</div>
	</div>


{END cancelled_at_fieldblock}
											
{BEGIN billing_provider_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_billing_provider}  r-vertical-field" 
	data-signal-error-for="billing_provider{$id}" {$required_attr_billing_provider}
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field12" {$item_integrated_edit_field12}="" data-pageid="{$pageid}" data-field="billing_provider" data-fieldname="billing_provider" >

	<label class="r-edit-label control-label {$billing_provider_label_class}" for="{$labelfor_billing_provider}">
		{BEGIN billing_provider_label}
			{$billing_provider_forward_control}
			{$label subscription billing_provider }			{END billing_provider_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$billing_provider_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="billing_provider" {$tooltipAttr subscription billing_provider } >
		<div class="text-muted" >
		{$tooltip subscription billing_provider }		</div>
	</div>
	</div>


{END billing_provider_fieldblock}
											
{BEGIN provider_customer_ref_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_provider_customer_ref}  r-vertical-field" 
	data-signal-error-for="provider_customer_ref{$id}" {$required_attr_provider_customer_ref}
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field13" {$item_integrated_edit_field13}="" data-pageid="{$pageid}" data-field="provider_customer_ref" data-fieldname="provider_customer_ref" >

	<label class="r-edit-label control-label {$provider_customer_ref_label_class}" for="{$labelfor_provider_customer_ref}">
		{BEGIN provider_customer_ref_label}
			{$provider_customer_ref_forward_control}
			{$label subscription provider_customer_ref }			{END provider_customer_ref_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$provider_customer_ref_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="provider_customer_ref" {$tooltipAttr subscription provider_customer_ref } >
		<div class="text-muted" >
		{$tooltip subscription provider_customer_ref }		</div>
	</div>
	</div>


{END provider_customer_ref_fieldblock}
											
{BEGIN provider_subscription_ref_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_provider_subscription_ref}  r-vertical-field" 
	data-signal-error-for="provider_subscription_ref{$id}" {$required_attr_provider_subscription_ref}
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field14" {$item_integrated_edit_field14}="" data-pageid="{$pageid}" data-field="provider_subscription_ref" data-fieldname="provider_subscription_ref" >

	<label class="r-edit-label control-label {$provider_subscription_ref_label_class}" for="{$labelfor_provider_subscription_ref}">
		{BEGIN provider_subscription_ref_label}
			{$provider_subscription_ref_forward_control}
			{$label subscription provider_subscription_ref }			{END provider_subscription_ref_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$provider_subscription_ref_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="provider_subscription_ref" {$tooltipAttr subscription provider_subscription_ref } >
		<div class="text-muted" >
		{$tooltip subscription provider_subscription_ref }		</div>
	</div>
	</div>


{END provider_subscription_ref_fieldblock}
											
{BEGIN created_at_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_created_at}  r-vertical-field" 
	data-signal-error-for="created_at{$id}" {$required_attr_created_at}
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field15" {$item_integrated_edit_field15}="" data-pageid="{$pageid}" data-field="created_at" data-fieldname="created_at" >

	<label class="r-edit-label control-label {$created_at_label_class}" for="{$labelfor_created_at}">
		{BEGIN created_at_label}
			{$created_at_forward_control}
			{$label subscription created_at }			{END created_at_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$created_at_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="created_at" {$tooltipAttr subscription created_at } >
		<div class="text-muted" >
		{$tooltip subscription created_at }		</div>
	</div>
	</div>


{END created_at_fieldblock}
											
{BEGIN updated_at_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_updated_at}  r-vertical-field" 
	data-signal-error-for="updated_at{$id}" {$required_attr_updated_at}
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field16" {$item_integrated_edit_field16}="" data-pageid="{$pageid}" data-field="updated_at" data-fieldname="updated_at" >

	<label class="r-edit-label control-label {$updated_at_label_class}" for="{$labelfor_updated_at}">
		{BEGIN updated_at_label}
			{$updated_at_forward_control}
			{$label subscription updated_at }			{END updated_at_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$updated_at_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="updated_at" {$tooltipAttr subscription updated_at } >
		<div class="text-muted" >
		{$tooltip subscription updated_at }		</div>
	</div>
	</div>


{END updated_at_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="subscription_add"
		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-12
	">
	 
		<span data-itemtype="add_save" data-itemid="add_save" {$item_add_save}="" data-pageid="{$pageid}" data-small="" data-button-item>
	<a type="button" title="" class="btn btn-primary   
	" {$savebutton_attrs} >
							{mlang_message SAVE}			</a>
</span>
	 
		{BEGIN reset_button}
<span data-itemtype="add_reset" data-itemid="add_reset" {$item_add_reset}="" data-pageid="{$pageid}" data-small="" data-button-item>
	<a type="button" title="" class="btn btn-default   
	" id="resetButton{$id}" >
							{mlang_message RESET}			</a>
</span>
{END reset_button}
	 
		{BEGIN back_button}
<span data-itemtype="add_back_list" data-itemid="add_back_list" {$item_add_back_list}="" data-pageid="{$pageid}" data-small="" data-button-item>
	<a type="button" title="" class="btn btn-default   
	" id="backButton{$id}" >
							{mlang_message BACK_TO_LIST}			</a>
</span>
{END back_button}
	 
		{BEGIN cancel_button}
<span data-itemtype="add_cancel" data-itemid="add_cancel" {$item_add_cancel}="" data-pageid="{$pageid}" data-small="" data-button-item>
	<a type="button" title="" class="btn btn-default   
	" id="cancelButton{$id}" >
							{mlang_message CANCEL}			</a>
</span>
{END cancel_button}
	</div>					</div>
	</div>		
{END below-grid_block}
			</div>
		{$footer}
	{END body}
	</body>
</html>
