Add php files
This commit is contained in:
89
modules/EcmSyntheticAccounts/metadata/detailviewdefs.php
Executable file
89
modules/EcmSyntheticAccounts/metadata/detailviewdefs.php
Executable file
@@ -0,0 +1,89 @@
|
||||
<?php
|
||||
|
||||
$module_name = 'EcmSyntheticAccounts';
|
||||
$viewdefs [$module_name] = array(
|
||||
'DetailView' => array(
|
||||
'templateMeta' => array(
|
||||
'form' => array(
|
||||
'buttons' => array(
|
||||
0 => 'EDIT',
|
||||
1 => 'DELETE',
|
||||
)
|
||||
),
|
||||
'maxColumns' => '2',
|
||||
'widths' => array(
|
||||
array(
|
||||
'label' => '10',
|
||||
'field' => '30'
|
||||
),
|
||||
array(
|
||||
'label' => '10',
|
||||
'field' => '30'
|
||||
)
|
||||
),
|
||||
'includes' => array(
|
||||
array(
|
||||
'file' => 'modules/EcmSyntheticAccounts/js/DetailViewDocumentReady.js'
|
||||
),
|
||||
),
|
||||
'useTabs' => false,
|
||||
'tabDefs' => array(
|
||||
'DEFAULT' => array(
|
||||
'newTab' => false,
|
||||
'panelDefault' => 'expanded'
|
||||
),
|
||||
'LBL_EDITVIEW_PANEL1' => array(
|
||||
'newTab' => false,
|
||||
'panelDefault' => 'expanded'
|
||||
)
|
||||
),
|
||||
),
|
||||
'panels' => array(
|
||||
'default' => array(
|
||||
array(
|
||||
array(
|
||||
'name' => 'account_code',
|
||||
'label' => 'LBL_ACCOUNT_CODE',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'name',
|
||||
'label' => 'LBL_NAME',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'account_type',
|
||||
'label' => 'LBL_ACCOUNT_TYPE',
|
||||
)
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'accounts_balance',
|
||||
'label' => 'LBL_ACCOUNTS_BALANCE',
|
||||
)
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'structureanalyticalpart',
|
||||
'hideLabel' => false,
|
||||
'label' => 'LBL_STRUCTURE_ANALYTICAL_PART',
|
||||
'customCode' => "{include file='modules/EcmSyntheticAccounts/tpl/DetailViewStructureAnalyticalPart.tpl'}",
|
||||
),
|
||||
),
|
||||
),
|
||||
'LBL_ANALYTICAL_ACCOUNTS' => array(
|
||||
array(
|
||||
array(
|
||||
'name' => 'structureanalyticalpart',
|
||||
'hideLabel' => true,
|
||||
//'label' => 'LBL_STRUCTURE_ANALYTICAL_PART',
|
||||
'customCode' => "{include file='modules/EcmSyntheticAccounts/tpl/DetailViewTableAnalyticalAccounts.tpl'}",
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
?>
|
||||
Reference in New Issue
Block a user