<?xml version="1.0" encoding="UTF8"?>
<items>
<main>
	<table>anbuy</table>
	<order>buy_id</order>
	<order_type>DESC</order_type>
	<increment>buy_id</increment>
	<title>Электронные покупки</title>
	<where>anbuy.delivery_id = 1</where>
	<search>buy_email, buy_id</search>
</main>
<item>
	<column>buy_id</column>
	<title>ID</title>
	<type>increment</type>
	<view>
		<table>True</table>
		<form>False</form>
	</view>
</item>
<item>
	<column>buy_email</column>
	<title>Email</title>
	<type>text</type>
	<col>148</col>
	<view>
		<table>True</table>
		<form>True</form>
	</view>
	<maxsize>100</maxsize>
	<hint>Заголовок</hint>
	<typograf>1</typograf>
</item>
<item>
	<column>number_id</column>
	<title>№</title>
	<type>lookup</type>
	<lookup>
		<table>price</table>
		<id>price_id</id>
		<column>pricename</column>
		<order>price_id DESC</order>
	</lookup>
	<view>
		<table>True</table>
		<form>True</form>
	</view>
	<filter>True</filter>
</item>
<item>
	<column>client_id</column>
	<title>ID</title>
	<type>text</type>
	<view>
		<table>True</table>
		<form>True</form>
	</view>
</item>
<item>
	<column>delivery_id</column>
	<title>Тип</title>
	<type>lookup</type>
	<lookup>
		<table>delivery</table>
		<id>delivery_id</id>
		<column>delivery</column>
	</lookup>
	<view>
		<table>True</table>
		<form>True</form>
	</view>
	<filter>True</filter>
</item>
<item>
	<column>price</column>
	<title>Цена</title>
	<type>text</type>
	<view>
		<table>False</table>
		<form>True</form>
	</view>
</item>
<item>
	<column>date_start</column>
	<title>Старт</title>
	<type>datetime</type>
	<view>
		<table>False</table>
		<form>False</form>
	</view>
</item>
<item>
	<column>date</column>
	<title>Оформлен</title>
	<type>datetime</type>
	<view>
		<table>True</table>
		<form>True</form>
	</view>
</item>
<item>
	<column>date_end</column>
	<title>Окончание</title>
	<type>datetime</type>
	<view>
		<table>False</table>
		<form>True</form>
	</view>
</item>
<item>
	<column>buy_status</column>
	<title>Оплачен</title>
	<type>checkbox</type>
	<col>100</col>
	<view>
		<table>True</table>
		<form>True</form>
	</view>
</item>
<item>
	<column>mail_status</column>
	<title>Пуш</title>
	<type>checkbox</type>
	<col>100</col>
	<view>
		<table>True</table>
		<form>True</form>
	</view>
</item>
<item>
	<column>buy_active</column>
	<title>Активен</title>
	<type>checkbox</type>
	<col>100</col>
	<view>
		<table>True</table>
		<form>True</form>
	</view>
</item>
<item>
	<column>comment</column>
	<title>Прим</title>
	<type>textarea</type>
	<col>100</col>
	<row>10</row>
	<maxsize>15000</maxsize>
	<view>
		<table>False</table>
		<form>True</form>
	</view>
	<typograf>1</typograf>
</item>
</items>
