<table id="tblDiscountsClone" style="display: none">
	<tbody>
		<tr data-id="{INDEX}">
			<td>
				<div class="form-group">
					<div>
						<select class="form-control required cpSpace" name="space_id[{INDEX}]" id="space_id_{INDEX}" data-index="{INDEX}" data-msg-required="<?php __('lblFieldRequired');?>">
							<option value="">-- <?php __('lblChoose'); ?>--</option>
							<?php
							foreach ($tpl['space_arr'] as $k => $v)
							{
								?><option value="<?php echo $v['id']; ?>"><?php echo pjSanitize::html($v['name']); ?></option><?php
							}
							?>
						</select>
					</div>
				</div>   
			</td>
		
			<td>
				<div class="form-group">
					<span id="cpPrice_{INDEX}" class="inline-block">
						<select class="form-control required" name="price_id[{INDEX}]" id="price_id_{INDEX}" data-msg-required="<?php __('lblFieldRequired');?>">
							<option value="">-- <?php __('lblChoose'); ?>--</option>
						</select>
					</span>
				</div>
			</td>
			
			<td>
				<div class="form-group">
					<div>
						<input class="required touchspin3_{INDEX}" type="text" name="min_days[{INDEX}]" id="min_days_{INDEX}" data-msg-required="<?php __('lblFieldRequired');?>">
					</div>
				</div>
			</td>
		
			<td>
				<div class="form-group">
					<div>
						<input class="required touchspin3_{INDEX}" type="text" name="max_days[{INDEX}]" id="max_days_{INDEX}" data-msg-required="<?php __('lblFieldRequired');?>">
					</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 class="form-control required number" name="price[{INDEX}]" id="price_{INDEX}" data-msg-required="<?php __('lblFieldRequired');?>" data-msg-number="<?php __('prices_invalid_price', false, true);?>">
					</div>
				</div>
			</td>
		
			<td>
				<div class="form-group">
					<div class="text-right">
						<a href="javascript:void(0);" class="btn btn-danger btn-outline btn-sm cpRemoveDiscount"><i class="fa fa-trash"></i></a>
					</div>
				</div>
			</td>
		</tr>
	</tbody>
</table>