<?php
 $CFG['reportsManagement']['adminReport']['filtersList']['clientInvoiceRows'] = [ 'clientType' => [ 'type' => "checkbox", 'data' => "clientType", ], 'customer' => [ 'type' => "autocomplete", 'data' => "customer", 'refactorCompat'=> [ 'renameTo' => 'idCustomers', 'reformat' => 'scalarToList', ], ], 'corporate' => [ 'type' => "autocomplete", 'data' => "corporate", 'refactorCompat'=> [ 'renameTo' => 'idCorporates', 'reformat' => 'scalarToList', ], ], 'clientCorporateKeyAccount' => [ 'type' => "autocomplete", 'data' => "officesAndUsers", 'refactorCompat'=> [ 'reformat_officesAndUsers' => ['users'=>'idCorporateKams'] ], ], 'invoiceDate' => [ 'type' => "dateInterval", 'mandatory' => true, ], 'invoiceDueDate' => [ 'type' => "dateInterval", ], 'invoiceCashedStatus' => [ 'type' => "checkbox", 'data' => "cashedStatus", 'refactorCompat'=> [ 'renameTo' => 'cashedStatus', ], ], 'issued' => [ 'type' => "checkbox", 'data' => 'boolean', ], 'voided' => [ 'type' => "checkbox", 'data' => 'boolean', ], 'responsibleUser' => [ 'type' => "autocomplete", 'data' => "officesAndUsers", 'refactorCompat'=> [ 'reformat_officesAndUsers' => ['users'=>'idRespUsers', 'offices'=>'idRespOffices'] ], ], 'responsibleDepartment' => [ 'type' => "autocomplete", 'data' => "departments", 'refactorCompat'=> [ 'renameTo' => 'idRespDepartments', 'reformat' => 'scalarToList', ], ], 'corporateGroups'=>[ 'type'=>"selectMultiple", 'data'=>"corporateGroups" ], ];