<?php

///////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////
// DOCUMENT FIELDS ////////////////////////////////////////////////////////////////////////////////
// $CFG['documents']['fieldsList'] [documentType] [fieldCode] = array() - the list of fields for //
// every type of document (associative array) /////////////////////////////////////////////////////
// THE VALUE INDICATES THE FOLLOWING: /////////////////////////////////////////////////////////////
//  - 'type' indicates the type of the value can be 'numeric', 'date', 'string', 'text', 'array', 'object',
//  - 'disabled' indicates if the field is available at all to be used on the documents ///////////
//  - 'category' indicates the category of the field //////////////////////////////////////////////
// (the boolean keys can be omitted and are considered false by default) //////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////


///////////////////////////////////////////////////////////////////////////////////////////////////
// SERVICE ////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////

$CFG['documents']['fieldsList']['service']['servId']= ['type'=>'numeric', 'category'=>'general'];
$CFG['documents']['fieldsList']['service']['servObj']= ['type'=>'object', 'category'=>'general'];
$CFG['documents']['fieldsList']['service']['documentNumber']= ['type'=>'numeric', 'category'=>'general'];
$CFG['documents']['fieldsList']['service']['documentSeriesId']= ['type'=>'numeric', 'category'=>'general'];
$CFG['documents']['fieldsList']['service']['documentSeriesCode']= ['type'=>'string', 'category'=>'general'];
$CFG['documents']['fieldsList']['service']['servImportedFrom']= ['type'=>'string', 'category'=>'general'];
$CFG['documents']['fieldsList']['service']['servCustListNames']= ['type'=>'string', 'category'=>'clients'];
$CFG['documents']['fieldsList']['service']['servCustListNames2']= ['type'=>'string', 'category'=>'clients'];
$CFG['documents']['fieldsList']['service']['servCustListNamesWithBirth']= ['type'=>'string', 'category'=>'clients'];
$CFG['documents']['fieldsList']['service']['servCustListNames2WithBirth']= ['type'=>'string', 'category'=>'clients'];
$CFG['documents']['fieldsList']['service']['servCustListNamesChdWithBirth']= ['type'=>'string', 'category'=>'clients'];
$CFG['documents']['fieldsList']['service']['servCustListNamesChdWithAge']= ['type'=>'string', 'category'=>'clients'];
$CFG['documents']['fieldsList']['service']['servCustListNamesWithType']= ['type'=>'string', 'category'=>'clients'];
$CFG['documents']['fieldsList']['service']['servCustListNamesWithTitle']= ['type'=>'string', 'category'=>'clients'];
$CFG['documents']['fieldsList']['service']['servCustNationalities']= ['type'=>'string', 'category'=>'clients'];
$CFG['documents']['fieldsList']['service']['servCustListNamesWithPNC']= ['type'=>'string', 'category'=>'clients'];
$CFG['documents']['fieldsList']['service']['servCustListNames2WithPNC']= ['type'=>'string', 'category'=>'clients'];
$CFG['documents']['fieldsList']['service']['servTotalPax']= ['type'=>'numeric', 'category'=>'clients'];
$CFG['documents']['fieldsList']['service']['servPaxDetails']= ['type'=>'string', 'category'=>'clients'];
$CFG['documents']['fieldsList']['service']['servPaxAdultsCount']= ['type'=>'numeric', 'category'=>'clients'];
$CFG['documents']['fieldsList']['service']['servPaxChildrenCount']= ['type'=>'numeric', 'category'=>'clients'];
$CFG['documents']['fieldsList']['service']['servPaxInfantsCount']= ['type'=>'numeric', 'category'=>'clients'];
$CFG['documents']['fieldsList']['service']['servPaxFbCards']= ['type'=>'string', 'category'=>'clients'];
$CFG['documents']['fieldsList']['service']['servName']= ['type'=>'string', 'category'=>'service'];
$CFG['documents']['fieldsList']['service']['servCategory']= ['type'=>'string', 'category'=>'service'];
$CFG['documents']['fieldsList']['service']['servProductType']= ['type'=>'string', 'category'=>'service'];
$CFG['documents']['fieldsList']['service']['servMultiplier']= ['type'=>'string', 'category'=>'service'];
$CFG['documents']['fieldsList']['service']['servSource']= ['type'=>'string', 'category'=>'service'];
$CFG['documents']['fieldsList']['service']['servProductName']= ['type'=>'string', 'category'=>'service'];
$CFG['documents']['fieldsList']['service']['servSupplierServiceInOrder']= ['type'=>'string', 'category'=>'service'];
$CFG['documents']['fieldsList']['service']['servStartDateIso']= ['type'=>'date', 'category'=>'service'];
$CFG['documents']['fieldsList']['service']['servStartDateStandard']= ['type'=>'string', 'category'=>'service'];
$CFG['documents']['fieldsList']['service']['servEndDateIso']= ['type'=>'date', 'category'=>'service'];
$CFG['documents']['fieldsList']['service']['servEndDateStandard']= ['type'=>'string', 'category'=>'service'];
$CFG['documents']['fieldsList']['service']['servDuration']= ['type'=>'numeric', 'category'=>'service'];
$CFG['documents']['fieldsList']['service']['servDurationType']= ['type'=>'string', 'category'=>'service'];
$CFG['documents']['fieldsList']['service']['servDepartureCountry']= ['type'=>'string', 'category'=>'location'];
$CFG['documents']['fieldsList']['service']['servDepartureCountry2']= ['type'=>'string', 'category'=>'location'];
$CFG['documents']['fieldsList']['service']['servDepartureCity']= ['type'=>'string', 'category'=>'location'];
$CFG['documents']['fieldsList']['service']['servDepartureCity2']= ['type'=>'string', 'category'=>'location'];
$CFG['documents']['fieldsList']['service']['servDepartureAirport']= ['type'=>'string', 'category'=>'location'];
$CFG['documents']['fieldsList']['service']['servDepartureAirport2']= ['type'=>'string', 'category'=>'location'];
$CFG['documents']['fieldsList']['service']['servDepartureAirportCode']= ['type'=>'string', 'category'=>'location'];
$CFG['documents']['fieldsList']['service']['servDestinationCountry']= ['type'=>'string', 'category'=>'location'];
$CFG['documents']['fieldsList']['service']['servDestinationCountry2']= ['type'=>'string', 'category'=>'location'];
$CFG['documents']['fieldsList']['service']['servDestinationCity']= ['type'=>'string', 'category'=>'location'];
$CFG['documents']['fieldsList']['service']['servDestinationCity2']= ['type'=>'string', 'category'=>'location'];
$CFG['documents']['fieldsList']['service']['servDestinationCityOriginal']= ['type'=>'string', 'category'=>'location'];
$CFG['documents']['fieldsList']['service']['servDestinationAirport']= ['type'=>'string', 'category'=>'location'];
$CFG['documents']['fieldsList']['service']['servDestinationAirport2']= ['type'=>'string', 'category'=>'location'];
$CFG['documents']['fieldsList']['service']['servDestinationAirportCode']= ['type'=>'string', 'category'=>'location'];
$CFG['documents']['fieldsList']['service']['servItinerary']= ['type'=>'string', 'category'=>'location'];
$CFG['documents']['fieldsList']['service']['servItineraryShort']= ['type'=>'string', 'category'=>'location'];
$CFG['documents']['fieldsList']['service']['servItineraryAirportsCodes']= ['type'=>'string', 'category'=>'location'];
$CFG['documents']['fieldsList']['service']['servSupplierRecordLocator']= ['type'=>'text', 'category'=>'location'];
$CFG['documents']['fieldsList']['service']['servCancellationPolicy']= ['type'=>'text', 'category'=>'service'];
$CFG['documents']['fieldsList']['service']['servDescription']= ['type'=>'text', 'category'=>'service'];
$CFG['documents']['fieldsList']['service']['servPreferences']= ['type'=>'text', 'category'=>'service'];
$CFG['documents']['fieldsList']['service']['servComments']= ['type'=>'text', 'category'=>'service'];
$CFG['documents']['fieldsList']['service']['servRemarks']= ['type'=>'text', 'category'=>'service'];
$CFG['documents']['fieldsList']['service']['servTicketsDateIso']= ['type'=>'date', 'category'=>'service'];
$CFG['documents']['fieldsList']['service']['servTicketsDateStandard']= ['type'=>'string', 'category'=>'service'];
$CFG['documents']['fieldsList']['service']['servTicketsList']= ['type'=>'string', 'category'=>'service'];
$CFG['documents']['fieldsList']['service']['servTicketsList2']= ['type'=>'string', 'category'=>'service'];
$CFG['documents']['fieldsList']['service']['servTicketFlightNumber']= ['type'=>'string', 'category'=>'service'];
$CFG['documents']['fieldsList']['service']['servExtSysResId']= ['type'=>'string', 'category'=>'service'];
$CFG['documents']['fieldsList']['service']['servExtSysResDateIso']= ['type'=>'date', 'category'=>'service'];
$CFG['documents']['fieldsList']['service']['servExtSysResDateStandard']= ['type'=>'string', 'category'=>'service'];
$CFG['documents']['fieldsList']['service']['servStatusOpName']= ['type'=>'string', 'category'=>'general'];
$CFG['documents']['fieldsList']['service']['servStatusOpDescription']= ['type'=>'string', 'category'=>'general'];
$CFG['documents']['fieldsList']['service']['servStatusFinName']= ['type'=>'string', 'category'=>'general'];
$CFG['documents']['fieldsList']['service']['servStatusFinDescription']= ['type'=>'string', 'category'=>'general'];

$CFG['documents']['fieldsList']['service']['servOfferProductName']= ['type'=>'string', 'category'=>'offer'];
$CFG['documents']['fieldsList']['service']['servOfferType']= ['type'=>'string', 'category'=>'offer'];
$CFG['documents']['fieldsList']['service']['servOfferService']= ['type'=>'string', 'category'=>'offer'];
$CFG['documents']['fieldsList']['service']['servOfferLocation']= ['type'=>'string', 'category'=>'offer'];
$CFG['documents']['fieldsList']['service']['servOfferCalculationType']= ['type'=>'string', 'category'=>'offer'];
$CFG['documents']['fieldsList']['service']['servOfferStartDateIso']= ['type'=>'date', 'category'=>'offer'];
$CFG['documents']['fieldsList']['service']['servOfferEndDateIso']= ['type'=>'date', 'category'=>'offer'];
$CFG['documents']['fieldsList']['service']['servOfferPriceSupplier']= ['type'=>'numeric', 'category'=>'offer'];
$CFG['documents']['fieldsList']['service']['servOfferPriceCommission']= ['type'=>'numeric', 'category'=>'offer'];
$CFG['documents']['fieldsList']['service']['servOfferPriceDiscount']= ['type'=>'numeric', 'category'=>'offer'];
$CFG['documents']['fieldsList']['service']['servOfferPriceServiceFee']= ['type'=>'numeric', 'category'=>'offer'];
$CFG['documents']['fieldsList']['service']['servOfferPriceTax']= ['type'=>'numeric', 'category'=>'offer'];
$CFG['documents']['fieldsList']['service']['servOfferPriceTotal']= ['type'=>'numeric', 'category'=>'offer'];
$CFG['documents']['fieldsList']['service']['servOfferPriceCurrency']= ['type'=>'string', 'category'=>'offer'];
$CFG['documents']['fieldsList']['service']['servOfferTotalWorkCurr']= ['type'=>'numeric', 'category'=>'offer'];
$CFG['documents']['fieldsList']['service']['servOfferTotalDefCurr']= ['type'=>'numeric', 'category'=>'offer'];
$CFG['documents']['fieldsList']['service']['servOfferConfirmationNumber']= ['type'=>'string', 'category'=>'offer'];
$CFG['documents']['fieldsList']['service']['servOfferExpirationDateIso']= ['type'=>'date', 'category'=>'offer'];
$CFG['documents']['fieldsList']['service']['servOfferExpirationDateStandard']= ['type'=>'string', 'category'=>'offer'];
$CFG['documents']['fieldsList']['service']['servOfferComments']= ['type'=>'text', 'category'=>'offer'];
$CFG['documents']['fieldsList']['service']['servOfferOptionDateIso']= ['type'=>'date', 'category'=>'offer'];
$CFG['documents']['fieldsList']['service']['servOfferOptionDateStd']= ['type'=>'string', 'category'=>'offer'];
$CFG['documents']['fieldsList']['service']['servOfferCurrencyExchRateDefCurr']= ['type'=>'numeric', 'category'=>'offer'];
$CFG['documents']['fieldsList']['service']['servOfferNoPenaltyOptionDateIso']= ['type'=>'date', 'category'=>'offer'];

$CFG['documents']['fieldsList']['service']['impServItineraryCO2Emissions']= ['type'=>'string', 'category'=>'offer'];
$CFG['documents']['fieldsList']['service']['servItineraryFlightDistanceTotal']= ['type'=>'string', 'category'=>'offer'];
$CFG['documents']['fieldsList']['service']['servItineraryFlightDistances']= ['type'=>'string', 'category'=>'offer'];

$CFG['documents']['fieldsList']['service']['servSuppAlias']= ['type'=>'string', 'category'=>'supplier'];
$CFG['documents']['fieldsList']['service']['servSuppCompany']= ['type'=>'string', 'category'=>'supplier'];
$CFG['documents']['fieldsList']['service']['servSuppCompanyFull']= ['type'=>'string', 'category'=>'supplier'];
$CFG['documents']['fieldsList']['service']['servSuppCompanyPrefix']= ['type'=>'string', 'category'=>'supplier'];
$CFG['documents']['fieldsList']['service']['servSuppCompanySuffix']= ['type'=>'string', 'category'=>'supplier'];
$CFG['documents']['fieldsList']['service']['servSuppTrust']= ['type'=>'string', 'category'=>'supplier'];
$CFG['documents']['fieldsList']['service']['servSuppNameInGds']= ['type'=>'string', 'category'=>'supplier'];
$CFG['documents']['fieldsList']['service']['servSuppAddress']= ['type'=>'text', 'category'=>'supplier'];
$CFG['documents']['fieldsList']['service']['servSuppDeliveryAddress']= ['type'=>'text', 'category'=>'supplier'];
$CFG['documents']['fieldsList']['service']['servSuppZipCode']= ['type'=>'string', 'category'=>'supplier'];
$CFG['documents']['fieldsList']['service']['servSuppTelephone']= ['type'=>'string', 'category'=>'supplier'];
$CFG['documents']['fieldsList']['service']['servSuppFax']= ['type'=>'string', 'category'=>'supplier'];
$CFG['documents']['fieldsList']['service']['servSuppEmail']= ['type'=>'string', 'category'=>'supplier'];
$CFG['documents']['fieldsList']['service']['servSuppWebsite']= ['type'=>'string', 'category'=>'supplier'];
$CFG['documents']['fieldsList']['service']['servSuppRegNo']= ['type'=>'string', 'category'=>'supplier'];
$CFG['documents']['fieldsList']['service']['servSuppFiscalCode']= ['type'=>'string', 'category'=>'supplier'];

$CFG['documents']['fieldsList']['service']['servSuppServServiceName']= ['type'=>'string', 'category'=>'supplierService'];
$CFG['documents']['fieldsList']['service']['servSuppServCategory']= ['type'=>'string', 'category'=>'supplierService'];
$CFG['documents']['fieldsList']['service']['servSuppServProductName']= ['type'=>'string', 'category'=>'supplierService'];
$CFG['documents']['fieldsList']['service']['servSuppServDescription']= ['type'=>'text', 'category'=>'supplierService'];
$CFG['documents']['fieldsList']['service']['servSuppServLocalization']= ['type'=>'text', 'category'=>'supplierService'];
$CFG['documents']['fieldsList']['service']['servSuppServAddress']= ['type'=>'text', 'category'=>'supplierService'];
$CFG['documents']['fieldsList']['service']['servSuppServDepartureCountry']= ['type'=>'string', 'category'=>'supplierService'];
$CFG['documents']['fieldsList']['service']['servSuppServDepartureCity']= ['type'=>'string', 'category'=>'supplierService'];
$CFG['documents']['fieldsList']['service']['servSuppServDestinationCountry']= ['type'=>'string', 'category'=>'supplierService'];
$CFG['documents']['fieldsList']['service']['servSuppServDestinationCity']= ['type'=>'string', 'category'=>'supplierService'];
$CFG['documents']['fieldsList']['service']['servSuppServTelephone']= ['type'=>'string', 'category'=>'supplierService'];
$CFG['documents']['fieldsList']['service']['servSuppServFax']= ['type'=>'string', 'category'=>'supplierService'];
$CFG['documents']['fieldsList']['service']['servSuppServEmail']= ['type'=>'string', 'category'=>'supplierService'];
$CFG['documents']['fieldsList']['service']['servSuppServWebsite']= ['type'=>'string', 'category'=>'supplierService'];
$CFG['documents']['fieldsList']['service']['impServOfferSupplierProductObj']= ['type'=>'object', 'category'=>'supplierService'];

$CFG['documents']['fieldsList']['service']['servRespUserName']= ['type'=>'string', 'category'=>'servRespUser'];
$CFG['documents']['fieldsList']['service']['servRespUserLastName']= ['type'=>'string', 'category'=>'servRespUser'];
$CFG['documents']['fieldsList']['service']['servRespUserFirstName']= ['type'=>'string', 'category'=>'servRespUser'];
$CFG['documents']['fieldsList']['service']['servRespUserIdSeries']= ['type'=>'string', 'category'=>'servRespUser'];
$CFG['documents']['fieldsList']['service']['servRespUserIdNumber']= ['type'=>'string', 'category'=>'servRespUser'];
$CFG['documents']['fieldsList']['service']['servRespUserIdReleaseBy']= ['type'=>'string', 'category'=>'servRespUser'];
$CFG['documents']['fieldsList']['service']['servRespUserIdReleaseDateIso']= ['type'=>'date', 'category'=>'servRespUser'];
$CFG['documents']['fieldsList']['service']['servRespUserIdReleaseDateStandard']= ['type'=>'string', 'category'=>'servRespUser'];
$CFG['documents']['fieldsList']['service']['servRespUserPNC']= ['type'=>'string', 'category'=>'servRespUser'];
$CFG['documents']['fieldsList']['service']['servRespUserJob']= ['type'=>'string', 'category'=>'servRespUser'];
$CFG['documents']['fieldsList']['service']['servRespUserEmail']= ['type'=>'string', 'category'=>'servRespUser'];
$CFG['documents']['fieldsList']['service']['servRespUserEmailAlternative']= ['type'=>'string', 'category'=>'servRespUser'];
$CFG['documents']['fieldsList']['service']['servRespUserTelephone']= ['type'=>'string', 'category'=>'servRespUser'];
$CFG['documents']['fieldsList']['service']['servRespUserFax']= ['type'=>'string', 'category'=>'servRespUser'];
$CFG['documents']['fieldsList']['service']['servRespUserDeptName']= ['type'=>'string', 'category'=>'servRespUser'];
$CFG['documents']['fieldsList']['service']['servRespUserDeptCode']= ['type'=>'string', 'category'=>'servRespUser'];

$CFG['documents']['fieldsList']['service']['servRespOffName']= ['type'=>'string', 'category'=>'servRespOffice'];
$CFG['documents']['fieldsList']['service']['servRespOfficeIataCode']= ['type'=>'string', 'category'=>'servRespOffice'];
$CFG['documents']['fieldsList']['service']['servRespOffAddress']= ['type'=>'text', 'category'=>'servRespOffice'];
$CFG['documents']['fieldsList']['service']['servRespOffDeliveryAddress']= ['type'=>'text', 'category'=>'servRespOffice'];
$CFG['documents']['fieldsList']['service']['servRespOffZipCode']= ['type'=>'text', 'category'=>'servRespOffice'];
$CFG['documents']['fieldsList']['service']['servRespOffCountry']= ['type'=>'string', 'category'=>'servRespOffice'];
$CFG['documents']['fieldsList']['service']['servRespOffCity']= ['type'=>'string', 'category'=>'servRespOffice'];
$CFG['documents']['fieldsList']['service']['servRespOffTelephone']= ['type'=>'string', 'category'=>'servRespOffice'];
$CFG['documents']['fieldsList']['service']['servRespOffFax']= ['type'=>'string', 'category'=>'servRespOffice'];
$CFG['documents']['fieldsList']['service']['servRespOffEmail']= ['type'=>'string', 'category'=>'servRespOffice'];
$CFG['documents']['fieldsList']['service']['servRespOffWeb']= ['type'=>'string', 'category'=>'servRespOffice'];

$CFG['documents']['fieldsList']['service']['servAddUserName']= ['type'=>'string', 'category'=>'servAddUser'];
$CFG['documents']['fieldsList']['service']['servAddUserLastName']= ['type'=>'string', 'category'=>'servAddUser'];
$CFG['documents']['fieldsList']['service']['servAddUserFirstName']= ['type'=>'string', 'category'=>'servAddUser'];
$CFG['documents']['fieldsList']['service']['servAddUserIdSeries']= ['type'=>'string', 'category'=>'servAddUser'];
$CFG['documents']['fieldsList']['service']['servAddUserIdNumber']= ['type'=>'string', 'category'=>'servAddUser'];
$CFG['documents']['fieldsList']['service']['servAddUserIdReleaseBy']= ['type'=>'string', 'category'=>'servAddUser'];
$CFG['documents']['fieldsList']['service']['servAddUserIdReleaseDateIso']= ['type'=>'date', 'category'=>'servAddUser'];
$CFG['documents']['fieldsList']['service']['servAddUserIdReleaseDateStandard']= ['type'=>'string', 'category'=>'servAddUser'];
$CFG['documents']['fieldsList']['service']['servAddUserPNC']= ['type'=>'string', 'category'=>'servAddUser'];
$CFG['documents']['fieldsList']['service']['servAddUserJob']= ['type'=>'string', 'category'=>'servAddUser'];
$CFG['documents']['fieldsList']['service']['servAddUserEmail']= ['type'=>'string', 'category'=>'servAddUser'];
$CFG['documents']['fieldsList']['service']['servAddUserEmailAlternative']= ['type'=>'string', 'category'=>'servAddUser'];
$CFG['documents']['fieldsList']['service']['servAddUserTelephone']= ['type'=>'string', 'category'=>'servAddUser'];
$CFG['documents']['fieldsList']['service']['servAddUserFax']= ['type'=>'string', 'category'=>'servAddUser'];
$CFG['documents']['fieldsList']['service']['servAddUserDeptName']= ['type'=>'string', 'category'=>'servAddUser'];
$CFG['documents']['fieldsList']['service']['servAddUserDeptCode']= ['type'=>'string', 'category'=>'servAddUser'];

$CFG['documents']['fieldsList']['service']['resId']= ['type'=>'numeric', 'category'=>'reservation'];
$CFG['documents']['fieldsList']['service']['resConvId']= ['type'=>'string', 'category'=>'reservation'];
$CFG['documents']['fieldsList']['service']['resNumber']= ['type'=>'string', 'category'=>'reservation'];
$CFG['documents']['fieldsList']['service']['resCode']= ['type'=>'string', 'category'=>'reservation'];
$CFG['documents']['fieldsList']['service']['resDateIso']= ['type'=>'date', 'category'=>'reservation'];
$CFG['documents']['fieldsList']['service']['resDateStandard']= ['type'=>'string', 'category'=>'reservation'];
$CFG['documents']['fieldsList']['service']['resFlag']= ['type'=>'string', 'category'=>'reservation'];
$CFG['documents']['fieldsList']['service']['resServicesType']= ['type'=>'string', 'category'=>'reservation'];
$CFG['documents']['fieldsList']['service']['resResType']= ['type'=>'string', 'category'=>'reservation'];

$CFG['documents']['fieldsList']['service']['resOwnerCustId']= ['type'=>'numeric', 'category'=>'resClients'];
$CFG['documents']['fieldsList']['service']['resOwnerCustName']= ['type'=>'string', 'category'=>'resClients'];
$CFG['documents']['fieldsList']['service']['resOwnerCustLastName']= ['type'=>'string', 'category'=>'resClients'];
$CFG['documents']['fieldsList']['service']['resOwnerCustFirstName']= ['type'=>'string', 'category'=>'resClients'];
$CFG['documents']['fieldsList']['service']['resOwnerCustTitle']= ['type'=>'string', 'category'=>'resClients'];
$CFG['documents']['fieldsList']['service']['resOwnerCustCountryName']= ['type'=>'string', 'category'=>'resClients'];
$CFG['documents']['fieldsList']['service']['resOwnerCustCityName']= ['type'=>'string', 'category'=>'resClients'];
$CFG['documents']['fieldsList']['service']['resOwnerCustPNC']= ['type'=>'string', 'category'=>'resClients'];
$CFG['documents']['fieldsList']['service']['resOwnerCustIdSeries']= ['type'=>'string', 'category'=>'resClients'];
$CFG['documents']['fieldsList']['service']['resOwnerCustIdNumber']= ['type'=>'string', 'category'=>'resClients'];
$CFG['documents']['fieldsList']['service']['resOwnerCustIdReleaseBy']= ['type'=>'string', 'category'=>'resClients'];
$CFG['documents']['fieldsList']['service']['resOwnerCustIdReleaseDateIso']= ['type'=>'date', 'category'=>'resClients'];
$CFG['documents']['fieldsList']['service']['resOwnerCustIdReleaseDateStandard']= ['type'=>'string', 'category'=>'resClients'];
$CFG['documents']['fieldsList']['service']['resOwnerCustPassportNo']= ['type'=>'string', 'category'=>'resClients'];
$CFG['documents']['fieldsList']['service']['resOwnerCustPassportType']= ['type'=>'string', 'category'=>'resClients'];
$CFG['documents']['fieldsList']['service']['resOwnerCustPassportExpireDateIso']= ['type'=>'date', 'category'=>'resClients'];
$CFG['documents']['fieldsList']['service']['resOwnerCustPassportExpireDateStandard']= ['type'=>'string', 'category'=>'resClients'];
$CFG['documents']['fieldsList']['service']['resOwnerCustAddress']= ['type'=>'string', 'category'=>'resClients'];
$CFG['documents']['fieldsList']['service']['resOwnerCustDeliveryAddress']= ['type'=>'string', 'category'=>'resClients'];
$CFG['documents']['fieldsList']['service']['resOwnerCustZipCode']= ['type'=>'string', 'category'=>'resClients'];
$CFG['documents']['fieldsList']['service']['resOwnerCustBankName']= ['type'=>'string', 'category'=>'resClients'];
$CFG['documents']['fieldsList']['service']['resOwnerCustBankAccount']= ['type'=>'string', 'category'=>'resClients'];
$CFG['documents']['fieldsList']['service']['resOwnerCustTelephone']= ['type'=>'string', 'category'=>'resClients'];
$CFG['documents']['fieldsList']['service']['resOwnerCustFax']= ['type'=>'string', 'category'=>'resClients'];
$CFG['documents']['fieldsList']['service']['resOwnerCustEmail']= ['type'=>'string', 'category'=>'resClients'];
$CFG['documents']['fieldsList']['service']['resCustListNames']= ['type'=>'string', 'category'=>'resClients'];
$CFG['documents']['fieldsList']['service']['resOwnerCorpId']= ['type'=>'numeric', 'category'=>'resClients'];
$CFG['documents']['fieldsList']['service']['resOwnerCorpCompany']= ['type'=>'string', 'category'=>'resClients'];
$CFG['documents']['fieldsList']['service']['resOwnerCorpCompanyFull']= ['type'=>'string', 'category'=>'resClients'];
$CFG['documents']['fieldsList']['service']['resOwnerCorpCompanyPrefix']= ['type'=>'string', 'category'=>'resClients'];
$CFG['documents']['fieldsList']['service']['resOwnerCorpCompanySuffix']= ['type'=>'string', 'category'=>'resClients'];
$CFG['documents']['fieldsList']['service']['resOwnerCorpAlias']= ['type'=>'string', 'category'=>'resClients'];
$CFG['documents']['fieldsList']['service']['resOwnerCorpTrust']= ['type'=>'string', 'category'=>'resClients'];
$CFG['documents']['fieldsList']['service']['resOwnerCorpFiscalCode']= ['type'=>'string', 'category'=>'resClients'];
$CFG['documents']['fieldsList']['service']['resOwnerCorpRegNo']= ['type'=>'string', 'category'=>'resClients'];
$CFG['documents']['fieldsList']['service']['resOwnerCorpTelephone']= ['type'=>'string', 'category'=>'resClients'];
$CFG['documents']['fieldsList']['service']['resOwnerCorpFax']= ['type'=>'string', 'category'=>'resClients'];
$CFG['documents']['fieldsList']['service']['resOwnerCorpEmail']= ['type'=>'string', 'category'=>'resClients'];
$CFG['documents']['fieldsList']['service']['resOwnerCorpMainOffAddress']= ['type'=>'string', 'category'=>'resClients'];
$CFG['documents']['fieldsList']['service']['resOwnerCorpMainOffCityId']= ['type'=>'numeric', 'category'=>'resClients'];
$CFG['documents']['fieldsList']['service']['resOwnerCorpMainOffCityName']= ['type'=>'string', 'category'=>'resClients'];
$CFG['documents']['fieldsList']['service']['resOwnerCorpMainOffCountryCode']= ['type'=>'string', 'category'=>'resClients'];
$CFG['documents']['fieldsList']['service']['resOwnerCorpMainOffCountryName']= ['type'=>'string', 'category'=>'resClients'];
$CFG['documents']['fieldsList']['service']['resCorpListNames']= ['type'=>'string', 'category'=>'resClients'];
$CFG['documents']['fieldsList']['service']['resContactPersonName']= ['type'=>'string', 'category'=>'resClients'];
$CFG['documents']['fieldsList']['service']['resTotalPax']= ['type'=>'numeric', 'category'=>'resClients'];
$CFG['documents']['fieldsList']['service']['resPaxDetails']= ['type'=>'string', 'category'=>'resClients'];

$CFG['documents']['fieldsList']['service']['resDescription']= ['type'=>'text', 'category'=>'reservation'];
$CFG['documents']['fieldsList']['service']['resComments']= ['type'=>'text', 'category'=>'reservation'];
$CFG['documents']['fieldsList']['service']['resStatusOpName']= ['type'=>'string', 'category'=>'reservation'];
$CFG['documents']['fieldsList']['service']['resStatusOpDescription']= ['type'=>'string', 'category'=>'reservation'];
$CFG['documents']['fieldsList']['service']['resStatusFinName']= ['type'=>'string', 'category'=>'reservation'];
$CFG['documents']['fieldsList']['service']['resStatusFinDescription']= ['type'=>'string', 'category'=>'reservation'];

$CFG['documents']['fieldsList']['service']['resRespUserName']= ['type'=>'string', 'category'=>'resRespUser'];
$CFG['documents']['fieldsList']['service']['resRespUserLastName']= ['type'=>'string', 'category'=>'resRespUser'];
$CFG['documents']['fieldsList']['service']['resRespUserFirstName']= ['type'=>'string', 'category'=>'resRespUser'];
$CFG['documents']['fieldsList']['service']['resRespUserIdSeries']= ['type'=>'string', 'category'=>'resRespUser'];
$CFG['documents']['fieldsList']['service']['resRespUserIdNumber']= ['type'=>'string', 'category'=>'resRespUser'];
$CFG['documents']['fieldsList']['service']['resRespUserIdReleaseBy']= ['type'=>'string', 'category'=>'resRespUser'];
$CFG['documents']['fieldsList']['service']['resRespUserIdReleaseDateIso']= ['type'=>'date', 'category'=>'resRespUser'];
$CFG['documents']['fieldsList']['service']['resRespUserIdReleaseDateStandard']= ['type'=>'string', 'category'=>'resRespUser'];
$CFG['documents']['fieldsList']['service']['resRespUserPNC']= ['type'=>'string', 'category'=>'resRespUser'];
$CFG['documents']['fieldsList']['service']['resRespUserJob']= ['type'=>'string', 'category'=>'resRespUser'];
$CFG['documents']['fieldsList']['service']['resRespUserEmail']= ['type'=>'string', 'category'=>'resRespUser'];
$CFG['documents']['fieldsList']['service']['resRespUserEmailAlternative']= ['type'=>'string', 'category'=>'resRespUser'];
$CFG['documents']['fieldsList']['service']['resRespUserTelephone']= ['type'=>'string', 'category'=>'resRespUser'];
$CFG['documents']['fieldsList']['service']['resRespUserFax']= ['type'=>'string', 'category'=>'resRespUser'];
$CFG['documents']['fieldsList']['service']['resRespUserDeptName']= ['type'=>'string', 'category'=>'resRespUser'];
$CFG['documents']['fieldsList']['service']['resRespUserDeptCode']= ['type'=>'string', 'category'=>'resRespUser'];

$CFG['documents']['fieldsList']['service']['resRespOffName']= ['type'=>'string', 'category'=>'resRespOffice'];
$CFG['documents']['fieldsList']['service']['resRespOffIataCode']= ['type'=>'string', 'category'=>'resRespOffice'];
$CFG['documents']['fieldsList']['service']['resRespOffAddress']= ['type'=>'text', 'category'=>'resRespOffice'];
$CFG['documents']['fieldsList']['service']['resRespOffDeliveryAddress']= ['type'=>'text', 'category'=>'resRespOffice'];
$CFG['documents']['fieldsList']['service']['resRespOffZipCode']= ['type'=>'text', 'category'=>'resRespOffice'];
$CFG['documents']['fieldsList']['service']['resRespOffCountry']= ['type'=>'string', 'category'=>'resRespOffice'];
$CFG['documents']['fieldsList']['service']['resRespOffCity']= ['type'=>'string', 'category'=>'resRespOffice'];
$CFG['documents']['fieldsList']['service']['resRespOffTelephone']= ['type'=>'string', 'category'=>'resRespOffice'];
$CFG['documents']['fieldsList']['service']['resRespOffFax']= ['type'=>'string', 'category'=>'resRespOffice'];
$CFG['documents']['fieldsList']['service']['resRespOffEmail']= ['type'=>'string', 'category'=>'resRespOffice'];
$CFG['documents']['fieldsList']['service']['resRespOffWeb']= ['type'=>'string', 'category'=>'resRespOffice'];

$CFG['documents']['fieldsList']['service']['resAddUserName']= ['type'=>'string', 'category'=>'resAddUser'];
$CFG['documents']['fieldsList']['service']['resAddUserLastName']= ['type'=>'string', 'category'=>'resAddUser'];
$CFG['documents']['fieldsList']['service']['resAddUserFirstName']= ['type'=>'string', 'category'=>'resAddUser'];
$CFG['documents']['fieldsList']['service']['resAddUserIdSeries']= ['type'=>'string', 'category'=>'resAddUser'];
$CFG['documents']['fieldsList']['service']['resAddUserIdNumber']= ['type'=>'string', 'category'=>'resAddUser'];
$CFG['documents']['fieldsList']['service']['resAddUserIdReleaseBy']= ['type'=>'string', 'category'=>'resAddUser'];
$CFG['documents']['fieldsList']['service']['resAddUserIdReleaseDateIso']= ['type'=>'date', 'category'=>'resAddUser'];
$CFG['documents']['fieldsList']['service']['resAddUserIdReleaseDateStandard']= ['type'=>'string', 'category'=>'resAddUser'];
$CFG['documents']['fieldsList']['service']['resAddUserPNC']= ['type'=>'string', 'category'=>'resAddUser'];
$CFG['documents']['fieldsList']['service']['resAddUserJob']= ['type'=>'string', 'category'=>'resAddUser'];
$CFG['documents']['fieldsList']['service']['resAddUserEmail']= ['type'=>'string', 'category'=>'resAddUser'];
$CFG['documents']['fieldsList']['service']['resAddUserEmailAlternative']= ['type'=>'string', 'category'=>'resAddUser'];
$CFG['documents']['fieldsList']['service']['resAddUserTelephone']= ['type'=>'string', 'category'=>'resAddUser'];
$CFG['documents']['fieldsList']['service']['resAddUserFax']= ['type'=>'string', 'category'=>'resAddUser'];
$CFG['documents']['fieldsList']['service']['resAddUserDeptName']= ['type'=>'string', 'category'=>'resAddUser'];
$CFG['documents']['fieldsList']['service']['resAddUserDeptCode']= ['type'=>'string', 'category'=>'resAddUser'];

$CFG['documents']['fieldsList']['service']['compName']= ['type'=>'string', 'category'=>'company'];
$CFG['documents']['fieldsList']['service']['compFiscalCode']= ['type'=>'string', 'category'=>'company'];
$CFG['documents']['fieldsList']['service']['compRegNo']= ['type'=>'string', 'category'=>'company'];
$CFG['documents']['fieldsList']['service']['compRegistryAddress']= ['type'=>'string', 'category'=>'company'];
$CFG['documents']['fieldsList']['service']['compRegistryAddress2']= ['type'=>'string', 'category'=>'company'];
$CFG['documents']['fieldsList']['service']['compLiablePerson']= ['type'=>'string', 'category'=>'company'];
$CFG['documents']['fieldsList']['service']['compTravelLicenseNo']= ['type'=>'string', 'category'=>'company'];
$CFG['documents']['fieldsList']['service']['compRegCapital']= ['type'=>'string', 'category'=>'company'];
$CFG['documents']['fieldsList']['service']['compTelephone']= ['type'=>'string', 'category'=>'company'];
$CFG['documents']['fieldsList']['service']['compEmail']= ['type'=>'string', 'category'=>'company'];
$CFG['documents']['fieldsList']['service']['compFax']= ['type'=>'string', 'category'=>'company'];
$CFG['documents']['fieldsList']['service']['compBankMainAccAccount']= ['type'=>'string', 'category'=>'company'];
$CFG['documents']['fieldsList']['service']['compBankMainAccBankName']= ['type'=>'string', 'category'=>'company'];
$CFG['documents']['fieldsList']['service']['compBankMainAccBankCode']= ['type'=>'string', 'category'=>'company'];
$CFG['documents']['fieldsList']['service']['compBankMainAccCurrency']= ['type'=>'string', 'category'=>'company'];
$CFG['documents']['fieldsList']['service']['compBankMainAccSwiftCode']= ['type'=>'string', 'category'=>'company'];

$CFG['documents']['fieldsList']['service']['currUserId']= ['type'=>'numeric', 'category'=>'currUser'];
$CFG['documents']['fieldsList']['service']['currUserName']= ['type'=>'string', 'category'=>'currUser'];
$CFG['documents']['fieldsList']['service']['currUserLastName']= ['type'=>'string', 'category'=>'currUser'];
$CFG['documents']['fieldsList']['service']['currUserFirstName']= ['type'=>'string', 'category'=>'currUser'];
$CFG['documents']['fieldsList']['service']['currUserIdSeries']= ['type'=>'string', 'category'=>'currUser'];
$CFG['documents']['fieldsList']['service']['currUserIdNumber']= ['type'=>'string', 'category'=>'currUser'];
$CFG['documents']['fieldsList']['service']['currUserIdReleaseBy']= ['type'=>'string', 'category'=>'currUser'];
$CFG['documents']['fieldsList']['service']['currUserIdReleaseDateIso']= ['type'=>'date', 'category'=>'currUser'];
$CFG['documents']['fieldsList']['service']['currUserIdReleaseDateStandard']= ['type'=>'string', 'category'=>'currUser'];
$CFG['documents']['fieldsList']['service']['currUserPNC']= ['type'=>'string', 'category'=>'currUser'];
$CFG['documents']['fieldsList']['service']['currUserJob']= ['type'=>'string', 'category'=>'currUser'];
$CFG['documents']['fieldsList']['service']['currUserEmail']= ['type'=>'string', 'category'=>'currUser'];
$CFG['documents']['fieldsList']['service']['currUserEmailAlternative']= ['type'=>'string', 'category'=>'currUser'];
$CFG['documents']['fieldsList']['service']['currUserTelephone']= ['type'=>'string', 'category'=>'currUser'];
$CFG['documents']['fieldsList']['service']['currUserFax']= ['type'=>'string', 'category'=>'currUser'];
$CFG['documents']['fieldsList']['service']['currUserDeptName']= ['type'=>'string', 'category'=>'currUser'];
$CFG['documents']['fieldsList']['service']['currUserDeptCode']= ['type'=>'string', 'category'=>'currUser'];

$CFG['documents']['fieldsList']['service']['currOffName']= ['type'=>'string', 'category'=>'currOffice'];
$CFG['documents']['fieldsList']['service']['currOffIataCode']= ['type'=>'string', 'category'=>'currOffice'];
$CFG['documents']['fieldsList']['service']['currOffAddress']= ['type'=>'text', 'category'=>'currOffice'];
$CFG['documents']['fieldsList']['service']['currOffDeliveryAddress']= ['type'=>'text', 'category'=>'currOffice'];
$CFG['documents']['fieldsList']['service']['currOffZipCode']= ['type'=>'text', 'category'=>'currOffice'];
$CFG['documents']['fieldsList']['service']['currOffCountry']= ['type'=>'string', 'category'=>'currOffice'];
$CFG['documents']['fieldsList']['service']['currOffCity']= ['type'=>'string', 'category'=>'currOffice'];
$CFG['documents']['fieldsList']['service']['currOffTelephone']= ['type'=>'string', 'category'=>'currOffice'];
$CFG['documents']['fieldsList']['service']['currOffFax']= ['type'=>'string', 'category'=>'currOffice'];
$CFG['documents']['fieldsList']['service']['currOffEmail']= ['type'=>'string', 'category'=>'currOffice'];
$CFG['documents']['fieldsList']['service']['currOffWeb']= ['type'=>'string', 'category'=>'currOffice'];

$CFG['documents']['fieldsList']['service']['mainOffName']= ['type'=>'string', 'category'=>'mainOffice'];
$CFG['documents']['fieldsList']['service']['mainOffIataCode']= ['type'=>'string', 'category'=>'mainOffice'];
$CFG['documents']['fieldsList']['service']['mainOffAddress']= ['type'=>'text', 'category'=>'mainOffice'];
$CFG['documents']['fieldsList']['service']['mainOffDeliveryAddress']= ['type'=>'text', 'category'=>'mainOffice'];
$CFG['documents']['fieldsList']['service']['mainOffZipCode']= ['type'=>'text', 'category'=>'mainOffice'];
$CFG['documents']['fieldsList']['service']['mainOffCountry']= ['type'=>'string', 'category'=>'mainOffice'];
$CFG['documents']['fieldsList']['service']['mainOffCity']= ['type'=>'string', 'category'=>'mainOffice'];
$CFG['documents']['fieldsList']['service']['mainOffTelephone']= ['type'=>'string', 'category'=>'mainOffice'];
$CFG['documents']['fieldsList']['service']['mainOffFax']= ['type'=>'string', 'category'=>'mainOffice'];
$CFG['documents']['fieldsList']['service']['mainOffEmail']= ['type'=>'string', 'category'=>'mainOffice'];
$CFG['documents']['fieldsList']['service']['mainOffWeb']= ['type'=>'string', 'category'=>'mainOffice'];

$CFG['documents']['fieldsList']['service']['dateTimeTodayIso']= ['type'=>'date', 'category'=>'dateTime'];
$CFG['documents']['fieldsList']['service']['dateTimeTodayStandard']= ['type'=>'string', 'category'=>'dateTime'];
$CFG['documents']['fieldsList']['service']['dateTimeTodayYear']= ['type'=>'numeric', 'category'=>'dateTime'];
$CFG['documents']['fieldsList']['service']['dateTimeTodayMonth']= ['type'=>'numeric', 'category'=>'dateTime'];
$CFG['documents']['fieldsList']['service']['dateTimeTodayMonthNameLong']= ['type'=>'string', 'category'=>'dateTime'];
$CFG['documents']['fieldsList']['service']['dateTimeTodayMonthNameShort']= ['type'=>'string', 'category'=>'dateTime'];
$CFG['documents']['fieldsList']['service']['dateTimeTodayDay']= ['type'=>'numeric', 'category'=>'dateTime'];
$CFG['documents']['fieldsList']['service']['dateTimeTimestamp']= ['type'=>'numeric', 'category'=>'dateTime'];
$CFG['documents']['fieldsList']['service']['dateTimeHourMin']= ['type'=>'string', 'category'=>'dateTime'];
$CFG['documents']['fieldsList']['service']['dateTimeHourMinSec']= ['type'=>'string', 'category'=>'dateTime'];
$CFG['documents']['fieldsList']['service']['dateTimeWeekDayShort']= ['type'=>'string', 'category'=>'dateTime'];
$CFG['documents']['fieldsList']['service']['dateTimeWeekDayLong']= ['type'=>'string', 'category'=>'dateTime'];
$CFG['documents']['fieldsList']['service']['dateTimeWeekNumber']= ['type'=>'numeric', 'category'=>'dateTime'];


///////////////////////////////////////////////////////////////////////////////////////////////////
// SERVICE CUSTOM FIELDS LIST /////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////

$CFG['documents']['customFieldsList']['service']= [
	'customText01',
	'customText02',
	'customText03',
	'customText04',
	'customText05',
	'customText06',
	'customText07',
	'customText08',
	'customText09',
	'customText10',
	'customText11',
	'customText12',
	'customText13',
	'customText14',
	'customText15',
	'customText16',
	'customText17',
	'customText18',
	'customText19',
	'customText20',
];



?>