<?php

// CORPORATE CONTACT PERSONS REPORT FILTERS ///////////////////////////////////////////////////////
$CFG['reportsManagement']['adminReport']['filtersList']['corporateContactPersons'] = [

	'corporate' => [
		'type' => "autocomplete",
		'data' => "corporate",
		'refactorCompat'=> [
			'renameTo'	=> 'idCorporates',
			'reformat'	=> 'scalarToList',
		],
	],

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

	'addOfficeUser' => [
		'type' => "autocomplete",
		'data' => "officesAndUsers",
		'refactorCompat'=> [
			'reformat_officesAndUsers' => ['users'=>'idAddUsers', 'offices'=>'idAddOffices']
		],
	],

];
