array (
'form' => array (
'buttons' => array (
array (
'customCode' => '{if $CAN_EDIT == true} {/if}'
),
array (
'customCode' => ''
),
array(
'customCode' => '{if $bean->status=="accepted"}{/if}'
),
array (
'customCode' => '{$CREATE_PDF}'
),
array(
'customCode' => '{if $bean->status=="registered"}{/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/EcmPurchaseOrders/javascript/EcmPurchaseOrdersDetail.js'
),
array (
'file' => 'modules/EcmPurchaseOrders/javascript/helper.js'
),
array (
'file' => 'modules/EcmPurchaseOrders/javascript/bimit_table.js'
),
array (
'file' => 'modules/EcmPurchaseOrders/javascript/columndefs-detail.js'
)
)
),
'panels' => array (
'LBL_DETAILS_TAB' => array (
array (
'document_no',
'assigned_user_name'
),
array (
'name',
'status',
),
array (
array (
'name' => 'parent_name',
'tabIndex' => '1'
),
array (
'name' => 'contact_name',
'tabIndex' => '1'
),
),
array (
array (
'name' => 'register_date',
'tabIndex' => '1',
'type' => 'datetime',
'displayParams' => array (
'showFormats' => true
)
),
array (
'name' => 'delivery_date',
'tabIndex' => '1',
'type' => 'datetime',
'displayParams' => array (
'showFormats' => true
)
),
)
,
array (
'pdf_text','tracking_no'
),
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'=>'currency_id',
'label'=>'LBL_CURRENCY',
),
),
array (
'parent_contact_name',
array(
'name' => 'to_is_vat_free',
'tabIndex' => 't',
'customCode' => ''
),
),
array ('parent_contact_title',
),
array ('parent_address_street', ''),
array (
array(
'name' => 'parent_address_city',
'tabIndex' => 't',
'customCode' => '{$fields.parent_address_postalcode.value} {$fields.parent_address_city.value}'
),
''
),
array ('parent_address_country', ''),
array ('parent_nip', ''),
array (
array (
'name' => 'to_informations',
'allCols' => true,
'hideLabel' => true,
'customCode' => '