<?php

namespace App\Reports\Sources\ImportedServices;

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

	protected array $filtersCfg = [

		// imported service add date
		'impServAddDate'	=> [ 'type' => 'dateInterval', 'mandatory' => true ],
		// imported order date
		'impOrdDate'		=> [ 'type' => "dateInterval" ],
		// external system
		'impOrdExtSystems'	=> [ 'type' => 'impOrderExtSystems' ], // TODO: [refactorReportSerialization] renamed impOrdExtSystem -> impOrdExtSystems
		// service code
		'serviceType'		=> [ 'type' => "servicesSimple" ], // TODO: [refactorReportSerialization] renamed serviceCode -> serviceType
		// imported order owner corporate
		'idOwnerCorporates'	=> [ 'type' => 'corporates' ], // TODO: [refactorReportSerialization] renamed impOrdOwnerCorporate -> idOwnerCorporates
		// process status
		'processStatus'		=> [ 'type' => 'impServProcessStatus' ],
		// external system status
		'systemStatus'		=> [ 'type' => 'impServSystemStatus' ], // TODO: [refactorReportSerialization] renamed impServExtSysStatus-> systemStatus
		// responsible users/offices
		'idRespUsers'		=> ['type' => 'users' ], // TODO: [refactorReportSerialization] responsibleUser -> idRespUsers
		'idRespOffices'		=> ['type' => 'offices' ], // TODO: [refactorReportSerialization] responsibleUser -> idRespOffices
		// ticket date
		'ticketDate'=> ['type' => "dateInterval" ],

	];

}
