<?php
$CFG['reportsManagement']['adminReport']['filtersList']['balancesList'] = [

	'balanceDate' => [
		'type' => "dateInterval",
		'mandatory' => true,
	],
	'responsibleOfficeUser' => [
		'type' => "autocomplete",
		'data' => "officesAndUsers",
		'refactorCompat'=> [
			'reformat_officesAndUsers' => ['users'=>'idRespUsers', 'offices'=>'idRespOffices']
		],
	],
	'responsibleDept' => [
		'type' => "autocomplete",
		'data' => "departments",
		'refactorCompat'=> [
			'renameTo'	=> 'idRespDepartments',
			'reformat'	=> 'scalarToList',
		],
	],
];