array(
'form' => array(
'enctype' => 'multipart/form-data',
'buttons' => array(
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' => 'include/javascript/quicksearch.js',
),
array(
'file' => 'include/ECM/EcmPreviewPDF/EcmPreviewPDF.js',
),
array(
'file' => 'modules/EcmReceipts/AjaxSearch/AjaxSearch.js',
),
array(
'file' => 'modules/EcmReceipts/formloader.js',
),
array(
'file' => 'modules/EcmReceipts/MyTable.js',
),
array(
'file' => 'modules/EcmReceipts/EcmReceipts.js',
),
array(
'file' => 'modules/EcmProducts/mintajax.js',
),
array(
'file' => 'modules/EcmProducts/helper.js',
),
),
),
'panels' => array(
'LBL_DETAILS_TAB' => array(
array(
array(
'name' => 'document_no',
'tabIndex' => 'f',
'customCode' =>
'
',
),
'assigned_user_name',
),
array(
'parent_name',
'type',
),
array(
array(
'name' => 'parent_index_dbf',
'customCode' =>
'
',
),
array(
'name' => 'template_name',
'label' => 'LBL_TEMPLATE_NAME',
'customCode' =>
'
',
),
),
array(
array(
'name' => 'register_date',
'type' => 'datetime',
'displayParams' => array(
'showFormats' => true,
),
),
//'ecmreceipt_name',
),
array(
array(
'name' => 'sell_date',
'type' => 'datetime',
'displayParams' => array(
'showFormats' => true,
),
),
array(
'label' => 'LBL_STOCK_NAME',
'name' => 'stock_id',
'customCode' =>
'
',
),
),
array(
array(
'name' => 'name',
'label' => 'LBL_NAME',
),
),
array(
// array(
// 'name' => 'discount',
// 'tabindex' => 'd',
// 'customCode' =>
// '
// %
// ',
// )
),
array(
array(
'name' => 'to_informations',
'allCols' => true,
'hideLabel' => true,
'customCode' =>
'
{$MOD.LBL_TO_PAYMENTS}
',
),
),
array(
array(
'name' => 'to_paid',
'label' => 'LBL_TO_PAID',
'customCode' =>
'
',
),
'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' =>
'
',
),
),
array(
array(
'name' => 'to_informations',
'allCols' => true,
'hideLabel' => true,
'customCode' =>
'
{$MOD.LBL_TO_INFORMATIONS}
',
),
),
//
array(
array(
'name' => 'parent_name_copy',
'tabIndex' => '1',
'customCode' =>
'
',
),
array(
'name' => 'to_nip',
'tabIndex' => '1',
),
),
array(
array(
'name' => 'parent_contact_name',
'tabIndex' => '1',
),
array(
'name' => 'currency_id',
'label' => 'LBL_CURRENCY',
),
),
array(
array(
'name' => 'parent_contact_title',
'tabIndex' => '1',
),
array(
'name' => 'currency_value',
'label' => 'LBL_CURRENCY_VALUE',
),
),
array(
array(
'name' => 'parent_address_street',
'tabIndex' => '1',
'customCode' =>
'
',
),
array(
'name' => 'pdf_type',
'label' => 'LBL_PDF_TYPE',
),
),
array(
array(
'name' => 'parent_address_city',
'tabIndex' => '1',
'customCode' =>
'
',
),
),
array(
array(
'name' => 'parent_address_country',
'tabIndex' => '1',
),
),
array(
array(
'name' => 'to_informations',
'allCols' => true,
'hideLabel' => true,
'customCode' =>
'
{$MOD.LBL_PARENT_SHIPPING_ADDRESS}
',
),
),
array(
array(
'name' => 'address',
'customCode' =>
'
',
),
'',
),
array(
'parent_shipping_address_name',
),
array(
'parent_shipping_address_street',
),
array(
array(
'name' => 'parent_shipping_address_city',
'tabIndex' => '1',
'customCode' =>
'
',
),
),
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_PRICE_SUB_EXT} |
{$MOD.LBL_EDITTABLE_DISCOUNT} |
{$MOD.LBL_EDITTABLE_VAT} |
{$MOD.LBL_EDITTABLE_PRICE_EXT} |
{$MOD.LBL_EDITTABLE_UNIT} |
{$MOD.LBL_EDITTABLE_TOTAL_EXT} |
{$MOD.LBL_EDITTABLE_STOCK} |
{$MOD.LBL_EDITTABLE_OPTIONS} |
',
),
),
),
'LBL_TEXTS_TAB' => array(
array(
array(
'name' => 'header_text',
'label' => 'LBL_HEADER_TEXT',
'customCode' =>
'
{$MFP.footer}
',
),
),
array(
array(
'name' => 'footer_text',
'label' => 'LBL_FOOTER_TEXT',
'customCode' =>
'
{$MFP.header}
',
),
),
array(
array(
'name' => 'ads_text',
'label' => 'LBL_ADS_TEXT',
'customCode' =>
'
{$MFP.ads}
',
),
),
),
),
);