KS - liquidation
This commit is contained in:
@@ -69,124 +69,124 @@
|
||||
* *******************************************************************************/
|
||||
global $app_list_strings;
|
||||
|
||||
$viewdefs ['EcmStockDocCorrects'] ['DetailView'] = array (
|
||||
|
||||
'templateMeta' => array (
|
||||
|
||||
'form' => array (
|
||||
|
||||
'buttons' => array (
|
||||
'CANCEL_DOC',
|
||||
array (
|
||||
'customCode' => "{include_php file='include/ECM/EcmCreatePdfButton.php'}",
|
||||
),
|
||||
),
|
||||
'hidden' => array (
|
||||
'<input type="hidden" name="vats_summary" id="vats_summary" value=\'{$fields.vats_summary.value}\'>',
|
||||
'<input type="hidden" id="doc_total" value=\'{$fields.total.value}\'>',
|
||||
'<input type="hidden" id="operations_out" value=\'{$OP_OUT}\'>',
|
||||
'<input type="hidden" id="operations_in" value=\'{$OP_IN}\'>'
|
||||
)
|
||||
$viewdefs['EcmStockDocCorrects']['DetailView'] = array(
|
||||
|
||||
'templateMeta' => array(
|
||||
|
||||
'form' => array(
|
||||
|
||||
'buttons' => array(
|
||||
'CANCEL_DOC',
|
||||
array(
|
||||
'customCode' => "{include_php file='include/ECM/EcmCreatePdfButton.php'}",
|
||||
),
|
||||
|
||||
'maxColumns' => '2',
|
||||
|
||||
'widths' => array (
|
||||
|
||||
array (
|
||||
'label' => '10',
|
||||
'field' => '30'
|
||||
),
|
||||
|
||||
array (
|
||||
'label' => '10',
|
||||
'field' => '30'
|
||||
)
|
||||
array(
|
||||
'customCode' => '{if $IS_RETURN}<input type="button" class="button" name="liquidation" id="liquidation" value="Likwidacja" onclick="window.open(\'index.php?module=EcmStockDocCorrects&action=EditView&liquidation={$fields.id.value}\');">{/if}',
|
||||
),
|
||||
|
||||
'includes' => array (
|
||||
array (
|
||||
'file' => 'include/JSON.js'
|
||||
),
|
||||
array (
|
||||
'file' => 'modules/EcmStockDocCorrects/javascript/EcmStockDocCorrectsDetail.js'
|
||||
),
|
||||
array (
|
||||
'file' => 'modules/EcmStockDocCorrects/javascript/helper.js'
|
||||
),
|
||||
array (
|
||||
'file' => 'modules/EcmStockDocCorrects/javascript/bimit_table.js'
|
||||
),
|
||||
array (
|
||||
'file' => 'modules/EcmStockDocCorrects/javascript/columndefs-detail.js'
|
||||
)
|
||||
)
|
||||
),
|
||||
'hidden' => array(
|
||||
'<input type="hidden" name="vats_summary" id="vats_summary" value=\'{$fields.vats_summary.value}\'>',
|
||||
'<input type="hidden" id="doc_total" value=\'{$fields.total.value}\'>',
|
||||
'<input type="hidden" id="operations_out" value=\'{$OP_OUT}\'>',
|
||||
'<input type="hidden" id="operations_in" value=\'{$OP_IN}\'>'
|
||||
)
|
||||
),
|
||||
|
||||
'panels' => array (
|
||||
|
||||
'LBL_DETAILS_TAB' => array (
|
||||
|
||||
array (
|
||||
'document_no',
|
||||
'assigned_user_name'
|
||||
),
|
||||
|
||||
array (
|
||||
'name',
|
||||
'stock_name'
|
||||
),
|
||||
|
||||
array (
|
||||
'register_date',
|
||||
'type'
|
||||
),
|
||||
array (
|
||||
'ecmproductstockindex_name',
|
||||
),
|
||||
array (
|
||||
'pdf_text'
|
||||
),
|
||||
array (
|
||||
array (
|
||||
|
||||
'name' => 'to_informations',
|
||||
'allCols' => true,
|
||||
|
||||
'hideLabel' => true,
|
||||
|
||||
'customCode' => '<br>'
|
||||
)
|
||||
),
|
||||
array (
|
||||
array (
|
||||
'name' => 'date_modified',
|
||||
'label' => 'LBL_DATE_MODIFIED',
|
||||
'customCode' => '{$fields.date_modified.value} {$APP.LBL_BY} {$MODIFIED_BY_NAME}'
|
||||
),
|
||||
array (
|
||||
'name' => 'date_entered',
|
||||
'customCode' => '{$fields.date_entered.value} {$APP.LBL_BY} {$CREATED_BY_NAME}'
|
||||
),
|
||||
),
|
||||
|
||||
'maxColumns' => '2',
|
||||
|
||||
'widths' => array(
|
||||
|
||||
array(
|
||||
'label' => '10',
|
||||
'field' => '30'
|
||||
),
|
||||
|
||||
array(
|
||||
'label' => '10',
|
||||
'field' => '30'
|
||||
)
|
||||
),
|
||||
|
||||
'includes' => array(
|
||||
array(
|
||||
'file' => 'include/JSON.js'
|
||||
),
|
||||
array(
|
||||
'file' => 'modules/EcmStockDocCorrects/javascript/EcmStockDocCorrectsDetail.js'
|
||||
),
|
||||
array(
|
||||
'file' => 'modules/EcmStockDocCorrects/javascript/helper.js'
|
||||
),
|
||||
array(
|
||||
'file' => 'modules/EcmStockDocCorrects/javascript/bimit_table.js'
|
||||
),
|
||||
array(
|
||||
'file' => 'modules/EcmStockDocCorrects/javascript/columndefs-detail.js'
|
||||
)
|
||||
)
|
||||
),
|
||||
|
||||
'panels' => array(
|
||||
|
||||
'LBL_DETAILS_TAB' => array(
|
||||
|
||||
array(
|
||||
'document_no',
|
||||
'assigned_user_name'
|
||||
),
|
||||
|
||||
array(
|
||||
'name',
|
||||
'stock_name'
|
||||
),
|
||||
|
||||
array(
|
||||
'register_date',
|
||||
'type'
|
||||
),
|
||||
array(
|
||||
'ecmproductstockindex_name',
|
||||
),
|
||||
array(
|
||||
'pdf_text'
|
||||
),
|
||||
array(
|
||||
array(
|
||||
|
||||
'name' => 'to_informations',
|
||||
'allCols' => true,
|
||||
|
||||
'hideLabel' => true,
|
||||
|
||||
'customCode' => '<br>'
|
||||
)
|
||||
),
|
||||
array(
|
||||
array(
|
||||
'name' => 'date_modified',
|
||||
'label' => 'LBL_DATE_MODIFIED',
|
||||
'customCode' => '{$fields.date_modified.value} {$APP.LBL_BY} {$MODIFIED_BY_NAME}'
|
||||
),
|
||||
|
||||
'LBL_ITEMS_TAB' => array (
|
||||
|
||||
array (
|
||||
|
||||
array (
|
||||
'name' => 'items_list_panel',
|
||||
'allCols' => true,
|
||||
|
||||
'hideLabel' => true,
|
||||
|
||||
'customCode' => '<div id="itemsTable"></div>'
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
array(
|
||||
'name' => 'date_entered',
|
||||
'customCode' => '{$fields.date_entered.value} {$APP.LBL_BY} {$CREATED_BY_NAME}'
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
'LBL_ITEMS_TAB' => array(
|
||||
|
||||
array(
|
||||
|
||||
array(
|
||||
'name' => 'items_list_panel',
|
||||
'allCols' => true,
|
||||
|
||||
'hideLabel' => true,
|
||||
|
||||
'customCode' => '<div id="itemsTable"></div>'
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user