array ( 'templateMeta' => array ( 'maxColumns' => '2', 'form' => array ( 'hidden' => array ( 0 => '', 1 => '', 2 => '', 3 => '', 4 => '', ), 'buttons' => array ( 0 => array ( 'customCode' => '', ), 1 => 'CANCEL', 2 => array ( 'customCode' => '', ), 3 => array ( 'customCode' => '{if $fields.status.value != "Held"}{/if}', ), ), 'footerTpl' => 'modules/Calls/tpls/footer.tpl', ), 'widths' => array ( 0 => array ( 'label' => '10', 'field' => '30', ), 1 => array ( 'label' => '10', 'field' => '30', ), ), 'javascript' => ''. '{sugar_getscript file="cache/include/javascript/sugar_grp_jsolait.js"}' . '', 'useTabs' => false, ), 'panels' => array ( 'default' => array ( array ( array ( 'name' => 'name', 'displayParams' => array ( 'required' => true, ), ), array ( 'name' => 'status', 'displayParams' => array ( 'required' => true, ), 'fields' => array ( array ( 'name' => 'direction', ), array ( 'name' => 'status', ), ), ), ), array ( array ( 'name' => 'date_start', 'type' => 'datetimecombo', 'displayParams' => array ( 'required' => true, 'updateCallback' => 'SugarWidgetScheduler.update_time();', ), 'label' => 'LBL_DATE_TIME', ), array ( 'name' => 'parent_name', 'label' => 'LBL_LIST_RELATED_TO', ), ), array ( array ( 'name' => 'duration_hours', 'label' => 'LBL_DURATION', 'customCode' => '{literal}{/literal}{$fields.duration_minutes.value} {$MOD.LBL_HOURS_MINUTES}', 'displayParams' => array ( 'required' => true, ), ), array ( 'name' => 'reminder_time', 'customCode' => '{if $fields.reminder_checked.value == "1"}{assign var="REMINDER_TIME_DISPLAY" value="inline"}{assign var="REMINDER_CHECKED" value="checked"}{else}{assign var="REMINDER_TIME_DISPLAY" value="none"}{assign var="REMINDER_CHECKED" value=""}{/if}
{$fields.reminder_time.value}
', 'label' => 'LBL_REMINDER', ), ), array ( array ( 'name' => 'assigned_user_name', 'label' => 'LBL_ASSIGNED_TO_NAME', ), ), array ( array ( 'name' => 'description', 'comment' => 'Full text of the note', 'label' => 'LBL_DESCRIPTION', ), ), ), ), ), ); ?>