%PDF- %PDF-
| Direktori : /var/www/crm/custom/modules/Opportunities/metadata/ |
| Current File : /var/www/crm/custom/modules/Opportunities/metadata/listviewdefs.php |
<?php
$listViewDefs ['Opportunities'] =
array (
'NAME' =>
array (
'width' => '5%',
'label' => 'LBL_LIST_OPPORTUNITY_NAME',
'link' => true,
'default' => true,
),
'ACCOUNT_NAME' =>
array (
'width' => '20%',
'label' => 'LBL_LIST_ACCOUNT_NAME',
'id' => 'ACCOUNT_ID',
'module' => 'Accounts',
'link' => true,
'default' => true,
'sortable' => true,
'ACLTag' => 'ACCOUNT',
'contextMenu' =>
array (
'objectType' => 'sugarAccount',
'metaData' =>
array (
'return_module' => 'Contacts',
'return_action' => 'ListView',
'module' => 'Accounts',
'parent_id' => '{$ACCOUNT_ID}',
'parent_name' => '{$ACCOUNT_NAME}',
'account_id' => '{$ACCOUNT_ID}',
'account_name' => '{$ACCOUNT_NAME}',
),
),
'related_fields' =>
array (
0 => 'account_id',
),
),
'DESCRIPTION' =>
array (
'type' => 'text',
'label' => 'LBL_DESCRIPTION',
'sortable' => false,
'width' => '25%',
'default' => true,
),
'SALES_STAGE' =>
array (
'width' => '8%',
'label' => 'LBL_LIST_SALES_STAGE',
'default' => true,
),
'AMOUNT_USDOLLAR' =>
array (
'width' => '10%',
'label' => 'LBL_LIST_AMOUNT_USDOLLAR',
'align' => 'right',
'default' => true,
'currency_format' => true,
),
'IMPORTO_FINALE_C' =>
array (
'type' => 'currency',
'default' => true,
'label' => 'LBL_IMPORTO_FINALE',
'currency_format' => true,
'width' => '10%',
),
'DATE_CLOSED' =>
array (
'width' => '10%',
'label' => 'LBL_LIST_DATE_CLOSED',
'default' => true,
),
'OPPORTUNITY_TYPE' =>
array (
'width' => '15%',
'label' => 'LBL_TYPE',
'default' => false,
),
'LEAD_SOURCE' =>
array (
'width' => '15%',
'label' => 'LBL_LEAD_SOURCE',
'default' => false,
),
'NEXT_STEP' =>
array (
'width' => '10%',
'label' => 'LBL_NEXT_STEP',
'default' => false,
),
'PROBABILITY' =>
array (
'width' => '10%',
'label' => 'LBL_PROBABILITY',
'default' => false,
),
'CREATED_BY_NAME' =>
array (
'width' => '10%',
'label' => 'LBL_CREATED',
'default' => false,
),
'ASSIGNED_USER_NAME' =>
array (
'width' => '5%',
'label' => 'LBL_LIST_ASSIGNED_USER',
'module' => 'Employees',
'id' => 'ASSIGNED_USER_ID',
'default' => false,
),
'DATE_ENTERED' =>
array (
'width' => '10%',
'label' => 'LBL_DATE_ENTERED',
'default' => false,
),
'MODIFIED_BY_NAME' =>
array (
'width' => '5%',
'label' => 'LBL_MODIFIED',
'default' => false,
),
);
?>