array(
'form' => array(
'buttons' => array(
array(
'customCode' => ''
),
array(
'customCode' => '{$CREATE_PDF}'
),
array (
'customCode' => '{if $IS_ADMIN==1}{/if}'
),
),
'hidden' => array(
'',
'',
'',
''
)
),
'maxColumns' => '2',
'widths' => array(
array(
'label' => '10',
'field' => '30'
),
array(
'label' => '10',
'field' => '30'
)
),
'includes' => array(
array(
'file' => 'include/JSON.js'
),
array(
'file' => 'modules/EcmNewKpkws/javascript/EcmNewKpkwsDetail.js'
),
array(
'file' => 'modules/EcmNewKpkws/javascript/helper.js'
),
array(
'file' => 'modules/EcmNewKpkws/javascript/bimit_table2.js'
),
array(
'file' => 'modules/EcmNewKpkws/javascript/columndefs-detail.js'
)
)
),
'panels' => array(
'LBL_DETAILS_TAB' => array(
array(
'document_no',
'assigned_user_name'
),
array(
'name',
'cash_name'
),
array(
'parent_name',
'register_date'
)
,
array(
array(
'name' => 'currency_id',
'label' => 'LBL_CURRENCY',
'customCode' => '{$CUSTOM_CURRENCY_LABEL}'
),
array(
'name' => 'currency_value',
'label' => 'LBL_CURRENCY_VALUE',
'customCode' => '{$fields.currency_value.value|number_format:2:",":"."}'
)
)
,
array(
array(
'name' => 'type_id',
'label' => 'LBL_DOC_TYPE',
'customCode' => '{$CUSTOM_TYPE_LABEL}'
)
,
array(
'name' => 'amount',
'label' => 'LBL_AMOUNT',
'customCode' => '{$fields.amount.value|number_format:2:",":"."}'
)
),
array(
'description'
),
array(
array(
'name' => 'to_informations',
'allCols' => true,
'hideLabel' => true,
'customCode' => '
{$MOD.LBL_TO_INFORMATIONS}'
)
),
array(
array(
'name' => 'parent_name_copy',
'customCode' => '{$fields.parent_name.value}'
)
),
array(
'parent_address_street'
),
array(
array(
'name' => 'parent_address_city',
'tabIndex' => 't',
'customCode' => '{$fields.parent_address_postalcode.value} {$fields.parent_address_city.value}'
)
),
array(
'parent_address_country'
),
array(
'parent_nip'
),
array(
array(
'name' => 'items_list_panel',
'allCols' => true,
'hideLabel' => true,
'customCode' => '
{$MOD.LBL_TRANSACTIONS}'
)
),
array (
array (
'name' => 'transaction_table',
'customCode' => '{$TRANSACTIONS_TABLE}'
),
),
array(
'pdf_text'
),
array(
array(
'name' => 'to_informations',
'allCols' => true,
'hideLabel' => true,
'customCode' => '
'
)
),
array(
array(
'name' => 'date_modified',
'label' => 'LBL_DATE_MODIFIED',
'customCode' => '{$fields.date_modified.value} {$APP.LBL_BY} {$MODIFIED_BY_NAME}'
),
array(
'name' => 'date_entered',
'customCode' => '{$fields.date_entered.value} {$APP.LBL_BY} {$CREATED_BY_NAME}'
)
)
)
)
);
?>