<table id="tblPricesClone" style="display: none">
	<tbody>
		<tr data-id="{INDEX}">
			<td>
				<div class="form-group">
					<div>
						<select class="form-control required" name="space_id[{INDEX}]" data-msg-required="<?php __('lblFieldRequired');?>">
							<option value="">-- <?php __('lblChoose'); ?>--</option>
							<?php
							foreach ($tpl['space_arr'] as $space)
							{
								?><option value="<?php echo $space['id']; ?>"><?php echo pjSanitize::html($space['name']); ?></option><?php
							}
							?>
						</select> 
					</div>  
				</div>
			</td>

			<td>
				<div class="form-group">
					<div class="input-group"> 
						<input type="text" name="date_from[{INDEX}]" id="date_from_{INDEX}" value="<?php echo date($tpl['option_arr']['o_date_format'], time());?>" class="form-control datepick required" readonly="readonly" data-msg-required="<?php __('lblFieldRequired');?>" /> 
						<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
					</div>
				</div>
			</td>
			
			<td>
				<div class="form-group">
					<div class="input-group"> 
						<input type="text" name="date_to[{INDEX}]" id="date_to_{INDEX}" value="<?php echo date($tpl['option_arr']['o_date_format'], time());?>" class="form-control datepick required" readonly="readonly" data-msg-required="<?php __('lblFieldRequired');?>" /> 
						<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
					</div>
				</div>
			</td>

			<td>
				<div class="form-group">
					<div class="input-group">
						<span class="input-group-addon"><?php echo pjCurrency::getCurrencySign($tpl['option_arr']['o_currency'], false);?></span> 
	
						<input type="text" name="price[{INDEX}]" id="price_{INDEX}" class="form-control required number" data-msg-required="<?php __('lblFieldRequired');?>" data-msg-number="<?php __('prices_invalid_price', false, true);?>"> 
					</div>
				</div>
			</td>

			<td>
				<div class="text-right form-group">
					<a href="javascript:void(0);" class="btn btn-danger btn-outline btn-sm cpRemovePrice"><i class="fa fa-trash"></i></a>
				</div>
			</td>
		</tr>
	</tbody>
</table>