<div class="content2">
	<h1>{{@page_data.title}}</h1>
	<p align="left">
		<a href="{{@base_settings['url_egais']}}/api/db/out/download/{{@GET.id}}">
			<button type="button" class="right">
				<i class="fas fa-save"></i>
				Скачать
			</button>
		</a>
	</p>
	<p><b>Дата запроса {{date('d.m.Y', strtotime(@nattn['ReplyDate']))}}</b></p>
	<table class="work_table">
		<tr>
			<th width="70">
				№ / Дата
			</th>
			<th>
				Отправитель
			</th>
			<th>
				Рег. номер
			</th>
			<th width="100">

			</th>
		</tr>
		<check if="{{!empty(@nattn['NoAnswer'])}}">
			<true>
		<repeat group="{{@nattn['NoAnswer']}}" value="{{@NoAnswer}}">
		<tr>
			<td align="center">
				{{@NoAnswer['ttnNumber']}}
				<br>
				<small>{{date('d.m.Y', strtotime(@NoAnswer['ttnDate']))}}</small>
			</td>
			<td align="center">
				{{@NoAnswer['Shipper']}}
			</td>
			<td align="center">
				{{@NoAnswer['WbRegID']}}
			</td>
			<td align="center">
				<button type="button" class="show_window" href="/egais/search_ttn?nattnid={{@GET.id}}&regid={{@NoAnswer['WbRegID']}}">Просмотр</button>
			</td>
		</tr>
		</repeat>
		</true>
		<false>
		<tr>
			<td align="center" colspan="4">
				Список пуст
			</td>
		</tr>
		</false>
	</table>
	</check>
</div>