%PDF- %PDF-
Direktori : /var/www/crm/custom/modules/Leads/metadata/ |
Current File : //var/www/crm/custom/modules/Leads/metadata/detailviewdefs.php |
<?php // created: 2021-06-28 10:29:17 $viewdefs = array ( 'Leads' => array ( 'DetailView' => array ( 'templateMeta' => array ( 'form' => array ( 'buttons' => array ( 0 => 'EDIT', 1 => 'DUPLICATE', 2 => 'DELETE', 3 => array ( 'customCode' => '{if $bean->aclAccess("edit") && !$DISABLE_CONVERT_ACTION}<input title="{$MOD.LBL_CONVERTLEAD_TITLE}" accessKey="{$MOD.LBL_CONVERTLEAD_BUTTON_KEY}" type="button" class="button" onClick="document.location=\'index.php?module=Leads&action=ConvertLead&record={$fields.id.value}\'" name="convert" value="{$MOD.LBL_CONVERTLEAD}">{/if}', 'sugar_html' => array ( 'type' => 'button', 'value' => '{$MOD.LBL_CONVERTLEAD}', 'htmlOptions' => array ( 'title' => '{$MOD.LBL_CONVERTLEAD_TITLE}', 'accessKey' => '{$MOD.LBL_CONVERTLEAD_BUTTON_KEY}', 'class' => 'button', 'onClick' => 'document.location=\'index.php?module=Leads&action=ConvertLead&record={$fields.id.value}\'', 'name' => 'convert', 'id' => 'convert_lead_button', ), 'template' => '{if $bean->aclAccess("edit") && !$DISABLE_CONVERT_ACTION}[CONTENT]{/if}', ), ), 4 => 'FIND_DUPLICATES', 5 => array ( 'customCode' => '<input title="{$APP.LBL_MANAGE_SUBSCRIPTIONS}" class="button" onclick="this.form.return_module.value=\'Leads\'; this.form.return_action.value=\'DetailView\';this.form.return_id.value=\'{$fields.id.value}\'; this.form.action.value=\'Subscriptions\'; this.form.module.value=\'Campaigns\'; this.form.module_tab.value=\'Leads\';" type="submit" name="Manage Subscriptions" value="{$APP.LBL_MANAGE_SUBSCRIPTIONS}">', 'sugar_html' => array ( 'type' => 'submit', 'value' => '{$APP.LBL_MANAGE_SUBSCRIPTIONS}', 'htmlOptions' => array ( 'title' => '{$APP.LBL_MANAGE_SUBSCRIPTIONS}', 'class' => 'button', 'id' => 'manage_subscriptions_button', 'onclick' => 'this.form.return_module.value=\'Leads\'; this.form.return_action.value=\'DetailView\';this.form.return_id.value=\'{$fields.id.value}\'; this.form.action.value=\'Subscriptions\'; this.form.module.value=\'Campaigns\'; this.form.module_tab.value=\'Leads\';', 'name' => '{$APP.LBL_MANAGE_SUBSCRIPTIONS}', ), ), ), ), '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', ), ), 'useTabs' => false, 'tabDefs' => array ( 'LBL_CONTACT_INFORMATION' => array ( 'newTab' => false, 'panelDefault' => 'expanded', ), ), 'syncDetailEditViews' => true, ), 'panels' => array ( 'LBL_CONTACT_INFORMATION' => array ( 0 => array ( 0 => array ( 'name' => 'first_name', 'comment' => 'First name of the contact', 'label' => 'LBL_FIRST_NAME', ), ), 1 => array ( 0 => array ( 'name' => 'account_name', ), 1 => 'phone_work', ), 2 => array ( 0 => 'phone_mobile', 1 => 'phone_fax', ), 3 => array ( 0 => array ( 'name' => 'settore_c', 'studio' => 'visible', 'label' => 'LBL_SETTORE', ), 1 => array ( 'name' => 'categoria_c', 'studio' => 'visible', 'label' => 'LBL_CATEGORIA', ), ), 4 => array ( 0 => 'website', ), 5 => array ( 0 => array ( 'name' => 'primary_address_street', 'label' => 'LBL_PRIMARY_ADDRESS', 'type' => 'address', 'displayParams' => array ( 'key' => 'primary', ), ), ), 6 => array ( 0 => 'email1', ), 7 => array ( 0 => 'description', ), ), ), ), ), );