array (
'templateMeta' =>
array (
'form' =>
array (
'buttons' =>
array (
0 => 'EDIT',
1 => 'DUPLICATE',
2 => 'DELETE',
3 =>
array (
'customCode' => '',
),
4 =>
array (
'customCode' => '',
),
5 =>
array (
'customCode' => '',
),
),
'headerTpl' => 'modules/Leads/tpls/DetailViewHeader.tpl',
),
'maxColumns' => '2',
'widths' =>
array (
0 =>
array (
'label' => '10',
'field' => '30',
),
1 =>
array (
'label' => '10',
'field' => '30',
),
),
'includes' =>
array (
0 =>
array (
'file' => 'modules/Leads/Lead.js',
),
),
),
'panels' =>
array (
0 =>
array (
0 => 'lead_source',
1 => 'status',
),
1 =>
array (
0 => 'lead_source_description',
1 => 'status_description',
),
2 =>
array (
0 =>
array (
'name' => 'campaign_name',
'label' => 'LBL_CAMPAIGN',
),
1 => 'opportunity_amount',
),
3 =>
array (
0 => 'refered_by',
1 =>
array (
'name' => 'phone_work',
'label' => 'LBL_OFFICE_PHONE',
'customCode' => '{fonality_phone value=$fields.phone_work.value this_module=Leads this_id=$fields.id.value}',
),
),
4 =>
array (
0 =>
array (
'name' => 'full_name',
'label' => 'LBL_NAME',
),
1 =>
array (
'name' => 'phone_mobile',
'label' => 'LBL_MOBILE_PHONE',
'customCode' => '{fonality_phone value=$fields.phone_mobile.value this_module=Leads this_id=$fields.id.value}',
),
),
5 =>
array (
0 => 'birthdate',
1 =>
array (
'name' => 'phone_home',
'label' => 'LBL_HOME_PHONE',
'customCode' => '{fonality_phone value=$fields.phone_home.value this_module=Leads this_id=$fields.id.value}',
),
),
6 =>
array (
0 => 'account_name',
1 =>
array (
'name' => 'phone_other',
'label' => 'LBL_OTHER_PHONE',
'customCode' => '{fonality_phone value=$fields.phone_other.value this_module=Leads this_id=$fields.id.value}',
),
),
7 =>
array (
0 => 'title',
1 =>
array (
'name' => 'phone_fax',
'label' => 'LBL_FAX_PHONE',
'customCode' => '{fonality_phone value=$fields.phone_fax.value this_module=Leads this_id=$fields.id.value}',
),
),
8 =>
array (
0 => 'department',
1 => 'do_not_call',
),
9 =>
array (
0 => 'team_name',
1 =>
array (
'name' => 'date_modified',
'label' => 'LBL_DATE_MODIFIED',
'customCode' => '{$fields.date_modified.value} {$APP.LBL_BY} {$fields.modified_by_name.value}',
),
),
10 =>
array (
),
11 =>
array (
0 =>
array (
'name' => 'assigned_user_name',
'label' => 'LBL_ASSIGNED_TO',
),
1 =>
array (
'name' => 'created_by',
'customCode' => '{$fields.date_entered.value} {$APP.LBL_BY} {$fields.created_by_name.value} ',
'label' => 'LBL_DATE_ENTERED',
),
),
12 =>
array (
0 =>
array (
'name' => 'primary_address_street',
'label' => 'LBL_PRIMARY_ADDRESS',
'type' => 'address',
'displayParams' =>
array (
'key' => 'primary',
),
),
1 =>
array (
'name' => 'alt_address_street',
'label' => 'LBL_ALTERNATE_ADDRESS',
'type' => 'address',
'displayParams' =>
array (
'key' => 'alt',
),
),
),
13 =>
array (
0 => 'description',
1 => '',
),
14 =>
array (
0 => 'email1',
),
),
),
);
?>