array (
'form' => array (
'buttons' => array (
array (
'customCode' => '{$CREATE_PDF}'
),
array (
'customCode' => " {include_php file='include/ECM/EcmSendPdfButton/EcmSendPdfButtonController.php'}"
),
//'PRINT'
),
'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/EcmPrepaymentInvoices/javascript/EcmPrepaymentInvoicesDetail.js'
),
array (
'file' => 'modules/EcmPrepaymentInvoices/javascript/bimit_table.js'
),
array (
'file' => 'modules/EcmPrepaymentInvoices/javascript/columndefs-detail.js'
)
)
),
'panels' => array (
'LBL_DETAILS_TAB' => array (
array (
'document_no',
'assigned_user_name'
),
array (
array (
'name' => 'parent_name',
'customCode' => '{$fields.parent_name.value}'
),
),
array (
'register_date',
'payment_date',
)
,
array (
'prepaid_amount',
array('name'=>"vat_id",
'customCode'=>'{$VAT_LIST}'
)
),
array (
'total_vat',
'payment_method'
),
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 (
'name' => 'currency_id',
'label' => 'LBL_CURRENCY'
)
),
array (
'parent_nip',
'currency_value_nbp'
),
array (
'parent_address_street',
),
array (
array (
'name' => 'parent_address_city',
'tabIndex' => '1',
'customCode' => '{$fields.parent_address_postalcode.value} {$fields.parent_address_city.value}'
)
),
array (
'parent_address_country'
),
array (
array (
'name' => 'to_informations',
'allCols' => true,
'hideLabel' => true,
'customCode' => '
Dodatkowe informacje'
)
),
array (
'pdf_text'
),
array (
array (
'name' => 'to_informations',
'allCols' => true,
'hideLabel' => true,
'customCode' => '
'
)
),
),
'LBL_ITEMS_TAB' => array (
array (
array (
'name' => 'items_list_panel',
'allCols' => true,
'hideLabel' => true,
'customCode' => '