<form name="print_pricetags_form" action="/receipts/printpricetags" method="POST">
	<input type="hidden" name="receipt_id" value="{{@COOKIE.receipt_id}}">
	<input type="hidden" name="print_type" value="pricetags">
	<input type="hidden" name="print" value="1">
	<input type="hidden" name="linesset_id" value="{{@GET.linesset_id}}">
	<input type="hidden" name="title" value="{{@receipt['description']}}">
	<input type="hidden" name="discount" value="{{@receipt['discount']}}">
	<h1>{{@page_data.title}}</h1>
	<table width="100%">
		<tr>
			<td align="center">
				Кол-во экземпляров
			</td>
		</tr>
		<tr>
			<td align="center">
				<input type="text" name="count" class="count" value="1" placeholder="Кол-во экземпляров" autocomplete="off">
				<check if="{{@base_settings.virtual_keyboard==1}}">
				<div class="virtual_keyboard">
					<input tabindex="3" type="button" class="virtual_key" value="7" for='count'>
					<input tabindex="3" type="button" class="virtual_key" value="8" for='count'>
					<input tabindex="3" type="button" class="virtual_key" value="9" for='count'>
					<br>
					<input tabindex="3" type="button" class="virtual_key" value="4" for='count'>
					<input tabindex="3" type="button" class="virtual_key" value="5" for='count'>
					<input tabindex="3" type="button" class="virtual_key" value="6" for='count'>
					<br>
					<input tabindex="3" type="button" class="virtual_key" value="1" for='count'>
					<input tabindex="3" type="button" class="virtual_key" value="2" for='count'>
					<input tabindex="3" type="button" class="virtual_key" value="3" for='count'>
					<br>
					<input tabindex="3" type="button" class="virtual_key virtual_key_delete" for='count' value="CE">
					<input tabindex="3" type="button" class="virtual_key" value="0" for='count'>
					<button type="button" class="virtual_key_bks" for='count'>
						<i class="fas fa-long-arrow-alt-left"></i>
					</button>
				</div>
				</check>
			</td>
		</tr>
		<tr>
			<td align="center">
				<input type="checkbox" class="custom-checkbox" id="count_stock" name="count_stock" value="1">
				<label for="count_stock">Кол-во экземпляров согласно остаткам на складе</label>
			</td>
		</tr>
		<tr>
			<td align="center">
				<select name="printer">
					<repeat group="{{@printers}}" value="{{@p}}">
					<option value="{{@p['printer']}}" {{@p['printer']=='pricetags'?'selected="selected"':''}}>{{@p['title']}}</option>
					</repeat>
				</select>
			</td>
		</tr>
		<tr>
			<td align="center">
				<button type="button" class="pricetags_button" value="pricetags" data-print="1">
					<i class="fas fa-receipt"></i>
					<br>
					Печатать ценники
				</button>
				<br>
				<button type="button" class="pricetags_button" value="linesset" data-print="1">
					<i class="fas fa-barcode"></i>
					<br>
					Печатать штрих-код набора
				</button>
				<br>
				<button type="button" class="pricetags_button" value="linesset" data-print="0">
					<i class="fas fa-barcode"></i>
					<br>
					Сохранить набор
				</button>
			</td>
		</tr>
	</table>
</form>