<div id="error_page">
	<h1>{{@page_data.title}}</h1>
	<h2>{{@product_title}}</h2>
	<p align="ceter" class="false">{{@txt}}</p>
	<p align="center">
		На складе {{round(@stock, 2)}}
	</p>
	<check if="{{@base_settings.control_stock==1}}">
		<true>
	<form name="add_line_form" action="/receipts/{{@action?@action:'add_line'}}" method="POST">
		<check if="{{@REQUEST.combo_id}}">
		<input type="hidden" name="combo_id" value="{{@REQUEST.combo_id}}">
		<input type="hidden" name="combo_step" value="{{@REQUEST.combo_step}}">
			<repeat group="{{@REQUEST.item}}" key="{{@step}}" value="{{@item}}">
		<input type="hidden" name="item[{{@step}}][product_id]" value="{{@item['product_id']}}">
		<input type="hidden" name="item[{{@step}}][price]" value="{{@item['price']}}">
				<repeat group="{{@item['mark_data']}}" key="{{@key}}" value="{{@mark_data}}">
		<input type="hidden" name="item[{{@step}}][mark_data][{{@key}}]" value="{{@mark_data}}">
				</repeat>
			</repeat>
		</check>
		<input type="hidden" name="product_id" value="{{@GET.product_id}}">
		<input type="hidden" name="line_id" value="{{@line_id??0}}">
		<input type="hidden" name="count" value="{{@REQUEST.count}}">
		<input type="hidden" name="price" value="{{@REQUEST.price}}">
		<input type="hidden" name="mark[]" value="{{@mark_code}}">
		<input type="hidden" name="not_check_mrc" value="1">
		<input type="hidden" name="not_check_expiration_date" value="1">
		<input type="hidden" name="not_check_current_volume" value="1">
		<input type="hidden" name="not_check_requered_amount" value="1">
		<input type="hidden" name="not_check_mark" value="{{@REQUEST.not_check_mark}}">
		
		<p align="center">
			<input type="button" class="close" value="Отменить">
			<input type="submit" value="Пропустить">
		</p>
	</form>
		</true>
		<false>
	<p align="center">
		<input type="button" class="close" value="Отменить">
	</p>
		</false>
	</check>
</div>
<script type="text/javascript">
$('form[name="add_marking_form"] .marking_input').val('');
</script>
<script>
false_alarm();
</script>