lite.php 1.3 KB

1234567891011121314151617181920212223
  1. <?php
  2. $config->project->create->requiredFields = str_replace(',workflowGroup', '', $config->project->create->requiredFields);
  3. $config->project->edit->requiredFields = str_replace(',workflowGroup', '', $config->project->edit->requiredFields);
  4. $config->project->list->exportFields = 'id,code,name,status,PM,desc';
  5. if(!isset($config->project->datatable)) $config->project->datatable = new stdclass();
  6. $config->project->dtable->defaultField = array('id', 'name', 'status', 'PM', 'begin', 'end', 'progress', 'actions');
  7. unset($config->project->dtable->fieldList['budget']);
  8. unset($config->project->search['fields']['hasProduct']);
  9. unset($config->project->search['fields']['parent']);
  10. unset($config->project->search['fields']['model']);
  11. $config->project->dtable->team->fieldList['role']['align'] = 'left';
  12. unset($config->project->dtable->team->fieldList['join']);
  13. unset($config->project->dtable->team->fieldList['days']);
  14. unset($config->project->dtable->team->fieldList['hours']);
  15. unset($config->project->dtable->team->fieldList['total']);
  16. unset($config->project->dtable->team->fieldList['limited']);
  17. $config->project->dtable->fieldList['actions']['menu'] = array(array('start|activate|close', 'other' => array('suspend', 'activate|close')), 'edit', 'group', 'whitelist', 'delete');