%PDF- %PDF-
Direktori : /var/www/crm/custom/modules/Project/metadata/ |
Current File : /var/www/crm/custom/modules/Project/metadata/editviewdefs.php |
<?php $viewdefs ['Project'] = array ( 'EditView' => array ( 'templateMeta' => array ( 'maxColumns' => '2', 'widths' => array ( 0 => array ( 'label' => '10', 'field' => '30', ), 1 => array ( 'label' => '10', 'field' => '30', ), ), 'form' => array ( 'hidden' => '<input type="hidden" name="is_template" value="{$is_template}" />', 'buttons' => array ( 0 => 'SAVE', 1 => array ( 'customCode' => '{if !empty($smarty.request.return_action) && $smarty.request.return_action == "ProjectTemplatesDetailView" && (!empty($fields.id.value) || !empty($smarty.request.return_id)) }<input title="{$APP.LBL_CANCEL_BUTTON_TITLE}" accessKey="{$APP.LBL_CANCEL_BUTTON_KEY}" class="button" onclick="this.form.action.value=\'ProjectTemplatesDetailView\'; this.form.module.value=\'{$smarty.request.return_module}\'; this.form.record.value=\'{$smarty.request.return_id}\';" type="submit" name="button" value="{$APP.LBL_CANCEL_BUTTON_LABEL}" id="CANCEL{$place}"> {elseif !empty($smarty.request.return_action) && $smarty.request.return_action == "DetailView" && (!empty($fields.id.value) || !empty($smarty.request.return_id)) }<input title="{$APP.LBL_CANCEL_BUTTON_TITLE}" accessKey="{$APP.LBL_CANCEL_BUTTON_KEY}" class="button" onclick="this.form.action.value=\'DetailView\'; this.form.module.value=\'{$smarty.request.return_module}\'; this.form.record.value=\'{$smarty.request.return_id}\';" type="submit" name="button" value="{$APP.LBL_CANCEL_BUTTON_LABEL}" id="CANCEL{$place}"> {elseif $is_template}<input title="{$APP.LBL_CANCEL_BUTTON_TITLE}" accessKey="{$APP.LBL_CANCEL_BUTTON_KEY}" class="button" onclick="this.form.action.value=\'ProjectTemplatesListView\'; this.form.module.value=\'{$smarty.request.return_module}\'; this.form.record.value=\'{$smarty.request.return_id}\';" type="submit" name="button" value="{$APP.LBL_CANCEL_BUTTON_LABEL}" id="CANCEL{$place}"> {else}<input title="{$APP.LBL_CANCEL_BUTTON_TITLE}" accessKey="{$APP.LBL_CANCEL_BUTTON_KEY}" class="button" onclick="this.form.action.value=\'index\'; this.form.module.value=\'{$smarty.request.return_module}\'; this.form.record.value=\'{$smarty.request.return_id}\';" type="submit" name="button" value="{$APP.LBL_CANCEL_BUTTON_LABEL}" id="CANCEL{$place}"> {/if}', ), ), ), 'useTabs' => false, 'tabDefs' => array ( 'LBL_PROJECT_INFORMATION' => array ( 'newTab' => false, 'panelDefault' => 'expanded', ), 'LBL_PANEL_ASSIGNMENT' => array ( 'newTab' => false, 'panelDefault' => 'expanded', ), ), 'syncDetailEditViews' => true, ), 'panels' => array ( 'lbl_project_information' => array ( 0 => array ( 0 => 'name', 1 => 'status', ), 1 => array ( 0 => 'estimated_start_date', 1 => 'estimated_end_date', ), 2 => array ( 0 => array ( 'name' => 'data_consegna_c', 'label' => 'LBL_DATA_CONSEGNA', ), 1 => array ( 'name' => 'data_con_cli_c', 'label' => 'LBL_DATA_CON_CLI', ), ), 3 => array ( 0 => array ( 'name' => 'importo_c', 'label' => 'LBL_IMPORTO', ), 1 => array ( 'name' => 'categorie_c', 'label' => 'LBL_CATEGORIE', ), ), 4 => array ( 0 => array ( 'name' => 'ore_c', 'label' => 'LBL_ORE', ), 1 => array ( 'name' => 'tipo_di_pagamento_c', 'label' => 'LBL_TIPO_DI_PAGAMENTO', ), ), 5 => array ( 0 => 'description', 1 => array ( 'name' => 'npreventivo_c', 'label' => 'LBL_NPREVENTIVO', ), ), 6 => array ( 0 => array ( 'name' => 'note_c', 'studio' => 'visible', 'label' => 'LBL_NOTE', ), 1 => array ( 'name' => 'settore_c', 'studio' => 'visible', 'label' => 'LBL_SETTORE', ), ), ), 'LBL_PANEL_ASSIGNMENT' => array ( 0 => array ( 0 => 'assigned_user_name', 1 => array ( 'name' => 'assegnato_altro_c', 'studio' => 'visible', 'label' => 'LBL_ASSEGNATO_ALTRO', ), ), ), ), ), ); ?>