<?php

namespace App\Reports\Sources\InvoicePaymentDocs;

class FiltersManager extends \App\Reports\Sources\FiltersManagerAbstract
{

	protected array $filtersCfg = [
		'docDate'			=> [ 'type' => "dateInterval", 'mandatory' => true ],
		'docType'			=> [ 'type' => "paymentDocTypes" ],
		'idDocRespUsers'	=> [ 'type' => 'users' ],  // TODO: [refactorReportSerialization] docRespOfficeUser -> idDocRespUsers
		'idDocRespOffices'	=> [ 'type' => 'offices' ],  // TODO: [refactorReportSerialization] docRespOfficeUser -> idDocRespOffices

		'invDate'			=> [ 'type' => "dateInterval" ],
		'invDueDate'		=> [ 'type' => "dateInterval" ],
		'idInvSuppliers'	=> [ 'type' => 'suppliers' ], // TODO: [refactorReportSerialization] invSupplier -> idInvSuppliers
		'invFinStatus'		=> [ 'type' => 'supplierInvoiceFinStatus' ],
		'idInvRespUsers'	=> [ 'type' => 'users' ],  // TODO: [refactorReportSerialization] invRespOfficeUser -> idInvRespUsers
		'idInvRespOffices'	=> [ 'type' => 'offices' ],  // TODO: [refactorReportSerialization] invRespOfficeUser -> idInvRespOffices
	];

}