array ( 'form' => array ( 'buttons' => array ( array ( 'customCode' => '{$CREATE_PDF}' ), array ( 'customCode' => '{if $CREATE_COR == true} {/if}' ), array ( 'customCode' => '{if $CAN_EDIT == true} {/if}' ), array ( 'customCode' => '', ) , array ( 'customCode' => '{$CREATE_PZ}' ) ) , '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_table.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' ), array ( 'name' => 'type', 'tabIndex' => '1' ) ), array ( array ( 'name' => 'register_date', 'tabIndex' => '1', 'type' => 'datetime', 'displayParams' => array ( 'showFormats' => true ) ), array ( 'name' => 'ecminvoiceout_name', 'tabIndex' => '1', 'customCode' => '{$INVOICES_INFO}', ) ), array ( array ( 'name' => 'sell_date', 'tabIndex' => '1', 'type' => 'datetime', 'displayParams' => array ( 'showFormats' => true ) ), array ( 'name' => 'stock_name', 'label' => 'LBL_STOCK_NAME' ) ), array ( array ( 'name' => 'name', 'tabIndex' => '1' ) ), array ( array ( 'name' => 'order_no', 'tabIndex' => '1' ), array ( 'name' => 'supplier_code', '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' => 'to_informations', 'allCols' => true, 'hideLabel' => true, 'customCode' => '

{$MOD.LBL_TO_PAYMENTS}

' ) ), array ( array ( 'name' => 'to_paid', 'label' => 'LBL_TO_PAID', 'customCode' => '{$fields.total_brutto.value}' ) , 'ecmpaymentcondition_name' ), array ( 'prepaid', 'payment_date' ), array ( 'prepaid_nr', 'payment_method' ), array ( 'paid_val', 'payment_method_paid' ), array ( array ( 'name' => 'total_brutto', 'label' => 'LBL_LEFT', 'customCode'=>'{assign var="left_to_paid" value=$fields.total_brutto.value-$fields.paid_val.value-$fields.prepaid.value}{$left_to_paid|number_format:2:".":","}' ) ), 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}' ), 'ecmlanguage' ), array ( 'parent_nip', array ( 'name' => 'currency_id', 'label' => 'LBL_CURRENCY' ) ) , array ( 'parent_address_street', array ( 'name' => 'pdf_type', 'label' => 'LBL_PDF_TYPE' ) ), array ( array ( 'name' => 'parent_address_city', 'tabIndex' => 't', 'customCode' => '{$fields.parent_address_postalcode.value}  {$fields.parent_address_city.value}' ) ), array ( 'parent_address_country', 'currency_value_nbp' ), array ( 'parent_iln', 'currency_value' ), array ( 'pdf_text', 'currency_table' ), array ( array ( 'name' => 'to_informations', 'allCols' => true, 'hideLabel' => true, 'customCode' => '

{$MOD.LBL_PARENT_SHIPPING_ADDRESS}

' ) ), array ( 'parent_shipping_address_name' ), 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_address_iln' ), // platnik start array ( array ( 'name' => 'to_informations', 'allCols' => true, 'hideLabel' => true, 'customCode' => '

{$MOD.LBL_PARENT_PAYER_ADDRESS}

' ) ), array ( 'parent_payer_address_name' ), array ( 'parent_payer_address_street' ), array ( array ( 'name' => 'parent_payer_address_city', 'tabIndex' => '1', 'customCode' => '{$fields.parent_payer_address_postalcode.value} {$fields.parent_payer_address_city.value}' ) ), array ( 'parent_payer_address_country' ), array ( 'parent_payer_address_iln' ), // 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' => '
' ) ) ) ) ); ?>