array(
'form' => array(
'buttons' => array(
array(
'customCode' => '{if $bean->aclAccess("edit") && $bean->status=="registered"}{/if}'
),
// array(
// 'customCode' => '{if $bean->aclAccess("edit") && $bean->status=="registered"}{/if}'
// ),
// array(
// 'customCode' => '{if $bean->aclAccess("delete") && $bean->status=="registered"}{/if}'
// ),
/*
array(
'customCode' => ''
), */
array(
'customCode' => '{$CATALOGUE}'
),
array(
'customCode' => ''
),
// array(
// 'customCode' => '{if $bean->type=="correct" && !$hasCorrect}{/if}'
// ),
// array(
// 'customCode' => '{if $bean->aclAccess("edit") && $fields.accepted.value == 1 && $OPT.user.confirm_invoiceouts == 1}{/if}'
// ),
// array(
// 'customCode' => ''
// ),
// array(
// 'customCode' => ''
// ),
// array(
// 'customCode' => ''
// ),
),
'hidden' => array(
'',
//'',
//'',
'',
'',
'',
' {$fields.document_no.value} - {$fields.parent_name.value} - {$fields.parent_contact_name.value} - {$fields.parent_address_street.value} {$fields.parent_address_postalcode.value} {$fields.parent_address_city.value} {$fields.parent_address_country.value} - {$fields.total.value}'
),
),
'maxColumns' => '2',
'widths' => array(
array('label' => '10', 'field' => '30'),
array('label' => '10', 'field' => '30')
),
'includes' => array(
array('file' => 'include/JSON.js'),
array('file' => 'modules/EcmInvoiceOutOlds/MyTable.js'),
array('file' => 'include/ECM/EcmPreviewPDF/EcmPreviewPDF.js'),
array('file' => 'modules/EcmInvoiceOutOlds/EcmInvoiceOutOldsDetailView.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',
array (
'name' => 'ecminvoiceout_name',
'tabIndex' => '1',
'customCode' => '{$INVOICES_INFO}',
)
),
array(
'payment_date',
'template_name',
),
array('name', 'description'),
array(
'order_no',
'supplier_code',
),
array(
array(
'name' => 'to_informations',
'allCols' => true,
'hideLabel' => true,
'customCode' => '
{$MOD.LBL_TO_PAYMENTS}
'
),
),
array(
array(
'name' => 'to',
'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' => '
'
// .'{literal}'.
// ''
// .'{/literal}'.
. '
| {$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} (netto / brutto) |
{$MOD.LBL_EDITTABLE_VAT} |
{$MOD.LBL_EDITTABLE_TOTAL} (netto / brutto) |
',
)
),
),
'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}'
// ),
// ),
// ),
),
);
?>