array('form'=>array('buttons'=>array('EDIT', 'DUPLICATE', 'DELETE', array('customCode'=>'{if $fields.status.value != "Held"}' . ' ' . ' ' . ' ' . ' {/if}'), array('customCode'=>'{if $fields.status.value != "Held"}' . ' ' . ' {/if}'),)), 'maxColumns' => '2', 'widths' => array( array('label' => '10', 'field' => '30'), array('label' => '10', 'field' => '30') ), ), 'panels' =>array ( array ( array ( 'name' => 'name','label' => 'LBL_SUBJECT',), 'status', ), array ( 'location', array ('name' => 'parent_name', 'customLabel' => '{sugar_translate label=\'LBL_MODULE_NAME\' module=$fields.parent_type.value}',), ), array ( array ('name' =>'date_start', 'label' => 'LBL_DATE_TIME'), array ( 'name' => 'duration_hours', 'customCode' => '{$fields.duration_hours.value}{$MOD.LBL_HOURS_ABBREV} {$fields.duration_minutes.value}{$MOD.LBL_MINSS_ABBREV} ', 'label' => 'LBL_DURATION', ), ), array ( array ( 'name' => 'modified_by_name', 'customCode' => '{$fields.date_modified.value} {$APP.LBL_BY} {$fields.modified_by_name.value} ', 'label' => 'LBL_DATE_MODIFIED', ), ), array ( array ('name' => 'assigned_user_name','label' => 'LBL_ASSIGNED_TO',), array ( 'name' => 'created_by_name', 'customCode' => '{$fields.date_entered.value} {$APP.LBL_BY} {$fields.created_by_name.value} ', 'label' => 'LBL_DATE_ENTERED', ), ), array ( array( 'name'=>'reminder_checked', 'fields'=>array('reminder_checked', 'reminder_time') ), 'description', ), ) ); ?>