array( 'form' => array( // 'enctype' => 'multipart/form-data', 'buttons' => array( array( 'customCode' => ' ', ), array( 'customCode' => '{$CATALOGUE}' ), // array( // 'customCode' => // ' // // ', // ), // array( // 'customCode' => // ' // // ', // ), // array( // 'customCode' => // ' //   // // ', // ), // array( // 'customCode' => // ' // // ', // ), // array( // 'customCode' => // ' // // ', // ), // array( // 'customCode' => // ' // // ', // ), array( 'customCode' => '   ', ), ), '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/EcmServices/MyTable.js', ), array( 'file' => 'modules/EcmServices/EcmServices.js', ), array( 'file' => 'modules/EcmServices/EcmServicesDetailView.js', ), array( 'file' => 'include/ECM/EcmPreviewPDF/EcmPreviewPDF.js', ), // array( // 'file' => 'modules/EcmProducts/mintajax.js', // ), // array( // 'file' => 'modules/EcmProducts/helper.js', // ), ), ), 'panels' => array( 'LBL_DETAILS_TAB' => array( array( 'document_no', array( 'name' => 'currency_id', 'label' => 'LBL_CURRENCY', ), ), array( 'total', 'subtotal', ), array( array( 'name'=> 'fk_parent_id', 'label'=> 'LBL_FK_PARENT_ID', ), array( 'name'=> 'wz_parent_id', 'label'=> 'LBL_WZ_PARENT_ID', ), ), array( array( 'name' => 'parent_name', 'customCode' => ' {$fields.parent_name.value} ', ), 'ecmpaymentcondition_name', ), array( 'name', 'ecmdeliverycondition_name', ), array( array( 'name' => 'status', 'type' => 'enum', 'customCode' => ' {$fields.status.options[$fields.status.value]} ', ), 'template_name', ), array( array( 'name' => 'repair_status', 'type' => 'enum', 'customCode' => ' {$fields.repair_status.options[$fields.repair_status.value]} ', ), 'stock_name', ), array( 'register_date', 'pw_stock_name', ), array( 'validtill_date', '', ), // Informations section. array( array( 'allCols' => true, 'hideLabel' => true, 'customCode' => '

{$MOD.LBL_TO_INFORMATIONS}

', ), ), array( array( //'allCols' => true, 'name' => 'parent_comment', ), ), array( array( //'allCols' => true, 'name' => 'service_comment', ), ), array( array( //'allCols' => true, 'name' => 'fault_comment', ), ), array( 'parent_contact_name', 'assigned_user_name', ), array( 'parent_contact_phone_fax', 'servicer_user_name' ), ), 'LBL_INCOME_TAB' => array( array( array( 'type' => 'tab', ), ), array( array( 'allCols' => true, 'hideLabel' => true, 'customCode' => '
{$MOD.LBL_EDITTABLE_NO} {$MOD.LBL_EDITTABLE_CODE} {$MOD.LBL_EDITTABLE_NAME} {$MOD.LBL_EDITTABLE_QUANTITY}
', ) ), ), 'LBL_ITEMS_TAB' => array( array( array( 'type' => 'tab', ), ), array( array( 'allCols' => true, 'hideLabel' => true, 'customCode' => '
{$MOD.LBL_EDITTABLE_NO} {$MOD.LBL_EDITTABLE_CODE} {$MOD.LBL_EDITTABLE_NAME} {$MOD.LBL_EDITTABLE_QUANTITY} {$MOD.LBL_EDITTABLE_RESERVATION} {$MOD.LBL_EDITTABLE_PRICE} {$MOD.LBL_EDITTABLE_DISCOUNT} {$MOD.LBL_EDITTABLE_PRICE} {$MOD.LBL_EDITTABLE_VAT} {$MOD.LBL_EDITTABLE_UNIT} {$MOD.LBL_EDITTABLE_TOTAL} Mag.
{$MOD.LBL_MOVE_ROW_UP} - {$MOD.LBL_MOVE_ROW_DOWN}
{$MOD.LBL_ARTICLES_SUBTOTAL}
{$MOD.LBL_ARTICLES_TOTAL}
 
', ) ), ), 'LBL_SERVICES_TAB' => array( array( array( 'type' => 'tab', ), ), array( array( 'allCols' => true, 'hideLabel' => true, 'customCode' => '
{$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_PRICE} {$MOD.LBL_EDITTABLE_VAT} {$MOD.LBL_EDITTABLE_TOTAL}
{$MOD.LBL_MOVE_ROW_UP} - {$MOD.LBL_MOVE_ROW_DOWN}
{$MOD.LBL_SERVICES_SUBTOTAL}
{$MOD.LBL_SERVICES_TOTAL}
 
', ) ), ), 'LBL_HISTORY_TAB'=> array( array( array( 'name' => 'history_panel', 'allCols' => true, 'hideLabel' => true, 'customCode' => '
', ), ), ), /* 'LBL_PREVIEW_TAB'=> array( array( array( 'name' => 'preview_panel', 'allCols' => true, 'hideLabel' => true, 'customCode' => '
', ), ), ), /* 'LBL_PREVIEW_INCOME_TAB' => array( array( array( 'type' => 'tab', ), ), array( array( 'name' => 'PREVIEW_INCOME', 'allCols' => true, 'hideLabel' => true, 'customCode' => ' ', ), ), ), 'LBL_PREVIEW_QTY_TAB' => array( array( array( 'type' => 'tab', ), ), array( array( 'name' => 'PREVIEW_QTY', 'allCols' => true, 'hideLabel' => true, 'customCode' => ' ', ), ), ), 'LBL_PREVIEW_VAL_TAB' => array( array( array( 'type' => 'tab', ), ), array( array( 'name' => 'PREVIEW_VAL', 'allCols' => true, 'hideLabel' => true, 'customCode' => ' ', ), ), ), 'LBL_PREVIEW_WARRANTY_TAB' => array( array( array( 'type' => 'tab', ), ), array( array( 'name' => 'PREVIEW_WARRANTY', 'allCols' => true, 'hideLabel' => true, 'customCode' => ' ', ), ), ), */ ), );