src/org/openbravo/erpCommon/ad_actionButton/EditCCPMeasureValues.html
changeset 1605 8a0fe0193bef
child 1709 d1079c01be35
equal deleted inserted replaced
1604:a1c518e6ed93 1605:8a0fe0193bef
       
     1 <!--
       
     2  *************************************************************************
       
     3  * The contents of this file are subject to the Openbravo  Public  License
       
     4  * Version  1.0  (the  "License"),  being   the  Mozilla   Public  License
       
     5  * Version 1.1  with a permitted attribution clause; you may not  use this
       
     6  * file except in compliance with the License. You  may  obtain  a copy of
       
     7  * the License at http://www.openbravo.com/legal/license.html 
       
     8  * Software distributed under the License  is  distributed  on  an "AS IS"
       
     9  * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
       
    10  * License for the specific  language  governing  rights  and  limitations
       
    11  * under the License. 
       
    12  * The Original Code is Openbravo ERP. 
       
    13  * The Initial Developer of the Original Code is Openbravo SL 
       
    14  * All portions are Copyright (C) 2001-2008 Openbravo SL 
       
    15  * All Rights Reserved. 
       
    16  * Contributor(s):  ______________________________________.
       
    17  ************************************************************************
       
    18 -->
       
    19 <html xmlns="http://www.w3.org/1999/xhtml">
       
    20 <head>
       
    21   <title>Edit PCC Values</title>
       
    22   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></meta> 
       
    23   <link rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Popup/Popup.css" id="paramCSS"></link>
       
    24 
       
    25   <script language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></script>
       
    26   <script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
       
    27   <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
       
    28   <script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
       
    29   <script language="JavaScript" src="../../../../../web/js/dojoConfig.js" type="text/javascript"></script>
       
    30   <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
       
    31 
       
    32   <script type="text/javascript">
       
    33     dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
       
    34   </script>
       
    35 
       
    36   <script language="JavaScript" type="text/javascript" id="paramLanguage">	defaultLang = "en_US";</script>
       
    37   <script language="JavaScript" type="text/javascript" id="paramDirectory">var baseDirectory = "http://openbravo/web/";</script>
       
    38   <script language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></script>
       
    39   <script language="JavaScript" type="text/javascript">
       
    40   function loadData(value, enable) {
       
    41     if (enable == null) enable = false;
       
    42     document.frmMain.elements["inpmovementqty" + value].disabled = !enable;
       
    43     document.frmMain.elements["inpquantityorder" + value].disabled = !enable;
       
    44     return true;
       
    45   }
       
    46 
       
    47   function validate(action) {
       
    48     var frm=document.frmMain;
       
    49     return true;
       
    50   }
       
    51   </script>
       
    52 
       
    53   <script language="JavaScript" type="text/javascript">
       
    54   function closeThisPage() {
       
    55     top.close();
       
    56     return true;
       
    57   }
       
    58 
       
    59   function submitThisPage(strCommand) {
       
    60     if (validate(strCommand)) {
       
    61       submitCommandForm(strCommand, false, null, 'EditCCPMeasureValues.html', null);
       
    62       return true;
       
    63     }
       
    64     return true;
       
    65   }
       
    66   </script>
       
    67   <script language="JavaScript" type="text/javascript">
       
    68   function onLoadDo(){
       
    69     this.windowTables = new Array(
       
    70       new windowTableId('client_middle', 'buttonOK'),
       
    71       new windowTableId('client_bottom', 'buttonOK')
       
    72     );
       
    73     setWindowTableParentElement();
       
    74     enableShortcuts('popup');
       
    75     setBrowserAutoComplete(false);
       
    76 
       
    77     resizeAreaCreateFrom();	
       
    78     setWindowElementFocus('firstElement');
       
    79   }
       
    80 
       
    81   function onResizeDo(){
       
    82     resizeAreaCreateFrom();
       
    83   }
       
    84   </script>
       
    85 </head>
       
    86 
       
    87 <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"  onload="onLoadDo();" onresize="onResizeDo();">
       
    88   <div class="Popup_ContentPane_CircleLogo">
       
    89     <div class="Popup_WindowLogo">
       
    90       <img class="Popup_WindowLogo_Icon Popup_WindowLogo_Icon_process" src="../../../../../web/images/blank.gif" border="0"/>
       
    91     </div>
       
    92   </div>
       
    93 
       
    94 <form id="form" method="post" action="../ad_actionButton/EditCCPMeasureValues.html" name="frmMain">
       
    95   <input type="hidden" name="Command"/>
       
    96   <input type="hidden" name="IsPopUpCall" value="1"/>
       
    97   <input type="hidden" name="inpLastFieldChanged"/>
       
    98   <input type="hidden" name="inpmaMeasureShiftId" value="" id="paramKey"/> 
       
    99   <input type="hidden" name="inpWindowId" value="" id="paramWindowId"/> 
       
   100   <input type="hidden" name="inpTabId" value="" id="paramTabId"/>
       
   101   
       
   102   <table id="table_header" cellspacing="0" cellpadding="0" width="100%">
       
   103   <tr>
       
   104     <td id="tdNavigation">
       
   105       <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_NavBar">
       
   106         <tr class="Popup_NavBar_bg"><td></td>
       
   107           <td class="Popup_NavBar_separator_cell"></td>
       
   108           <td class="Popup_NavBar_bg_logo_left"></td>
       
   109           <td class="Popup_NavBar_bg_logo" width="1" onclick="openNewBrowser('http://www.openbravo.com', 'Openbravo');return false;"><img src="../../../../../web/images/blank.gif" alt="Openbravo" title="Openbravo" border="0" id="openbravoLogo" class="Popup_NavBar_logo" /></td>
       
   110           <td class="Popup_NavBar_bg_logo_right"></td>
       
   111           <td class="Popup_NavBar_Popup_title_cell"><span>Edit Control Point Measures</span></td>
       
   112           <td class="Popup_NavBar_separator_cell"></td>
       
   113         </tr>
       
   114       </table>
       
   115     </td>
       
   116   </tr>
       
   117   <tr>
       
   118     <td id="tdSeparator">
       
   119       <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_SeparatorBar">
       
   120         <tr>
       
   121           <td class="Popup_SeparatorBar_bg"></td>
       
   122         </tr>
       
   123       </table>
       
   124     </td>
       
   125   </tr>
       
   126   </table>
       
   127 
       
   128   <table cellspacing="0" cellpadding="0" width="100%">
       
   129   <tr>
       
   130     <td>
       
   131       <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client_messagebox">
       
   132                             <!-- MessageBox -->
       
   133                             <table cellpadding="0" cellspacing="0" id="messageBoxID" class="MessageBoxyy">
       
   134                               <tbody>
       
   135                               <tr class="MessageBox_TopMargin">
       
   136                                 <td class="MessageBox_LeftMargin"></td>
       
   137                                 <td></td>
       
   138                                 <td class="MessageBox_RightMargin"></td>
       
   139                               </tr>
       
   140                               <tr>
       
   141                                 <td class="MessageBox_LeftMargin"></td>
       
   142                                 <td>
       
   143 
       
   144                                   <table cellpadding="0" cellspacing="0" style="width: 100%;">
       
   145                                     <tbody>
       
   146                                     <tr>
       
   147                                       <td>
       
   148                                         <div class="MessageBox_TopLeft"></div>
       
   149                                         <div class="MessageBox_Left"></div>
       
   150                                       </td>
       
   151                                       <td class="MessageBox_bg">
       
   152 
       
   153                                         <table class="MessageBox_Top">
       
   154                                         <tbody>
       
   155                                           <tr>
       
   156                                             <td>
       
   157                                               <span>
       
   158                                               <table cellpadding="0" cellspacing="0" class="MessageBox_Body_ContentCell">
       
   159                                                 <tbody>
       
   160                                                 <tr>
       
   161                                                   <td class="MessageBox_Icon_ContentCell">
       
   162                                                     <div class="MessageBox_Icon"></div>
       
   163                                                   </td>
       
   164                                                   <td style="vertical-align: top;" id="messageBoxIDContent">
       
   165                                                     <span>
       
   166                                                       <div class="MessageBox_TextTitle" id="messageBoxIDTitle">
       
   167                                                         xxInfo: AccessTableWithNoView
       
   168                                                       </div>
       
   169                                                       <div class="MessageBox_TextDescription" id="messageBoxIDMessage">
       
   170                                                         xxThe current information is empty.
       
   171                                                       </div>
       
   172                                                       <div class="MessageBox_TextSeparator"></div>
       
   173                                                     </span>
       
   174                                                   </td>
       
   175                                                 </tr>
       
   176                                                 </tbody>
       
   177                                               </table>
       
   178                                               </span>
       
   179                                             </td>
       
   180                                           </tr>
       
   181                                           </tbody>
       
   182                                         </table>
       
   183 
       
   184                                       </td>
       
   185                                       <td class="MessageBox_RightTrans">
       
   186                                         <div class="MessageBox_TopRight"></div>
       
   187                                         <div class="MessageBox_Right"></div>
       
   188                                       </td>
       
   189                                     </tr>
       
   190                                     <tr>
       
   191                                       <td rowspan="2" class="MessageBox_BottomLeft">
       
   192                                       </td>
       
   193                                       <td class="MessageBox_BottomTrans MessageBox_bg">
       
   194                                       </td>
       
   195                                       <td rowspan="2" class="MessageBox_BottomRight">
       
   196                                       </td>
       
   197                                     </tr>
       
   198                                     <tr>
       
   199                                       <td class="MessageBox_Bottom">
       
   200                                       </td>
       
   201                                     </tr>
       
   202                                     </tbody>
       
   203                                   </table>
       
   204 
       
   205                                 </td>
       
   206                                 <td class="MessageBox_RightMargin"></td>
       
   207                               </tr>
       
   208                               <tr class="MessageBox_BottomMargin">
       
   209                                 <td class="MessageBox_LeftMargin"></td>
       
   210                                 <td></td>
       
   211                                 <td class="MessageBox_RightMargin"></td>
       
   212                               </tr>
       
   213                               </tbody>
       
   214                             </table>
       
   215                             <!-- MessageBox END -->
       
   216       </div>
       
   217     </td>
       
   218   </tr>
       
   219   </table>
       
   220 
       
   221   <table cellspacing="0" cellpadding="0" width="100%">
       
   222   <tr>
       
   223     <td>
       
   224       <div class="Popup_ContentPane_Client" style="overflow: auto" id="client_top">
       
   225         <table cellspacing="0" cellpadding="0" class="Popup_Client_TablePopup">
       
   226           <tbody>
       
   227           <tr height="10px"><td colspan="6"></td></tr>
       
   228           <tr>
       
   229             <td class="TableEdition_OneCell_width"></td>
       
   230             <td class="TableEdition_OneCell_width"></td>
       
   231             <td class="TableEdition_OneCell_width"></td>
       
   232             <td class="TableEdition_OneCell_width"></td>
       
   233             <td class="TableEdition_OneCell_width"></td>
       
   234             <td class="TableEdition_OneCell_width"></td>
       
   235           </tr>
       
   236           <tr> 
       
   237             <td class="TitleCell"><span class="LabelText">Measure date</span></td>
       
   238             <td class="ReadOnly_Text_ContentCell"><span id="paramMeasureDate" class="Label_ReadOnly_Text"></span></td>
       
   239             <td class="TitleCell"><span class="LabelText">Shift</span></td>
       
   240             <td class="ReadOnly_Text_ContentCell"><span id="paramShift" class="Label_ReadOnly_Text"></span></td>
       
   241             <td/>
       
   242             <td/>
       
   243           </tr>
       
   244           </tbody>
       
   245         </table>
       
   246       </div>
       
   247     </td>
       
   248   </tr>
       
   249 
       
   250   <tr>
       
   251     <td>
       
   252       <div class="Popup_ContentPane_Client" style="overflow: auto; display: none" id="client_middle">
       
   253         <table cellspacing="0" cellpadding="0" class="Popup_Client_TablePopup">
       
   254           <tr>
       
   255             <td class="TableEdition_OneCell_width"></td>
       
   256             <td class="TableEdition_OneCell_width"></td>
       
   257             <td class="TableEdition_OneCell_width"></td>
       
   258             <td class="TableEdition_OneCell_width"></td>
       
   259             <td class="TableEdition_OneCell_width"></td>
       
   260             <td class="TableEdition_OneCell_width"></td>
       
   261           </tr>
       
   262                
       
   263           <div id="sectionDetail">
       
   264             <tr>
       
   265               <td colspan="6">
       
   266                 <table class="FieldGroup" cellspacing="0" cellpadding="0" border="0">
       
   267                   <tr class="FieldGroup_TopMargin"></tr>
       
   268                   <tr>
       
   269                     <td class="FieldGroupTitle_Left"><img class="FieldGroupTitle_Left_bg" border="0" src="../../../../../web/images/blank.gif"/></td>
       
   270                     <td class="FieldGroupTitle"><span id="fieldGroup">xxGroup</span></td>
       
   271                     <td class="FieldGroupTitle_Right"><img class="FieldGroupTitle_Right_bg" border="0" src="../../../../../web/images/blank.gif"/></td>
       
   272                     <td class="FieldGroupContent"></td>
       
   273                   </tr>
       
   274                   <tr class="FieldGroup_BottomMargin"></tr>
       
   275                 </table>
       
   276               </td>
       
   277             </tr>
       
   278             <tr>
       
   279               <td colspan="6">
       
   280                 <table cellspacing="0" cellpadding="0" class="Popup_Client_TableSelector_Grid">
       
   281                   <div id="reportHours"></div>
       
   282                   <div id="reportValues"></div>
       
   283                 </table>
       
   284               </td>
       
   285             </tr>
       
   286           </div>
       
   287         </table>
       
   288       </div>
       
   289     </td>
       
   290   </tr>
       
   291   <tr>
       
   292     <td>
       
   293       <div class="Popup_ContentPane_Client" style="overflow: auto; height: 75px" id="client_bottom">
       
   294         <table cellspacing="0" cellpadding="0" class="Popup_Client_TableSelector">
       
   295           <tr>
       
   296             <td class="TableEdition_OneCell_width"></td>
       
   297             <td class="TableEdition_OneCell_width"></td>
       
   298             <td class="TableEdition_OneCell_width"></td>
       
   299             <td class="TableEdition_OneCell_width"></td>
       
   300             <td class="TableEdition_OneCell_width"></td>
       
   301             <td class="TableEdition_OneCell_width"></td>
       
   302           </tr>
       
   303 
       
   304           <tr>
       
   305 
       
   306             <td></td>
       
   307             <td></td>
       
   308             <td class="Button_RightAlign_ContentCell">
       
   309               <div>
       
   310                 <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Accept'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="submitThisPage('SAVE');return false;" id="buttonOK">
       
   311             <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='Accept';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
       
   312                   <tr>
       
   313                     <td class="Button_left"><img class="Button_Icon Button_Icon_ok" alt="Accept" title="Accept" src="../../../../../web/images/blank.gif" border="0"/></td>
       
   314                     <td class="Button_text Button_width">OK</td>
       
   315                     <td class="Button_right"></td>
       
   316                   </tr>
       
   317                 </table>
       
   318                   </a>
       
   319               </div>
       
   320             </td>
       
   321             <td class="Button_LeftAlign_ContentCell">
       
   322               <div>
       
   323                 <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Cancel'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="closeThisPage();return false;">
       
   324             <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='Cancel';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
       
   325                   <tr>
       
   326                     <td class="Button_left"><img class="Button_Icon Button_Icon_cancel" alt="Cancel" title="Cancel" src="../../../../../web/images/blank.gif" border="0"/></td>
       
   327                     <td class="Button_text Button_width">Cancel</td>
       
   328                     <td class="Button_right"></td>
       
   329                   </tr>
       
   330                 </table>
       
   331                   </a>
       
   332               </div>
       
   333             </td>
       
   334             <td></td>
       
   335             <td></td>
       
   336           </tr>
       
   337         </table>
       
   338       </div>
       
   339     </td>
       
   340   </tr>
       
   341 
       
   342 </table>
       
   343 </form>
       
   344 </body>
       
   345 </html>