array( 'form' => array( 'buttons' => array( array( 'customCode' => ' {if $bean->aclAccess("edit") && $bean->status=="registered"} {/if} ', ), array( 'customCode' => '
', ), // array( // 'customCode' => // ' // {if $bean->aclAccess("edit") && $bean->status=="registered"} // // {/if} // ', // ), // array( // 'customCode' => // ' // {if $bean->aclAccess("delete") && $bean->status=="registered"} // // {/if} // ', // ), array( 'customCode' => '{$CATALOGUE}' ), // array( // 'customCode' => // ' // {if $bean->type=="correct" && !$hasCorrect} // // {/if} // ', // ), // array( // 'customCode' => // ' // {if $bean->aclAccess("edit") && $fields.accepted.value == 1 && $OPT.user.confirm_receipts == 1} // // {/if} // ', // ), // array( // 'customCode' => // ' // // ', // ), // array( // 'customCode' => // ' // // ', // ), // array( // 'customCode' => // ' // // ', // ), ), '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/EcmReceipts/MyTable.js', ), array( 'file' => 'include/ECM/EcmPreviewPDF/EcmPreviewPDF.js', ), array( 'file' => 'modules/EcmReceipts/EcmReceiptsDetailView.js', ), ), ), 'panels' => array( 'LBL_DETAILS_TAB' => array( array( 'document_no', 'assigned_user_name', ), array( 'parent_name', 'type', ), array( 'register_date', array( 'name' => 'ecmpaymentcondition_name', 'customCode' => ' {$fields.ecmpaymentcondition_name.value} ', ), ), array( 'sell_date', '',//'ecmreceipt_name', ), array( 'payment_date', 'template_name', ), array( 'name', ), array( array( 'name' => 'to_informations', 'allCols' => true, 'hideLabel' => true, 'customCode' => '

{$MOD.LBL_TO_PAYMENTS}

', ), ), array( array( 'name' => 'to_paid', 'label' => 'LBL_TO_PAID', 'customCode' => ' {$TO_PAID} ', ), 'payment_date_d', ), array( 'prepaid', 'payment_date', ), array( 'prepaid_nr', 'payment_method', ), array( 'paid_val', 'payment_method_paid', ), array( array( 'name' => 'left', 'label' => 'LBL_LEFT', 'customCode' => ' {$LEFT} ', ), array( 'name' => 'weight_total', 'label' => 'LBL_WEIGHT_NETTO', 'customCode' => ' {$WEIGHT_TOTAL} ', ), ), array( array( 'name' => 'to_informations', 'allCols' => true, 'hideLabel' => true, 'customCode' => '

{$MOD.LBL_TO_INFORMATIONS}

', ), ), array( 'parent_name', 'to_nip', ), array( array( 'name' => 'parent_contact_name', 'customCode' => ' {$fields.parent_contact_title.value} {$fields.parent_contact_name.value} ', ), array( 'name' => 'currency_id', 'label' => 'LBL_CURRENCY', ), ), array( 'parent_address_street', 'currency_value', ), array( array( 'name' => 'parent_address_city', 'customCode' => ' {$fields.parent_address_postalcode.value} {$fields.parent_address_city.value} ', ), array( 'name' => 'pdf_type', 'label' => 'LBL_PDF_TYPE', ), ), array( 'parent_address_country', ), 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', ), ), 'LBL_ITEMS_TAB' => array( array( array( 'name' => 'items_list_panel', 'allCols' => true, 'hideLabel' => true, 'customCode' => '
{$MOD.LBL_EDITTABLE_NO} {$MOD.LBL_EDITTABLE_CODE} {$MOD.LBL_EDITTABLE_NAME} {$MOD.LBL_EDITTABLE_QUANTITY} {$MOD.LBL_EDITTABLE_UNIT} {$MOD.LBL_EDITTABLE_PRICE_SUB} {$MOD.LBL_EDITTABLE_DISCOUNT} {$MOD.LBL_EDITTABLE_PRICE} {$MOD.LBL_EDITTABLE_VAT} {$MOD.LBL_EDITTABLE_TOTAL}
 
{$MOD.LBL_SUBTOTAL}
{$MOD.LBL_TOTAL}
 
', ) ), ), 'LBL_TEXTS_TAB' => array( array( 'header_text', ), array( 'footer_text', ), array( 'ads_text', ), ), // 'LBL_PREVIEW_TAB' => array( // array( // array( // 'name' => 'preview_panel', // 'allCols' => true, // 'hideLabel' => true, // 'customCode' => // ' // // ', // ), // ), // ), 'LBL_PREVIEW_TAB' => array( array( array( 'name' => 'preview_panel', 'allCols' => true, 'hideLabel' => true, 'customCode' => '
', ), ), ), // 'LBL_EMAIL_TAB' => array( // array( // array( // 'name' => 'email_panel', // 'allCols' => true, // 'hideLabel' => true, // 'customCode' => // ' // {$EMAIL_LINK_TAB} // // ', // ), // ), // ), ), );