array (
'templateMeta' =>
array (
'maxColumns' => '2',
'form' =>
array (
'hidden' =>
array (
0 => '',
),
'buttons' =>
array (
0 =>
array (
'customCode' => '',
),
1 => 'CANCEL',
2 =>
array (
'customCode' => '',
),
3 =>
array (
'customCode' => '{if $fields.status.value != "Held"}{/if}',
),
),
'headerTpl' => 'modules/Meetings/tpls/header.tpl',
'buttons_footer' =>
array (
0 =>
array (
'customCode' => '',
),
1 => 'CANCEL',
2 =>
array (
'customCode' => '',
),
3 =>
array (
'customCode' => '{if $fields.status.value != "Held"}{/if}',
),
),
'footerTpl' => 'modules/Meetings/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 (
'lbl_meeting_information' =>
array (
array (
array (
'name' => 'name',
),
array (
'name' => 'status',
'fields' =>
array (
array (
'name' => 'status',
),
),
),
),
array (
array (
'name' => 'date_start',
'type' => 'datetimecombo',
'displayParams' =>
array (
'required' => true,
'updateCallback' => 'SugarWidgetScheduler.update_time();',
),
),
array (
'name' => 'parent_name',
'label' => 'LBL_LIST_RELATED_TO',
),
),
array (
array (
'name' => 'date_end',
'type' => 'datetimecombo',
'displayParams' =>
array (
'required' => true,
'updateCallback' => 'SugarWidgetScheduler.update_time();',
),
),
array (
'name' => 'location',
'comment' => 'Meeting location',
'label' => 'LBL_LOCATION',
),
),
array(
array (
'name' => 'duration',
'customCode' => '
@@FIELD@@
{sugar_getscript file="modules/Meetings/duration_dependency.js"}
',
'customCodeReadOnly' => '{$fields.duration_hours.value}{$MOD.LBL_HOURS_ABBREV} {$fields.duration_minutes.value}{$MOD.LBL_MINSS_ABBREV} ',
),
),
array (
array (
'name' => 'reminder_time',
'customCode' => '{include file="modules/Meetings/tpls/reminders.tpl"}',
'label' => 'LBL_REMINDER',
),
),
array (
array (
'name' => 'description',
'comment' => 'Full text of the note',
'label' => 'LBL_DESCRIPTION',
),
),
),
'LBL_PANEL_ASSIGNMENT' =>
array (
array (
array (
'name' => 'assigned_user_name',
'label' => 'LBL_ASSIGNED_TO_NAME',
),
),
),
),
),
);
?>