<?php

// SERVICES MAIN LIST PARAMS //////////////////////////////////////////////////////////////////
$CFG['Orders']['ServicesList']['listingParams']['resultsPerPage']=10;
$CFG['Orders']['ServicesList']['listingParams']['orderColumn']='id';
$CFG['Orders']['ServicesList']['listingParams']['orderDirection']='DESC';

$CFG['Orders']['ServicesList']['listingParams']['filters']['orderDate']['start'] = date(MYSQL_FORMAT, strtotime("-1 month"));
$CFG['Orders']['ServicesList']['listingParams']['filters']['orderDate']['end'] = TODAY_ISO;
$CFG['Orders']['ServicesList']['listingParams']['filters']['orderDate']['maxDifference'] = 731; // 2 years max difference + 1 day, to compensate bissect years
$CFG['Orders']['ServicesList']['listingParams']['filters']['responsibleUserOffice']['id']=CURRENT_ID_OFFICE."|".CURRENT_ID_USER;

$CFG['Orders']['ServicesList']['listingParams']['filters']['serviceStatusOp']  = ['NP', 'PE', 'OF', 'OK', 'XX'];
$CFG['Orders']['ServicesList']['listingParams']['filters']['serviceStatusFin'] = ['NI', 'PI', 'TI'];

// possible values: all, services, subservices, packages
$CFG['Orders']['ServicesList']['listingParams']['filters']['subservices'] = 'all';
