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['EcmStockDocIns']['EditView'] = array ( 'templateMeta' => array ( 'form' => array ( 'enctype'=>'multipart/form-data', 'buttons'=>array( 'SAVE', 'CANCEL', ), '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'=>'include/javascript/quicksearch.js'), array('file'=>'modules/EcmStockDocIns/EcmStockDocIns.js'), ), ), 'panels' => array ( 'DETAILS'=> array( array(array('type' => 'tab','active' => true,)), array( array( 'name' => 'document_no', 'tabIndex' => 'f', 'customCode' => ' ' ), 'assigned_user_name' ), array ( 'parent_name', 'type' ), array ( '', 'ecmstockdocin_name' ), array ( 'status', '' ), array ( array('name'=>'register_date','type'=>'date','displayParams'=>array('showFormats'=>true)), '' ), array ( array('name'=>'sell_date','type'=>'date','displayParams'=>array('showFormats'=>true)), '', ), array ( array('name'=>'payment_date','type'=>'date','displayParams'=>array('showFormats'=>true)), array( 'label'=>'LBL_TEMPLATE_NAME', 'customCode'=>'' ) ), 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}
{$MOD.LBL_MOVE_ROW_UP} - {$MOD.LBL_MOVE_ROW_DOWN}
{$MOD.LBL_SUBTOTAL}
{$MOD.LBL_TOTAL}
 
', ) ), ), 'TEXTS'=> array( array(array('type' => 'tab')), array(array('label' => 'LBL_HEADER_TEXT','customCode' => $mfp->getFormHTML(true, 'header')),), array(array('tabIndex'=>'f', 'customCode'=>'')), array(array('label' => 'LBL_FOOTER_TEXT','customCode' => $mfp->getFormHTML(true, 'footer')),), array(array('tabIndex'=>'f', 'customCode'=>'')), array(array('label' => 'LBL_ADS_TEXT','customCode' => $mfp->getFormHTML(true, 'ads')),), array(array('tabIndex'=>'f', 'customCode'=>'')), ), 'PREVIEW'=> array( array(array('type' => 'tab')), array( array( 'customCode' => 'preview' ), ), ), 'EMAIL'=> array( array(array('type' => 'tab')), array( array( 'customCode' => 'email' ), ), ), ), ); ?>