array(
'form' => array(
'buttons' => array(
'CANCEL_DOC',
array(
'customCode' => '{if $CAN_EDIT == true} {$editButton}{/if}'
),
array(
'customCode' => ''
),
array(
'customCode' => "{include_php file='include/ECM/EcmCreatePdfButton.php'}",
),
array(
'customCode' => " {include_php file='include/ECM/EcmSendPdfButton/EcmSendPdfButtonController.php}"
),
array(
'customCode' => ' '
),
array(
'customCode' => '{if $CREATE_COR == true} {/if}'
),
array(
'customCode' => ''
),
array(
'customCode' => '{if $CREATE_KP == true} {/if}'
),
array(
'customCode' => '{if $EDI == true}{/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/EcmInvoiceOuts/javascript/EcmInvoiceOutsDetail.js'
),
array(
'file' => 'modules/EcmInvoiceOuts/javascript/bimit_table8.js'
),
array(
'file' => 'modules/EcmInvoiceOuts/javascript/columndefs-detail.js'
)
)
),
'panels' => array(
'LBL_DETAILS_TAB' => array(
array(
'document_no',
'assigned_user_name'
),
array(
array(
'name' => 'parent_name',
'tabIndex' => '1'
),
'category'
),
array(
array(
'name' => 'register_date',
'tabIndex' => '1',
'type' => 'datetime',
'displayParams' => array(
'showFormats' => true
)
),
array(
'name' => 'stock_name',
'label' => 'LBL_STOCK_NAME'
)
),
array(
array(
'name' => 'sell_date',
'tabIndex' => '1',
'type' => 'datetime',
'displayParams' => array(
'showFormats' => true
)
),
array(
'name' => 'type',
'tabIndex' => '1'
)
),
array(
array(
'name' => 'order_no',
'tabIndex' => '1'
)
),
array(
array(
'name' => 'zs_no',
'label' => 'Dokument ZS',
'customCode' => '{$zs_no}'
),
array(
'name' => 'wz_no',
'label' => 'Dokumenty WZ',
'customCode' => '{$wz_no}'
)
),
array()
// array (
// 'name' => 'currency_id',
// 'label' => 'LBL_CURRENCY'
// )
,
array(
array(
'name' => 'to_informations',
'allCols' => true,
'hideLabel' => true,
'customCode' => '
{$MOD.LBL_TO_PAYMENTS}
'
)
),
array(
array(
'name' => 'total_brutto',
'label' => 'LBL_TO_PAID'
),
'payment_date'
),
array(
'prepaid',
'payment_date_days'
),
array(
'prepaid_nr',
'discount'
),
array(
'paid_val',
'bankaccount'
),
array(
'payment_method_paid'
),
array(
array(
'name' => 'paid_fetf',
'label' => 'LBL_LEFT',
'customCode' => '{$PAID_LEFT}
'
)
),
array(
'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' => 'pdf_type',
'label' => 'LBL_PDF_TYPE'
)
),
array(
'parent_nip',
array(
'name' => 'currency_id',
'label' => 'LBL_CURRENCY'
)
),
array(
'parent_address_street',
'currency_value_nbp'
),
array(
array(
'name' => 'parent_address_city',
'tabIndex' => 't',
'customCode' => '{$fields.parent_address_postalcode.value} {$fields.parent_address_city.value}'
),
array(
'name' => 'currency_table',
'label' => 'LBL_CURRENCY_TABLE'
)
),
array(
'parent_address_country',
'ecmlanguage',
),
array(
'parent_iln'
),
array(
'pdf_text'
),
array(
array(
'name' => 'to_informations',
'allCols' => true,
'hideLabel' => true,
'customCode' => '{$MOD.LBL_PARENT_SHIPPING_ADDRESS}
'
)
),
array(
'parent_shipping_address_name'
),
array(
'parent_shipping_nip'
),
array(
'parent_shipping_address_street'
),
array(
array(
'name' => 'parent_shipping_address_city',
'customCode' => '{$fields.parent_shipping_address_postalcode.value} {$fields.parent_shipping_address_city.value}'
)
),
array(
'parent_shipping_address_country'
),
array(
'parent_shipping_iln'
),
// platnik start
array(
array(
'name' => 'to_informations',
'allCols' => true,
'hideLabel' => true,
'customCode' => '{$MOD.LBL_PARENT_PAYER_ADDRESS}
'
)
),
array(
'parent_payer_address_name'
),
array(
array(
'name' => 'parent_payer_nip',
'tabIndex' => '1'
)
),
array(
'parent_payer_address_street'
),
array(
array(
'name' => 'parent_payer_address_city',
'tabIndex' => '1',
'customCode' => ' '
)
),
array(
'parent_payer_address_country'
),
array(
array(
'name' => 'parent_payer_iln',
'tabIndex' => '1'
)
),
// platnik end
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}'
)
)
),
'LBL_ITEMS_TAB' => array(
array(
array(
'name' => 'items_list_panel',
'allCols' => true,
'hideLabel' => true,
'customCode' => ''
)
)
)
)
);