mirror of
https://github.com/salesagility/SuiteCRM.git
synced 2024-11-22 07:52:36 +00:00
112 lines
2.3 KiB
PHP
Executable File
112 lines
2.3 KiB
PHP
Executable File
<?php
|
|
$module_name = 'jjwg_Areas';
|
|
$viewdefs [$module_name] =
|
|
array(
|
|
'DetailView' =>
|
|
array(
|
|
'templateMeta' =>
|
|
array(
|
|
'form' =>
|
|
array(
|
|
'buttons' =>
|
|
array(
|
|
0 => 'EDIT',
|
|
1 => 'DUPLICATE',
|
|
2 => 'DELETE',
|
|
),
|
|
// Csutom
|
|
'footerTpl' => 'modules/jjwg_Areas/tpls/DetailViewFooter.tpl',
|
|
),
|
|
'maxColumns' => '2',
|
|
'widths' =>
|
|
array(
|
|
0 =>
|
|
array(
|
|
'label' => '10',
|
|
'field' => '30',
|
|
),
|
|
1 =>
|
|
array(
|
|
'label' => '10',
|
|
'field' => '30',
|
|
),
|
|
),
|
|
'useTabs' => false,
|
|
),
|
|
'panels' =>
|
|
array(
|
|
'default' =>
|
|
array(
|
|
0 =>
|
|
array(
|
|
0 =>
|
|
array(
|
|
'name' => 'name',
|
|
'label' => 'LBL_NAME',
|
|
),
|
|
1 =>
|
|
array(
|
|
'name' => 'assigned_user_name',
|
|
'label' => 'LBL_ASSIGNED_TO_NAME',
|
|
),
|
|
),
|
|
1 =>
|
|
array(
|
|
0 =>
|
|
array(
|
|
'name' => 'city',
|
|
'label' => 'LBL_CITY',
|
|
),
|
|
1 =>
|
|
array(
|
|
'name' => 'state',
|
|
'label' => 'LBL_STATE',
|
|
),
|
|
),
|
|
2 =>
|
|
array(
|
|
0 =>
|
|
array(
|
|
'name' => 'country',
|
|
'label' => 'LBL_COUNTRY',
|
|
),
|
|
1 => '',
|
|
),
|
|
3 =>
|
|
array(
|
|
0 =>
|
|
array(
|
|
'name' => 'date_entered',
|
|
'customCode' => '{$fields.date_entered.value} {$APP.LBL_BY} {$fields.created_by_name.value}',
|
|
'label' => 'LBL_DATE_ENTERED',
|
|
),
|
|
1 =>
|
|
array(
|
|
'name' => 'date_modified',
|
|
'customCode' => '{$fields.date_modified.value} {$APP.LBL_BY} {$fields.modified_by_name.value}',
|
|
'label' => 'LBL_DATE_MODIFIED',
|
|
),
|
|
),
|
|
4 =>
|
|
array(
|
|
0 =>
|
|
array(
|
|
'name' => 'description',
|
|
'comment' => 'Full text of the note',
|
|
'label' => 'LBL_DESCRIPTION',
|
|
),
|
|
),
|
|
5 =>
|
|
array(
|
|
0 =>
|
|
array(
|
|
'name' => 'coordinates',
|
|
'studio' => 'visible',
|
|
'label' => 'LBL_COORDINATES',
|
|
),
|
|
),
|
|
),
|
|
),
|
|
),
|
|
);
|