<?php
//  REPORT FILTERS
$CFG['reportsManagement']['adminReport']['filtersList']['supplierContracts']=[

	'contractDate'=>[
		'mandatory'=>	false,
		'type'=>		"dateInterval",
	],

	'supplier'=>[
		'type'=>"autocomplete",
		'data'=>"supplier",
		'refactorCompat'=> [
			'renameTo'	=> 'idSuppliers',
			'reformat'	=> 'scalarToList',
		],
	],

	'responsibleUser'=>[
		'type'=>		"autocomplete",
		'data'=>		"officesAndUsers",
		'refactorCompat'=> [
			'reformat_officesAndUsers' => ['users'=>'idUsers', 'offices'=>'idOffices']
		],
	],

	'expireDate'=>[
		'mandatory'=>	false,
		'type'=>		"dateInterval",
	],

	'addDate'=>[
		'mandatory'=>	false,
		'type'=>		"dateInterval",
	],

];

