src/org/openbravo/erpCommon/ad_actionButton/ChangeProjectStatus.html
author Asier Lostalé <asier.lostale@openbravo.com>
Mon, 05 May 2008 06:59:24 +0000
changeset 799 fef2c5e2feb7
parent 628 492ad1a5c917
child 1044 8691bbc94032
permissions -rw-r--r--
Merged cleanup branch (r3931) with trunk
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
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
carlos@0
    22
    <TITLE>Request process</TITLE>
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" src="../../../../../web/js/ajax.js" type="text/javascript"></script>
carlos@0
    25
    <script language="JavaScript" src="../../../../../web/js/dojoConfig.js" type="text/javascript"></script>
carlos@0
    26
    <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
carlos@0
    27
    <script language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></script>
carlos@0
    28
    <script language="JavaScript" type="text/javascript" id="paramLanguage">LNG_POR_DEFECTO = "en_US";</script>
asier@528
    29
    <script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
carlos@0
    30
    <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
asier@528
    31
    <script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
carlos@0
    32
    <script language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></script>
carlos@0
    33
    <script type="text/javascript">
carlos@0
    34
      dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
carlos@0
    35
    </script>
carlos@0
    36
    <script language="JavaScript" type="text/javascript" id="paramDirection">
carlos@0
    37
      var baseDirection="../../../../../web/";
carlos@0
    38
    </script>
carlos@0
    39
    <script language="JavaScript" type="text/javascript" id="paramArray">
carlos@0
    40
      var arrDocAction = null;
carlos@0
    41
    </script>
carlos@0
    42
    <script language="JavaScript" type="text/javascript">
carlos@0
    43
      function actualizarDescripcion() {
carlos@0
    44
        if (arrProjectAction==null) {
carlos@0
    45
          layer("descripcion", "", true);
carlos@0
    46
        } else {
carlos@0
    47
          layer("descripcion", valorArray(arrProjectAction, document.frmMain.inpchangeprojectstatus.options[document.frmMain.inpchangeprojectstatus.selectedIndex].value, 2), true);
carlos@0
    48
        }
carlos@0
    49
        return true;
carlos@0
    50
      }
carlos@0
    51
carlos@0
    52
      function closeThisPage() {
carlos@0
    53
        window.close();
carlos@0
    54
        return true;
carlos@0
    55
      }
carlos@0
    56
carlos@0
    57
      function onloadFunctions() {
carlos@0
    58
      }
carlos@0
    59
carlos@0
    60
      function submitThisPage(strCommand) {
carlos@0
    61
        submitCommandForm(strCommand, false, null, null, '_top');
carlos@0
    62
        return true;
carlos@0
    63
      }
carlos@0
    64
    </script>
asier@528
    65
	<SCRIPT language="JavaScript" type="text/javascript">
asier@528
    66
	function onLoadDo(){
asier@528
    67
		this.windowTables = new Array(
david@628
    68
		  new windowTableId('client', null, 'linkButtonOk')
asier@528
    69
		);
asier@528
    70
		setWindowTableParentElement();
asier@528
    71
		enableShortcuts('popup');
carlos@0
    72
asier@528
    73
		setWindowElementFocus('firstElement');
asier@528
    74
	}
asier@528
    75
asier@528
    76
	function onResizeDo(){
asier@528
    77
	}
asier@528
    78
	</SCRIPT>
carlos@0
    79
</head>
carlos@0
    80
asier@528
    81
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();">
carlos@0
    82
  <form id="form" method="POST" action="Window_Edition.html" name="frmMain">
carlos@0
    83
    <INPUT type="hidden" name="Command">
carlos@0
    84
<INPUT type="hidden" name="IsPopUpCall" value="1"></INPUT>
carlos@0
    85
    <input type="hidden" name="inpLastFieldChanged"></input>
carlos@0
    86
    <input type="hidden" name="inpKey" value="" id="key"></input>
carlos@0
    87
    <input type="hidden" name="inpwindowId" value="" id="window"></input>
carlos@0
    88
    <input type="hidden" name="inpprojectstatus" value="" id="projectstatus"></input> 
carlos@0
    89
    <input type="hidden" name="inpprocessing" value="" id="processing"></input> 
carlos@0
    90
carlos@0
    91
    <div class="Popup_ContentPane_CircleLogo">
carlos@0
    92
      <div class="Popup_WindowLogo">
carlos@0
    93
        <img class="Popup_WindowLogo_Icon Popup_WindowLogo_Icon_process" src="../../../../../web/images/blank.gif" border=0/></img>
carlos@0
    94
      </div>
carlos@0
    95
    </div>
carlos@0
    96
carlos@0
    97
    <table cellspacing="0" cellpadding="0" width="100%">
carlos@0
    98
carlos@0
    99
      <tr>
carlos@0
   100
        <td>
carlos@0
   101
          <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_NavBar">
carlos@0
   102
            <tr class="Popup_NavBar_bg"><td></td>
carlos@0
   103
              <td class="Popup_NavBar_separator_cell"></td>
carlos@0
   104
              <td class="Popup_NavBar_bg_logo_left"></td>
carlos@0
   105
              <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
   106
              <td class="Popup_NavBar_bg_logo_right"></td>
carlos@0
   107
              <td class="Popup_NavBar_Popup_title_cell"><span>Change Project Status</span></td>
carlos@0
   108
              <td class="Popup_NavBar_separator_cell"></td>
carlos@0
   109
            </tr>
carlos@0
   110
          </table>
carlos@0
   111
        </td>
carlos@0
   112
      </tr>
carlos@0
   113
carlos@0
   114
      <tr>
carlos@0
   115
        <td>
carlos@0
   116
          <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_SeparatorBar">
carlos@0
   117
            <tr>
carlos@0
   118
              <td class="Popup_SeparatorBar_bg"></td>
carlos@0
   119
            </tr>
carlos@0
   120
          </table>
carlos@0
   121
        </td>
carlos@0
   122
      </tr>
carlos@0
   123
carlos@0
   124
      <tr>
carlos@0
   125
        <td>
carlos@0
   126
          <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_InfoBar">
carlos@0
   127
            <tr>
carlos@0
   128
              <td class="Popup_InfoBar_Icon_cell"><IMG src="../../../../../web/images/blank.gif" border="0" class="Popup_InfoBar_Icon_info" /></td>
carlos@0
   129
              <td class="Popup_InfoBar_text_table">
carlos@0
   130
                <table>
carlos@0
   131
                  <tr>
carlos@0
   132
                    <td class="Popup_InfoBar_text" id="helpDiscard"> <div id="processHelp">&nbsp;</div></TD>
carlos@0
   133
                  </tr>
carlos@0
   134
                </table>
carlos@0
   135
              </td>
carlos@0
   136
            </tr>
carlos@0
   137
          </table>
carlos@0
   138
        </td>
carlos@0
   139
      </tr>
carlos@0
   140
carlos@0
   141
      <tr>
carlos@0
   142
        <td>
asier@528
   143
          <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client">
carlos@0
   144
            <table cellspacing="0" cellpadding="0" class="Popup_Client_TablePopup">
carlos@0
   145
carlos@0
   146
              <tr>
carlos@0
   147
                <td class="TableEdition_OneCell_width"></td>
carlos@0
   148
                <td class="TableEdition_OneCell_width"></td>
carlos@0
   149
                <td class="TableEdition_OneCell_width"></td>
carlos@0
   150
                <td class="TableEdition_OneCell_width"></td>
carlos@0
   151
              </tr>
carlos@0
   152
carlos@0
   153
              <tr>
carlos@0
   154
                <td class="TitleCell"><SPAN class="LabelText">Action regarding project</SPAN></td>
carlos@0
   155
                <td class="Combo_ContentCell" colspan="2">
carlos@0
   156
                  <select name="inpchangeprojectstatus" id="reportprojectaction" onchange="actualizarDescripcion();return true;" class="Combo Combo_TwoCells_width">
carlos@0
   157
                    <option value=""></option>
carlos@0
   158
                  </select>
carlos@0
   159
                </td>
carlos@0
   160
                <td></td>
carlos@0
   161
              </tr>
carlos@0
   162
carlos@0
   163
              <tr><td height="20px"></td></tr>
carlos@0
   164
carlos@0
   165
              <tr>
carlos@0
   166
                <td></td>
carlos@0
   167
                <td class="Button_RightAlign_ContentCell">
carlos@0
   168
                  <div>
asier@528
   169
                    <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_BUTTONChangeProjectStatusxx');return false;" id="linkButtonOk">
carlos@0
   170
                    <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='OK';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
carlos@0
   171
                      <tr>
carlos@0
   172
                        <td class="Button_left"><img class="Button_Icon Button_Icon_ok" alt="Accept" title="Accept" src="../../../../../web/images/blank.gif" border=0/></td>
carlos@0
   173
                        <td class="Button_text Button_width">OK</td>
carlos@0
   174
                        <td class="Button_right"></td>
carlos@0
   175
                      </tr>
carlos@0
   176
                    </table>
carlos@0
   177
                    </a>
carlos@0
   178
                  </div>
carlos@0
   179
                </td>
carlos@0
   180
                <td class="Button_LeftAlign_ContentCell">
carlos@0
   181
                  <div>
asier@528
   182
                    <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;">
carlos@0
   183
                    <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;">
carlos@0
   184
                      <tr>
carlos@0
   185
                        <td class="Button_left"><img class="Button_Icon Button_Icon_cancel" alt="Cancel" title="Cancel" src="../../../../../web/images/blank.gif" border=0/></td>
carlos@0
   186
                        <td class="Button_text Button_width">Cancel</td>
carlos@0
   187
                        <td class="Button_right"></td>
carlos@0
   188
                      </tr>
carlos@0
   189
                    </table>
carlos@0
   190
                    </a>
carlos@0
   191
                  </td>
carlos@0
   192
                  <td></td>
carlos@0
   193
                </tr>
carlos@0
   194
carlos@0
   195
              </table>
carlos@0
   196
            </div>
carlos@0
   197
          </td>
carlos@0
   198
        </tr>
carlos@0
   199
      </table>
carlos@0
   200
carlos@0
   201
    </body>
carlos@0
   202
  </html>