<div class="content2">
	<h1>{{@page_data.title}}</h1>
	<check if="{{@data['success']}}">
		<true>
			<include href="pagination.htm" />
	<div class="column2">
		<table class="work_table">
			<tr>
				<th colspan="3">
					Документы
				</th>
			</tr>
			<tr>
				<th width="70">
					Номер / Дата
				</th>
				<th>
					Тип документа
				</th>
				<th width="100">
					<a href="{{@URI}}"><button type="button" title="Обновить список"><i class="fas fa-redo-alt"></i></button></a>
				</th>
			</tr>
			<repeat group="{{@data['receipts']['filtr']}}" value="{{@r}}">
			<tr>
				<td align="center">
					<b>№ {{@r['id']}}</b>
					<br>
					{{date('d.m.Y', strtotime(@r['createTimestamp']))}}
					<br>
					<small>{{date('H:i', strtotime(@r['createTimestamp']))}}</small>
				</td>
				<td align="center">
					{{@r['docTypeName']}}
				</td>
				<td align="right">
					<button type="button" class="show_window" href="/egais/ticket?folder=out&id={{@r['id']}}&type={{@r['docType']}}">Просмотр</button>
				</td>
			</tr>
			</repeat>
		</table>
	</div>
	<div class="column2">
		<table class="work_table">
			<tr>
				<th colspan="3">
					Уведомления
				</th>
			</tr>
			<tr>
				<th width="70">
					Номер / Дата
				</th>
				<th>
					Тип уведомления
				</th>
				<th width="100">
					<a href="{{@URI}}"><button type="button" title="Обновить список"><i class="fas fa-redo-alt"></i></button></a>
				</th>
			</tr>
			<repeat group="{{@data['receipts']['unfiltr']}}" value="{{@r}}">
			<tr>
				<td align="center">
					<b>№ {{@r['id']}}</b>
					<br>
					{{date('d.m.Y', strtotime(@r['createTimestamp']))}}
					<br>
					<small>{{date('H:i', strtotime(@r['createTimestamp']))}}</small>
				</td>
				<td align="center">
					{{@r['docTypeName']}}
				</td>
				<td align="right">
					<button type="button" class="show_window" href="/egais/ticket?folder=out&id={{@r['id']}}&type={{@r['docType']}}">Просмотр</button>
				</td>
			</tr>
			</repeat>
		</table>
	</div>
	<table width="100%"></table>
			<include href="pagination.htm" />
		</true>
		<false>
<p class="false">{{@data['txt']}}</p>
		</false>
	</check>
</div>
