<?php
 $CFG['reportsManagement']['adminReport']['filtersList']['invoicePaymentDocs'] = [ 'docDate' => [ 'type' => "dateInterval", 'mandatory' => true, ], 'docType' => [ 'type' => "checkbox", 'data' => "paymentDocTypes", ], 'invDate' => [ 'type' => "dateInterval", ], 'invDueDate' => [ 'type' => "dateInterval", ], 'invSupplier' => [ 'type' => "autocomplete", 'data' => "supplier", 'refactorCompat'=> [ 'renameTo' => 'idInvSuppliers', 'reformat' => 'scalarToList', ], ], 'invFinStatus' => [ 'type' => "checkbox", 'data' => "supplierInvoiceFinStatus", ], 'invRespOfficeUser' => [ 'type' => "autocomplete", 'data' => "officesAndUsers", 'refactorCompat'=> [ 'reformat_officesAndUsers' => ['users'=>'idInvRespUsers', 'offices'=>'idInvRespOffices'] ], ], 'docRespOfficeUser' => [ 'type' => "autocomplete", 'data' => "officesAndUsers", 'refactorCompat'=> [ 'reformat_officesAndUsers' => ['users'=>'idDocRespUsers', 'offices'=>'idDocRespOffices'] ], ], ]; 