footer_text) || $focus->footer_text == '') && (!isset($focus->name) || $focus->name == '') && (!isset($focus->id) || $focus->id == '')) $focus->footer_text = translate('LBL_DEFAULT_FOOTER_TEXT', 'EcmDocumentTemplates');
if((!isset($focus->header_text) || $focus->header_text == '') && (!isset($focus->name) || $focus->name == '') && (!isset($focus->id) || $focus->id == '')) $focus->header_text = translate('LBL_DEFAULT_HEADER_TEXT', 'EcmDocumentTemplates');
*/
$viewdefs['EcmGroupFkPackages']['EditView'] = array(
'templateMeta' => array(
'form' => array(
'enctype' => 'multipart/form-data',
'buttons' => array(
array('customCode' => ''),
//array('customCode' => ''),
array('customCode' => ''),
array('customCode' => ''),
),
'hidden' => array(
'',
'', //{$fields.email_id.value}\'>',
// '',
),
),
'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' => 'modules/EcmGroupFkPackages/formloader.js'),
array('file' => 'modules/EcmGroupFkPackages/MyTable.js'),
array('file' => 'modules/EcmGroupFkPackages/EcmGroupServices.js'),
),
),
'panels' => array(
'DETAILS' => array(
array(array('type' => 'tab', 'active' => true,)),
array(
array(
'name' => 'formatted_number',
'tabIndex' => 'f',
'customCode' => '
'
),
'assigned_user_name'
),
array(
'name',
'parent_name'
),
array(
'status',
array(
'label' => 'LBL_TEMPLATE_NAME',
'customCode' => ''
),
),
array(
array(
'name' => 'register_date',
'type' => 'datetime',
'displayParams' => array('showFormats' => true)
),
),
array(
array(
'allCols' => true,
'hideLabel' => true,
'customCode' => '
{$MOD.LBL_TO_INFORMATIONS}
'
),
),
array(
array(
'name' => 'parent_address_street',
'tabIndex' => 'p',
'customCode' => '',
),
),
array('parent_address_postalcode', 'to_nip'),
array('parent_address_city', 'to_vatid'),
array(
'parent_address_country',
array(
'name' => 'to_is_vat_free',
'tabIndex' => 't',
'customCode' => ''
),
),
),
'ITEMS' => array(
array(array('type' => 'tab')),
array(
array(
'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_PRICE} |
{$MOD.LBL_EDITTABLE_DISCOUNT} |
{$MOD.LBL_EDITTABLE_TOTAL} |
{$MOD.LBL_EDITTABLE_OPTIONS} |
',
)
),
),
'TEXTS' => array(
array(array('type' => 'tab')),
array(array('label' => 'LBL_HEADER_TEXT', 'customCode' => ''),),
array(array('tabIndex' => 'f', 'customCode' => '')),
array(array('label' => 'LBL_FOOTER_TEXT', 'customCode' => ''),),
array(array('tabIndex' => 'f', 'customCode' => '')),
array(array('label' => 'LBL_ADS_TEXT', 'customCode' => '{$MFP.ads}'),),
array(array('tabIndex' => 'f', 'customCode' => '')),
),
'PREVIEW' => array(
array(array('type' => 'tab')),
array(
array(
'allCols' => true,
'hideLabel' => true,
'customCode' => ''
),
),
),
'EMAIL' => array(
array(
array(
'type' => 'tab',
)
),
array(
array(
'allCols' => true,
'hideLabel' => true,
'customCode' => ''
),
),
),
),
);
?>