<?php
 $CFG['globalEntity']['::SupplierContract']['idSupplier']['mandatory']=true; $CFG['globalEntity']['::SupplierContract']['idSupplier']['invisible']=false; $CFG['globalEntity']['::SupplierContract']['idSupplier']['validation']= ['minValue'=>1, 'type'=>'int']; $CFG['globalEntity']['::SupplierContract']['serviceCode']['mandatory']=false; $CFG['globalEntity']['::SupplierContract']['serviceCode']['invisible']=false; $CFG['globalEntity']['::SupplierContract']['serviceCode']['validation']= ['maxLength'=>2]; $CFG['globalEntity']['::SupplierContract']['contractNumber']['mandatory']=true; $CFG['globalEntity']['::SupplierContract']['contractNumber']['invisible']=false; $CFG['globalEntity']['::SupplierContract']['contractNumber']['validation']= ['maxLength'=>50]; $CFG['globalEntity']['::SupplierContract']['contractDate']['mandatory']=true; $CFG['globalEntity']['::SupplierContract']['contractDate']['invisible']=false; $CFG['globalEntity']['::SupplierContract']['contractDate']['validation']= ['type'=>'date','maxValue'=>TODAY_ISO]; $CFG['globalEntity']['::SupplierContract']['type']['mandatory']=false; $CFG['globalEntity']['::SupplierContract']['type']['invisible']=false; $CFG['globalEntity']['::SupplierContract']['type']['validation']= ['maxLength'=>20, 'list'=>$CFG['generalData']['contractTypes']]; $CFG['globalEntity']['::SupplierContract']['expireDate']['mandatory']=false; $CFG['globalEntity']['::SupplierContract']['expireDate']['invisible']=false; $CFG['globalEntity']['::SupplierContract']['expireDate']['validation']= ['type'=>'date']; $CFG['globalEntity']['::SupplierContract']['responsible']['mandatory']=false; $CFG['globalEntity']['::SupplierContract']['responsible']['invisible']=false; $CFG['globalEntity']['::SupplierContract']['responsible']['validation']= ['minValue'=>0,'type'=>'int']; $CFG['globalEntity']['::SupplierContract']['content']['mandatory']=false; $CFG['globalEntity']['::SupplierContract']['content']['invisible']=false; $CFG['globalEntity']['::SupplierContract']['content']['validation']=[]; $CFG['globalEntity']['::SupplierContract']['fileName']['mandatory']=false; $CFG['globalEntity']['::SupplierContract']['fileName']['invisible']=false; $CFG['globalEntity']['::SupplierContract']['fileName']['validation']= ['maxLength'=>250]; $CFG['globalEntity']['::SupplierContract']['fileContent']['mandatory']=false; $CFG['globalEntity']['::SupplierContract']['fileContent']['invisible']=false; $CFG['globalEntity']['::SupplierContract']['fileContent']['validation']=[]; 