2024-04-27 09:23:34 +02:00
|
|
|
<?php
|
|
|
|
|
$module_name = 'EcmActions';
|
2024-12-03 09:55:11 +00:00
|
|
|
$viewdefs [$module_name] = array(
|
|
|
|
|
'EditView' => array(
|
|
|
|
|
'templateMeta' => array(
|
|
|
|
|
'maxColumns' => '2',
|
|
|
|
|
'widths' => array(
|
|
|
|
|
0 => array(
|
|
|
|
|
'label' => '10',
|
|
|
|
|
'field' => '30'
|
|
|
|
|
),
|
|
|
|
|
1 => array(
|
|
|
|
|
'label' => '10',
|
|
|
|
|
'field' => '30'
|
|
|
|
|
)
|
|
|
|
|
),
|
|
|
|
|
'useTabs' => false,
|
|
|
|
|
'tabDefs' => array(
|
|
|
|
|
'DEFAULT' => array(
|
|
|
|
|
'newTab' => false,
|
|
|
|
|
'panelDefault' => 'expanded'
|
|
|
|
|
),
|
|
|
|
|
'LBL_EDITVIEW_PANEL1' => array(
|
|
|
|
|
'newTab' => false,
|
|
|
|
|
'panelDefault' => 'expanded'
|
|
|
|
|
)
|
|
|
|
|
),
|
|
|
|
|
'javascript' => '
|
2024-04-27 09:23:34 +02:00
|
|
|
<script type="text/javascript" src="include/javascript/popup_parent_helper.js?s={$SUGAR_VERSION}&c={$JS_CUSTOM_VERSION}"></script>
|
|
|
|
|
<script type="text/javascript" src="include/jsolait/init.js?s={$SUGAR_VERSION}&c={$JS_CUSTOM_VERSION}"></script>
|
|
|
|
|
<script type="text/javascript" src="include/jsolait/lib/urllib.js?s={$SUGAR_VERSION}&c={$JS_CUSTOM_VERSION}"></script>
|
|
|
|
|
<script type="text/javascript" src="include/javascript/jsclass_base.js"></script>
|
|
|
|
|
<script type="text/javascript" src="include/javascript/jsclass_async.js"></script>
|
|
|
|
|
<script type="text/javascript" src="include/JSON.js?s={$SUGAR_VERSION}"></script>
|
|
|
|
|
<script type="text/javascript" src="modules/EcmActions/js/EditViewDocumentReady.js?s={$SUGAR_VERSION}&c={$JS_CUSTOM_VERSION}"></script>',
|
2024-12-03 09:55:11 +00:00
|
|
|
'includes' => array(
|
|
|
|
|
0 => array(
|
|
|
|
|
'file' => 'include/JSON.js'
|
|
|
|
|
)
|
|
|
|
|
)
|
|
|
|
|
),
|
|
|
|
|
'panels' => array(
|
|
|
|
|
'default' => array(
|
|
|
|
|
0 => array(
|
|
|
|
|
0 => array(
|
|
|
|
|
'name' => 'name',
|
|
|
|
|
'label' => 'LBL_NAME',
|
|
|
|
|
'tabIndex' => '100',
|
|
|
|
|
'displayParams' => array(
|
|
|
|
|
'size' => 40
|
|
|
|
|
)
|
|
|
|
|
),
|
|
|
|
|
1 => array(
|
|
|
|
|
'name' => 'indeks',
|
|
|
|
|
'label' => 'LBL_INDEKS',
|
|
|
|
|
'tabindex' => '120',
|
|
|
|
|
)
|
|
|
|
|
),
|
|
|
|
|
1 => array(
|
|
|
|
|
0 => array(
|
|
|
|
|
'name' => 'category',
|
2025-09-15 20:00:00 +02:00
|
|
|
'label' => 'Linia',
|
2024-12-03 09:55:11 +00:00
|
|
|
'tabIndex' => '101',
|
|
|
|
|
),
|
|
|
|
|
1 => array(
|
|
|
|
|
'name' => 'shape',
|
|
|
|
|
'label' => 'Forma',
|
|
|
|
|
'tabIndex' => '101',
|
|
|
|
|
)
|
|
|
|
|
),
|
|
|
|
|
2 => array(
|
|
|
|
|
0 => array(
|
|
|
|
|
'name' => 'time',
|
|
|
|
|
'customCode' => "{include file='modules/EcmActions/tpl/EditViewTime.tpl'}",
|
|
|
|
|
'label' => 'LBL_TIME',
|
|
|
|
|
'tabIndex' => '105',
|
|
|
|
|
),
|
|
|
|
|
1 => array (
|
|
|
|
|
'name' => 'performance',
|
|
|
|
|
'label' => 'Wydajność',
|
|
|
|
|
'tabIndex' => '101',
|
|
|
|
|
)
|
|
|
|
|
),
|
|
|
|
|
3 => array(
|
|
|
|
|
0 => array(
|
|
|
|
|
'name' => 'cost_action',
|
|
|
|
|
'label' => 'LBL_COST_ACTION',
|
|
|
|
|
'tabIndex' => '106',
|
|
|
|
|
)
|
|
|
|
|
),
|
|
|
|
|
4 => array(
|
|
|
|
|
0 => array(
|
|
|
|
|
'name' => 'cost_hour',
|
|
|
|
|
'label' => 'LBL_COST_HOUR',
|
|
|
|
|
'tabIndex' => '107',
|
|
|
|
|
)
|
|
|
|
|
),
|
|
|
|
|
6 => array(
|
|
|
|
|
0 => 'description'
|
|
|
|
|
)
|
|
|
|
|
)
|
|
|
|
|
)
|
|
|
|
|
)
|
2025-07-25 10:04:19 +02:00
|
|
|
);
|