<div class="container" id="kiosk_pay_success">
	<h1>{{@page_data['title']}}</h1>

	<div class="alert alert-success" role="alert">
			<p>Ваш заказ успешно оформлен.</p>
	</div>
	<div class="alert alert-secondary" role="alert">
	  <p>Номер вашего заказа</p>
	  <p align="center">
	  	<big class="order_number">
	  		{{@receipt.order_number?@receipt.order_number:@receipt.id}}
	  	</big>
	  </p>
	  <check if="{{@receipt.fp && @receipt.fd}}">
	  <p align="center">
	  	<img src="/qr/gen?url={{urlencode('t='.date('Ymd', @receipt['time']).'T'.date('Hi', @receipt['time']).'&s='.number_format(@receipt['sum'], 2, '.', '').'&i='.@receipt['fd'].'&fp='.@receipt['fp'].'&fn='.@receipt['fn'].'&n=1')}}">
	  </p>
	  </check>
	  <p align="center">
	  	<input type="button" class="basket_close btn btn-primary" value="Завершить (30)">
	</div>
</div>
<script type="text/javascript">
setTimeout(close_timer, 1000, 30);
</script>
<script>
success_alarm();
</script>