<?php
$module_name = 'AM_TaskTemplates';
$viewdefs [$module_name] =
array(
  'QuickCreate' =>
  array(
    'templateMeta' =>
    array(
      'maxColumns' => '2',
      'widths' =>
      array(
        0 =>
        array(
          'label' => '10',
          'field' => '30',
        ),
        1 =>
        array(
          'label' => '10',
          'field' => '30',
        ),
      ),
      'useTabs' => false,
      'tabDefs' =>
      array(
        'DEFAULT' =>
        array(
          'newTab' => false,
          'panelDefault' => 'expanded',
        ),
      ),
    ),
    'panels' =>
    array(
      'default' =>
      array(
        0 =>
        array(
          0 => 'name',
          1 =>
          array(
            'name' => 'duration',
            'label' => 'LBL_DURATION',
          ),
        ),
        1 =>
        array(
          0 =>
          array(
            'name' => 'status',
            'studio' => 'visible',
            'label' => 'LBL_STATUS',
          ),
          1 =>
          array(
            'name' => 'priority',
            'studio' => 'visible',
            'label' => 'LBL_PRIORITY',
          ),
        ),
        2 =>
        array(
          0 =>
          array(
            'name' => 'milestone_flag',
            'label' => 'LBL_MILESTONE_FLAG',
          ),
          1 =>
          array(
            'name' => 'order_number',
            'label' => 'LBL_ORDER_NUMBER',
          ),
        ),
        3 =>
        array(
          0 =>
          array(
            'name' => 'predecessors',
            'label' => 'LBL_PREDECESSORS',
          ),
          1 =>
          array(
            'name' => 'percent_complete',
            'label' => 'LBL_PERCENT_COMPLETE',
          ),
        ),
        4 =>
        array(
          0 =>
          array(
            'name' => 'task_number',
            'label' => 'LBL_TASK_NUMBER',
          ),
          1 =>
          array(
            'name' => 'relationship_type',
            'studio' => 'visible',
            'label' => 'LBL_RELATIONSHIP_TYPE',
          ),
        ),
        5 =>
        array(
          0 =>
          array(
            'name' => 'estimated_effort',
            'label' => 'LBL_ESTIMATED_EFFORT',
          ),
          1 =>
          array(
            'name' => 'utilization',
            'studio' => 'visible',
            'label' => 'LBL_UTILIZATION',
          ),
        ),
        6 =>
        array(
          0 => 'assigned_user_name',
          1 =>
          array(
            'name' => 'am_tasktemplates_am_projecttemplates_name',
            'label' => 'LBL_AM_TASKTEMPLATES_AM_PROJECTTEMPLATES_FROM_AM_PROJECTTEMPLATES_TITLE',
          ),
        ),
        7 =>
        array(
          0 =>
          array(
            'name' => 'description',
            'comment' => 'Full text of the note',
            'label' => 'LBL_DESCRIPTION',
          ),
        ),
      ),
    ),
  ),
);
