<div id="error_page">
	<h1>Ошибка</h1>
	<p class="false">Клиент не найден</p>
	<check if="{{in_array('receipts/new_card', @authorization_user.module)}}">
		<true>
	<p>Добавить нового клиента?</p>
	<form name="partners_new_form" method="GET" action="/receipts/new_card">
		<input type="text" name="client_value" class="client_value" value="{{@value}}" placeholder="Телефон или номер карты" autocomplete="off">
		<br>
		<select name="type">
			<option value="card">Номер карты</option>
			<option value="phone">Номер телефона</option>
		</select>
		<div class="virtual_keyboard">
			<input tabindex="3" type="button" class="virtual_key" value="7" for='client_value'>
			<input tabindex="3" type="button" class="virtual_key" value="8" for='client_value'>
			<input tabindex="3" type="button" class="virtual_key" value="9" for='client_value'>
			<br>
			<input tabindex="3" type="button" class="virtual_key" value="4" for='client_value'>
			<input tabindex="3" type="button" class="virtual_key" value="5" for='client_value'>
			<input tabindex="3" type="button" class="virtual_key" value="6" for='client_value'>
			<br>
			<input tabindex="3" type="button" class="virtual_key" value="1" for='client_value'>
			<input tabindex="3" type="button" class="virtual_key" value="2" for='client_value'>
			<input tabindex="3" type="button" class="virtual_key" value="3" for='client_value'>
			<br>
			<input tabindex="3" type="button" class="virtual_key virtual_key_delete" for='client_value' value="CE">
			<input tabindex="3" type="button" class="virtual_key" value="0" for='client_value'>
			<button type="button" class="virtual_key_bks" for='client_value'>
				<i class="fas fa-long-arrow-alt-left"></i>
			</button>
		</div>
		<button type="submit">Добавить</button>
	</form>
		</true>
		<false>
<script type="text/javascript">
var w=$('#error_page').closest('.popup');
clearTimeout(auto_close);
auto_close=setTimeout('w.remove();', 3000);
</script>
		</false>
	</check>
</div>