src/org/openbravo/erpCommon/ad_actionButton/UpdateMaintenanceScheduled_F1.html
author David Baz Fayos <david.baz@openbravo.com>
Tue, 27 May 2008 15:26:10 +0000
changeset 1044 8691bbc94032
parent 799 fef2c5e2feb7
child 1325 af371d42d754
permissions -rw-r--r--
Removed old frame parameter of windowTableId
carlos@0
     1
<!--
carlos@0
     2
 *************************************************************************
carlos@0
     3
 * The contents of this file are subject to the Openbravo  Public  License
carlos@0
     4
 * Version  1.0  (the  "License"),  being   the  Mozilla   Public  License
carlos@0
     5
 * Version 1.1  with a permitted attribution clause; you may not  use this
carlos@0
     6
 * file except in compliance with the License. You  may  obtain  a copy of
carlos@0
     7
 * the License at http://www.openbravo.com/legal/license.html 
carlos@0
     8
 * Software distributed under the License  is  distributed  on  an "AS IS"
carlos@0
     9
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
carlos@0
    10
 * License for the specific  language  governing  rights  and  limitations
carlos@0
    11
 * under the License. 
carlos@0
    12
 * The Original Code is Openbravo ERP. 
carlos@0
    13
 * The Initial Developer of the Original Code is Openbravo SL 
carlos@0
    14
 * All portions are Copyright (C) 2001-2006 Openbravo SL 
carlos@0
    15
 * All Rights Reserved. 
carlos@0
    16
 * Contributor(s):  ______________________________________.
carlos@0
    17
 ************************************************************************
carlos@0
    18
-->
carlos@0
    19
<HTML>
carlos@0
    20
<HEAD>
carlos@0
    21
<TITLE>Done scheduled maintenances</TITLE>
carlos@0
    22
<META http-equiv="Content-Type" content="text/html; charset=UTF-8"></META> 
carlos@0
    23
  <LINK rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Popup/Popup.css" id="paramCSS"></LINK>
carlos@0
    24
  <script language="JavaScript" type="text/javascript" id="paramDirection">
carlos@0
    25
    var baseDirection = "../../../../../web/";
carlos@0
    26
  </script>
carlos@0
    27
  <script language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></script>
carlos@0
    28
  <script language="JavaScript" src="../../../../../web/js/dojoConfig.js" type="text/javascript"></script>
carlos@0
    29
  <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
carlos@0
    30
  <SCRIPT language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></SCRIPT>
david@148
    31
  <SCRIPT language="JavaScript" src="../utility/MessagesJS.js" type="text/javascript"></SCRIPT>
carlos@0
    32
  <SCRIPT language="JavaScript" src="../../../../../web/js/jscalendar/calendar.js" type="text/javascript"></SCRIPT>
david@148
    33
  <SCRIPT language="JavaScript" src="../../../../../web/js/jscalendar/lang/calendar-es.js" type="text/javascript" id="fieldCalendar"></SCRIPT>
carlos@0
    34
  <SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">LNG_POR_DEFECTO = "en_US";</SCRIPT>
asier@528
    35
  <script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
asier@528
    36
  <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
asier@528
    37
  <script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
carlos@0
    38
  <SCRIPT language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></SCRIPT>
carlos@0
    39
  <script language="JavaScript" src="../../../../../web/js/default/DateTextBox.js" type="text/javascript"></script>
carlos@0
    40
<SCRIPT language="JavaScript" type="text/javascript">
carlos@0
    41
carlos@0
    42
function cargarDatos(value, enable) {
carlos@0
    43
  if (enable == null) enable = false;
carlos@0
    44
  document.frmMain.elements["inpmovementqty" + value].disabled = !enable;
carlos@0
    45
  document.frmMain.elements["inpquantityorder" + value].disabled = !enable;
carlos@0
    46
  return true;
carlos@0
    47
}
carlos@0
    48
carlos@0
    49
function depurar(action) {
carlos@0
    50
  var frm=document.frmMain;
carlos@0
    51
  if (frm.inpPartDateFrom.value==null) {
carlos@0
    52
    mensaje(1);
carlos@0
    53
    return false;
carlos@0
    54
  }
carlos@0
    55
  return true;
carlos@0
    56
}
carlos@0
    57
carlos@0
    58
</SCRIPT>
asier@528
    59
	<SCRIPT language="JavaScript" type="text/javascript">
asier@528
    60
	function onLoadDo(){
asier@528
    61
		this.windowTables = new Array(
david@1044
    62
		  new windowTableId('client0', 'buttonSearch'),
david@1044
    63
		  new windowTableId('client', 'buttonOK'),
david@1044
    64
		  new windowTableId('client', 'buttonOK')
asier@528
    65
		);
asier@528
    66
		setWindowTableParentElement();
asier@528
    67
		enableShortcuts('popup');
asier@528
    68
		
asier@528
    69
		setWindowElementFocus('firstElement');
asier@528
    70
	}
asier@528
    71
asier@528
    72
	function onResizeDo(){
asier@528
    73
	}
asier@528
    74
	</SCRIPT>
carlos@0
    75
</HEAD>
asier@528
    76
<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();">
carlos@0
    77
<FORM id="form" method="POST" action="../ad_actionButton/UpdateMaintenanceScheduled_F1.html" name="frmMain">
carlos@0
    78
  <INPUT type="hidden" name="Command">
carlos@0
    79
<INPUT type="hidden" name="IsPopUpCall" value="1"></INPUT>
carlos@0
    80
  <INPUT type="hidden" name="inpLastFieldChanged"></INPUT>
carlos@0
    81
  <INPUT type="hidden" name="inpmaMaintPartId" value="" id="paramKey"></INPUT> 
carlos@0
    82
  <INPUT type="hidden" name="inpWindowId" value="" id="paramWindowId"></INPUT> 
carlos@0
    83
  <INPUT type="hidden" name="inpTabId" value="" id="paramTabId"></INPUT>
carlos@0
    84
carlos@0
    85
  <div class="Popup_ContentPane_CircleLogo">
carlos@0
    86
    <div class="Popup_WindowLogo">
carlos@0
    87
      <img class="Popup_WindowLogo_Icon Popup_WindowLogo_Icon_process" src="../../../../../web/images/blank.gif" border=0/></img>
carlos@0
    88
    </div>
carlos@0
    89
  </div>
carlos@0
    90
carlos@0
    91
  <table cellspacing="0" cellpadding="0" width="100%">
carlos@0
    92
carlos@0
    93
    <tr>
carlos@0
    94
      <td>
carlos@0
    95
        <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_NavBar">
carlos@0
    96
          <tr class="Popup_NavBar_bg"><td></td>
carlos@0
    97
            <td class="Popup_NavBar_separator_cell"></td>
carlos@0
    98
            <td class="Popup_NavBar_bg_logo_left"></td>
carlos@0
    99
            <td class="Popup_NavBar_bg_logo" width="1" onclick="abrirNuevoBrowser('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>
carlos@0
   100
            <td class="Popup_NavBar_bg_logo_right"></td>
carlos@0
   101
            <td class="Popup_NavBar_Popup_title_cell"><span>Update maintenance</span></td>
carlos@0
   102
            <td class="Popup_NavBar_separator_cell"></td>
carlos@0
   103
          </tr>
carlos@0
   104
        </table>
carlos@0
   105
      </td>
carlos@0
   106
    </tr>
carlos@0
   107
carlos@0
   108
    <tr>
carlos@0
   109
      <td>
carlos@0
   110
        <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_SeparatorBar">
carlos@0
   111
          <tr>
carlos@0
   112
            <td class="Popup_SeparatorBar_bg"></td>
carlos@0
   113
          </tr>
carlos@0
   114
        </table>
carlos@0
   115
      </td>
carlos@0
   116
    </tr>
carlos@0
   117
carlos@0
   118
    <tr>
carlos@0
   119
      <td>
asier@528
   120
        <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client0">
carlos@0
   121
          <table cellspacing="0" cellpadding="0" class="Popup_Client_TableSelector">
carlos@0
   122
carlos@0
   123
            <tr>
carlos@0
   124
              <td class="TableEdition_OneCell_width"></td>
carlos@0
   125
              <td class="TableEdition_OneCell_width"></td>
carlos@0
   126
              <td class="TableEdition_OneCell_width"></td>
carlos@0
   127
              <td class="TableEdition_OneCell_width"></td>
carlos@0
   128
              <td class="TableEdition_OneCell_width"></td>
carlos@0
   129
              <td class="TableEdition_OneCell_width"></td>
carlos@0
   130
            </tr>
carlos@0
   131
carlos@0
   132
            <TR>
carlos@0
   133
              <td colspan="6">
carlos@0
   134
                <table class="FieldGroup" cellspacing="0" cellpadding="0" border="0">
carlos@0
   135
                <tbody>
carlos@0
   136
                  <tr class="FieldGroup_TopMargin"/>
carlos@0
   137
                  <tr>
carlos@0
   138
                    <td class="FieldGroupTitle_Left"><img class="FieldGroupTitle_Left_bg" border="0" src="../../../../../web/images/blank.gif"/></td>
carlos@0
   139
                    <TD class="FieldGroupTitle">Primary Filters</TD>
carlos@0
   140
                    <td class="FieldGroupTitle_Right"><img class="FieldGroupTitle_Right_bg" border="0" src="../../../../../web/images/blank.gif"/></td>
carlos@0
   141
                    <td class="FieldGroupContent"/>
carlos@0
   142
                  </tr>
carlos@0
   143
                  <tr class="FieldGroup_BottomMargin"/>
carlos@0
   144
                </tbody>
carlos@0
   145
                </table>
carlos@0
   146
              </td>
carlos@0
   147
            </TR>
carlos@0
   148
carlos@0
   149
            <tr>
carlos@0
   150
              <td class="TitleCell"><SPAN class="LabelText">Scheduled date from</SPAN></td>
carlos@0
   151
              <TD class="TextBox_btn_ContentCell">
carlos@0
   152
                <TABLE border="0" cellspacing="0" cellpadding="0" summary=""  style="padding-top: 0px;">
carlos@0
   153
                  <TR>
carlos@0
   154
                    <TD>
david@148
   155
                      <INPUT dojoType="openbravo:DateTextbox" lowerThan="paramPartDateTo" displayFormat="xx" saveFormat="yy"  class="TextBox_btn_OneCell_width" type="text" name="inpPartDateFrom" id="paramPartDateFrom" maxlength="10" value="" onkeyup="auto_complete_date(this.textbox, this.displayFormat);return true;"></INPUT><script>djConfig.searchIds.push("paramPartDateFrom");</script>
carlos@0
   156
                    </TD>
carlos@0
   157
                    <TD valign="top">
carlos@0
   158
                      <TABLE class="FieldButton" onclick="showCalendar('frmMain.inpPartDateFrom', document.frmMain.inpPartDateFrom.value, false);return false;" onmouseout="this.className='FieldButton';window.status='';return true;" onmouseover="this.className='FieldButton_hover';window.status='Show calendar';return true;" onmousedown="this.className='FieldButton_active';return true;" onmouseup="this.className='FieldButton';return true;">
carlos@0
   159
                        <TR>
carlos@0
   160
                          <TD class="FieldButton_bg">
carlos@0
   161
                            <IMG alt="Calendar" class="FieldButton_Icon FieldButton_Icon_Calendar" title="Calendar" id="buttonCalendar" src="../../../../../web/images/blank.gif" border="0"></IMG>
carlos@0
   162
                          </TD>
carlos@0
   163
                        </TR>
carlos@0
   164
                      </TABLE>
carlos@0
   165
                    </TD>
carlos@0
   166
                  </TR>
carlos@0
   167
                </TABLE>
carlos@0
   168
             </TD>
carlos@0
   169
              <td class="TitleCell"><SPAN class="LabelText">To Date</SPAN></td>
carlos@0
   170
              <TD class="TextBox_btn_ContentCell">
carlos@0
   171
                <TABLE border="0" cellspacing="0" cellpadding="0" summary=""  style="padding-top: 0px;">
carlos@0
   172
                  <TR>
carlos@0
   173
                    <TD>
david@148
   174
                      <INPUT dojoType="openbravo:DateTextbox" greaterThan="paramPartDateFrom" displayFormat="xx" saveFormat="yy"  class="TextBox_btn_OneCell_width" type="text" name="inpPartDateTo" id="paramPartDateTo" maxlength="10" value="" onkeyup="auto_complete_date(this.textbox, this.displayFormat);return true;"></INPUT><script>djConfig.searchIds.push("paramPartDateTo");</script>
carlos@0
   175
                    </TD>
carlos@0
   176
                    <TD valign="top">
carlos@0
   177
                      <TABLE class="FieldButton" onclick="showCalendar('frmMain.inpPartDateTo', document.frmMain.inpPartDateTo.value, false);return false;"  onmouseout="this.className='FieldButton';window.status='';return true;" onmouseover="this.className='FieldButton_hover';window.status='Show calendar';return true;" onmousedown="this.className='FieldButton_active';return true;" onmouseup="this.className='FieldButton';return true;">
carlos@0
   178
                        <TR>
carlos@0
   179
                          <TD class="FieldButton_bg">
carlos@0
   180
                            <IMG alt="Calendar" class="FieldButton_Icon FieldButton_Icon_Calendar" title="Calendar" id="buttonCalendar" src="../../../../../web/images/blank.gif" border="0"></IMG>
carlos@0
   181
                          </TD>
carlos@0
   182
                        </TR>
carlos@0
   183
                      </TABLE>
carlos@0
   184
                    </TD>
carlos@0
   185
                  </TR>
carlos@0
   186
                </TABLE>
carlos@0
   187
              </TD>
asier@528
   188
              <TD class="TitleCell"><SPAN class="LabelText">Maintenance type</SPAN></TD>
carlos@0
   189
              <TD class="Combo_ContentCell"> <SELECT name="inpMaintType" id="paramMaintType" class="Combo Combo_OneCell_width">
carlos@0
   190
                  <OPTION value=""></OPTION><DIV id="reportMaintType"></DIV>
carlos@0
   191
                </SELECT></TD>
carlos@0
   192
            </tr>
carlos@0
   193
carlos@0
   194
            <tr><td height="20px"></td></tr>
carlos@0
   195
carlos@0
   196
            <tr>
carlos@0
   197
              <td></td>
carlos@0
   198
              <td class="Button_RightAlign_ContentCell">
carlos@0
   199
                <div>
david@628
   200
                  <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Search'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onClick="submitCommandForm('FIND', false, null, null, '_self');return true;;", id="buttonSearch">
carlos@0
   201
            <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='Results';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
carlos@0
   202
                    <tr>
carlos@0
   203
                      <td class="Button_left"><img class="Button_Icon Button_Icon_search" alt="Search" title="Search" src="../../../../../web/images/blank.gif" border=0/></td>
david@628
   204
                      <td class="Button_text Button_width">Search</td>
carlos@0
   205
                      <td class="Button_right"></td>
carlos@0
   206
                    </tr>
carlos@0
   207
                  </table>
carlos@0
   208
                  </a>
carlos@0
   209
                </div>
carlos@0
   210
              </td>
carlos@0
   211
              <td></td>
carlos@0
   212
              <td></td>
carlos@0
   213
              <td></td>
carlos@0
   214
              <td></td>
carlos@0
   215
            </tr>
carlos@0
   216
          </table>
carlos@0
   217
        </div>
carlos@0
   218
      </td>
carlos@0
   219
    </tr>
carlos@0
   220
  </table>
carlos@0
   221
carlos@0
   222
carlos@0
   223
  <table cellspacing="0" cellpadding="0" width="100%" style="text-align:-moz-center;_text-align:center;">
asier@528
   224
    <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client">
carlos@0
   225
      <TABLE cellspacing="0" cellpadding="0" class="Popup_Client_TableSelector_Grid">
carlos@0
   226
        <TR class="Popup_Client_Selector_DataGrid_HeaderRow"> 
carlos@0
   227
          <TH colspan="2" width="20%" class="datagridCell Popup_Client_Selector_HeaderRow_bg">Scheduled Maintenance</TH>
carlos@0
   228
          <TH width="10%" class="datagridCell Popup_Client_Selector_HeaderRow_bg">Date</TH>
carlos@0
   229
          <TH width="5%" class="datagridCell Popup_Client_Selector_HeaderRow_bg">OK</TH>
carlos@0
   230
          <TH width="6%" class="datagridCell Popup_Client_Selector_HeaderRow_bg">Time</TH>
carlos@0
   231
          <TH width="44%" class="datagridCell Popup_Client_Selector_HeaderRow_bg">Observations</TH>
carlos@0
   232
        </TR>
carlos@0
   233
        <DIV id="sectionDetail"> 
carlos@0
   234
          <TR>
carlos@0
   235
            <TD width="5%" class="datagridCell Popup_Client_Selector_HeaderRow_bg"><input type="hidden" name="strMaintScheduled" value="" id="fieldMaintScheduledId"><input type="checkbox" id="fieldDone" name="strDonexx" value="Y"></TD>
carlos@0
   236
            <TD width="35%" class="datagridCell Popup_Client_Selector_HeaderRow_bg" id="fieldScheduledMaintenance">xxScheduled_Maintenance</TD>
carlos@0
   237
            <TD width="10%" class="datagridCell Popup_Client_Selector_HeaderRow_bg" id="fieldScheduledDate">xx19/05/2006</TD>
carlos@0
   238
            <TD width="5%" class="datagridCell Popup_Client_Selector_HeaderRow_bg"><input type="checkbox" id="fieldResult" name="strResultxx" value="Y"></TD>
carlos@0
   239
            <TD width="6%" class="datagridCell Popup_Client_Selector_HeaderRow_bg"><input type="text" size="3" maxlength="2" id="fieldUsedTime" name="strUsedTimexx"></TD>
carlos@0
   240
            <TD width="44%" class="datagridCell Popup_Client_Selector_HeaderRow_bg"><TEXTAREA cols="60" rows="2.0" id="fieldObservation" name="strObservationxx"></TEXTAREA></TD>
carlos@0
   241
          </TR>
carlos@0
   242
        </DIV>
carlos@0
   243
    </TABLE>
carlos@0
   244
carlos@0
   245
</form>
carlos@0
   246
</body>
carlos@0
   247
</html>