src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Bank.html
author David Baz Fayos <david.baz@openbravo.com>
Mon, 21 Jan 2008 18:49:59 +0000
changeset 347 adf8b19cf2a8
parent 0 0247c26f10c6
child 528 7aa737db257f
permissions -rw-r--r--
Feature request [1876625] Keyboard related functions and variables translated to English
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>Create from Bank</TITLE>
carlos@0
    22
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
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" src="../utility/MessagesJS.js" type="text/javascript"></SCRIPT>
carlos@0
    29
  <SCRIPT language="JavaScript" src="../../../../../web/js/default/MessageBox.js" type="text/javascript"></SCRIPT>
carlos@0
    30
<SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">	LNG_POR_DEFECTO = "en_US";</SCRIPT>
carlos@0
    31
<SCRIPT language="JavaScript" type="text/javascript" id="paramDirection">var baseDirection = "../../../../../web/";</SCRIPT>
carlos@0
    32
<SCRIPT language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></SCRIPT>
carlos@0
    33
<SCRIPT language="JavaScript" src="../../../../../web/js/jscalendar/calendar.js" type="text/javascript"></SCRIPT>
carlos@0
    34
<SCRIPT language="JavaScript" src="../../../../../web/js/jscalendar/lang/calendar-es.js" type="text/javascript" id="fieldCalendar"></SCRIPT>
carlos@0
    35
<script language="JavaScript" src="../../../../../web/js/default/DateTextBox.js" type="text/javascript"></script>
carlos@0
    36
<SCRIPT language="JavaScript" src="../../../../../web/js/calculator.js" type="text/javascript"></SCRIPT>
carlos@0
    37
<SCRIPT language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></SCRIPT>
carlos@0
    38
<SCRIPT language="JavaScript" src="../../../../../web/js/String.js" type="text/javascript"></SCRIPT>
carlos@0
    39
<SCRIPT language="JavaScript" src="../../../../../web/js/TypeAheadCombo.js" type="text/javascript"></SCRIPT>
carlos@0
    40
 <script language="JavaScript" type="text/javascript" id="keyMap"></script>
carlos@0
    41
  <script type="text/javascript">
carlos@0
    42
    dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
carlos@0
    43
  </script>
carlos@0
    44
<SCRIPT language="JavaScript" type="text/javascript">
carlos@0
    45
carlos@0
    46
david@347
    47
function enableLocalShortcuts() {
david@347
    48
  keyArray[keyArray.length] = new keyArrayItem("ENTER", "openSearch(null, null, '../info/BusinessPartner_FS.html', 'SELECTOR_BUSINESS', false, 'frmMain', 'inpcBpartnerId', 'inpcBpartnerId_DES', document.frmMain.inpcBpartnerId_DES.value, 'Command', 'KEY');", "inpcBpartnerId_DES", "null");
carlos@0
    49
}
carlos@0
    50
carlos@0
    51
function depurar(action) {
carlos@0
    52
  var frm=document.frmMain;
carlos@0
    53
	if (action=="FIND_BANK") {
carlos@0
    54
		if (frm.inpplanneddateFrom.value!=null && frm.inpplanneddateFrom.value!="" && !isValidDate(frm.inpplanneddateFrom.value, frm.inpplanneddateFrom.displayFormat)) {
carlos@0
    55
			frm.inpplanneddateFrom.focus();
carlos@0
    56
			frm.inpplanneddateFrom.select();
carlos@0
    57
			mensaje(5);
carlos@0
    58
			return false;
carlos@0
    59
		} else if (frm.inpplanneddateTo.value!=null && frm.inpplanneddateTo.value!="" && !isValidDate(frm.inpplanneddateTo.value, frm.inpplanneddateTo.displayFormat)) {
carlos@0
    60
			frm.inpplanneddateTo.focus();
carlos@0
    61
			frm.inpplanneddateTo.select();
carlos@0
    62
			mensaje(5);
carlos@0
    63
			return false;
carlos@0
    64
		} 
carlos@0
    65
	} else if (radioValue(frm.inpcPaymentId)==null) {
carlos@0
    66
		mensaje(1);
carlos@0
    67
		return false;
carlos@0
    68
	}
carlos@0
    69
  return true;
carlos@0
    70
}
carlos@0
    71
carlos@0
    72
function updatePrice(obj) {
carlos@0
    73
  if (obj==null) return false;
carlos@0
    74
  var price = document.frmMain.inpTotalPrice;
carlos@0
    75
  var actualValue = Number(eval("document.frmMain.inpPrice" + obj.value + ".value"));
carlos@0
    76
  if (obj.checked) price.value = Number(price.value) + actualValue;
carlos@0
    77
  else price.value = Number(price.value) - actualValue;
carlos@0
    78
  if (isNaN(price.value)) price.value = 0;
carlos@0
    79
  layer("paramTotalPrice", price.value, true);
carlos@0
    80
  return true;
carlos@0
    81
}
carlos@0
    82
carlos@0
    83
function marcarTodosPersonal(chk, bolMarcar) {
carlos@0
    84
  var updateValues=true;
carlos@0
    85
  if (bolMarcar==null) bolMarcar = false;
carlos@0
    86
  if (!chk) return false;
carlos@0
    87
  else if (!chk.length) {
carlos@0
    88
  	updateValues = (chk.checked!=bolMarcar);
carlos@0
    89
	chk.checked = bolMarcar;
carlos@0
    90
	if (updateValues) updatePrice(chk);
carlos@0
    91
  } else {
carlos@0
    92
    var total = chk.length;
carlos@0
    93
    for (var i=0;i<total;i++) {
carlos@0
    94
	    updateValues = (chk[i].checked!=bolMarcar);
carlos@0
    95
		chk[i].checked = bolMarcar;
carlos@0
    96
		if (updateValues) updatePrice(chk[i]);
carlos@0
    97
	}
carlos@0
    98
  }
carlos@0
    99
	return true;
carlos@0
   100
}
carlos@0
   101
carlos@0
   102
function actualizarDatos(clave, marcar) {
carlos@0
   103
	if (marcar==null) marcar=false;
carlos@0
   104
	var frm = document.frmMain;
carlos@0
   105
	frm.elements["inpplanneddate" + clave].disabled=!marcar;
carlos@0
   106
	return true;
carlos@0
   107
}
carlos@0
   108
carlos@0
   109
function cargarDatos(marcar) {
carlos@0
   110
	var radio=document.frmMain.inpcPaymentId;
carlos@0
   111
	if (marcar==null) marcar=false;
carlos@0
   112
  	var frm = document.frmMain;
carlos@0
   113
	if (!radio) return false;
carlos@0
   114
	else if (!radio.length) {
carlos@0
   115
    	radio.checked = marcar;
carlos@0
   116
    	frm.elements["inpplanneddate" + radio.value].disabled=!marcar;
carlos@0
   117
	} else if (radio.length > 20) {
carlos@0
   118
		return submitCommandForm('FIND_SETTLEMENT', true);
carlos@0
   119
	} else {
carlos@0
   120
    	var total = radio.length;
carlos@0
   121
		for (var i=0;i<total;i++) {
carlos@0
   122
      		radio[i].checked=marcar;
carlos@0
   123
			frm.elements["inpplanneddate" + radio[i].value].disabled=!marcar;
carlos@0
   124
		}
carlos@0
   125
	}
carlos@0
   126
	return true;
carlos@0
   127
}
carlos@0
   128
carlos@0
   129
function onloadFunctions() {
carlos@0
   130
	new TypeAheadCombo("inppaymentrule");
carlos@0
   131
  new TypeAheadCombo("inpisreceipt");
carlos@0
   132
  new TypeAheadCombo("inpcBankaccountId");
carlos@0
   133
  new TypeAheadCombo("inpadOrgId");
david@347
   134
  enableLocalShortcuts();
carlos@0
   135
}
carlos@0
   136
</SCRIPT></HEAD>
david@347
   137
<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="setFocusFirstControl();onloadFunctions();">
carlos@0
   138
<FORM id="form" method="POST" action="../ad_actionButton/CreateFrom.html" name="frmMain">
carlos@0
   139
<INPUT type="hidden" name="Command">
carlos@0
   140
<INPUT type="hidden" name="IsPopUpCall" value="1">
carlos@0
   141
<INPUT type="hidden" name="inpKey" value="" id="paramKey">
carlos@0
   142
<INPUT type="hidden" name="inpTableId" value="" id="paramTableId">
carlos@0
   143
<INPUT type="hidden" name="inpProcessId" value="" id="paramProcessId">
carlos@0
   144
<INPUT type="hidden" name="inpPath" value="" id="paramPath">
carlos@0
   145
<INPUT type="hidden" name="inpWindowId" value="" id="paramWindowId">
carlos@0
   146
<INPUT type="hidden" name="inpTabName" value="" id="paramTabName">
carlos@0
   147
<INPUT type="hidden" name="inpstatementdate" value="" id="paramStatementDate">
carlos@0
   148
  <div class="Popup_ContentPane_CircleLogo">
carlos@0
   149
    <div class="Popup_WindowLogo">
carlos@0
   150
      <img class="Popup_WindowLogo_Icon Popup_WindowLogo_Icon_process" src="../../../../../web/images/blank.gif" border=0/></img>
carlos@0
   151
    </div>
carlos@0
   152
  </div>
carlos@0
   153
carlos@0
   154
  <table cellspacing="0" cellpadding="0" width="100%">
carlos@0
   155
carlos@0
   156
    <tr>
carlos@0
   157
      <td>
carlos@0
   158
        <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_NavBar">
carlos@0
   159
          <tr class="Popup_NavBar_bg"><td></td>
carlos@0
   160
            <td class="Popup_NavBar_separator_cell"></td>
carlos@0
   161
            <td class="Popup_NavBar_bg_logo_left"></td>
carlos@0
   162
            <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
   163
            <td class="Popup_NavBar_bg_logo_right"></td>
carlos@0
   164
            <td class="Popup_NavBar_Popup_title_cell"><span>Create from Bank</span></td>
carlos@0
   165
            <td class="Popup_NavBar_separator_cell"></td>
carlos@0
   166
          </tr>
carlos@0
   167
        </table>
carlos@0
   168
      </td>
carlos@0
   169
    </tr>
carlos@0
   170
carlos@0
   171
    <tr>
carlos@0
   172
      <td>
carlos@0
   173
        <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_SeparatorBar">
carlos@0
   174
          <tr>
carlos@0
   175
            <td class="Popup_SeparatorBar_bg"></td>
carlos@0
   176
          </tr>
carlos@0
   177
        </table>
carlos@0
   178
      </td>
carlos@0
   179
    </tr>
carlos@0
   180
carlos@0
   181
    <tr>
carlos@0
   182
      <td>
carlos@0
   183
        <div class="Popup_ContentPane_Client" style="overflow: auto;">
carlos@0
   184
carlos@0
   185
           <!-- MessageBox -->
carlos@0
   186
                <table cellpadding="0" cellspacing="0" id="messageBoxID" class="MessageBoxyy">
carlos@0
   187
  <TBODY>
carlos@0
   188
  <tr class="MessageBox_TopMargin">
carlos@0
   189
    <td class="MessageBox_LeftMargin"></td>
carlos@0
   190
    <td></td>
carlos@0
   191
    <td class="MessageBox_RightMargin"></td>
carlos@0
   192
  </tr>
carlos@0
   193
  <tr>
carlos@0
   194
    <td class="MessageBox_LeftMargin"></td>
carlos@0
   195
    <td>
carlos@0
   196
carlos@0
   197
      <table cellpadding="0" cellspacing="0" style="width: 100%;">
carlos@0
   198
        <TBODY>
carlos@0
   199
        <tr>
carlos@0
   200
          <td>
carlos@0
   201
            <div class="MessageBox_TopLeft"></div>
carlos@0
   202
            <div class="MessageBox_Left"></div>
carlos@0
   203
          </td>
carlos@0
   204
          <td class="MessageBox_bg">
carlos@0
   205
carlos@0
   206
            <table class="MessageBox_Top">
carlos@0
   207
            <TBODY>
carlos@0
   208
              <tr>
carlos@0
   209
                <td>
carlos@0
   210
                  <span>
carlos@0
   211
                  <table cellpadding="0" cellspacing="0" class="MessageBox_Body_ContentCell">
carlos@0
   212
                    <TBODY>
carlos@0
   213
                    <tr>
carlos@0
   214
                      <td class="MessageBox_Icon_ContentCell">
carlos@0
   215
                        <div class="MessageBox_Icon"></div>
carlos@0
   216
                      </td>
carlos@0
   217
                      <td style="vertical-align: top;" id="messageBoxIDContent">
carlos@0
   218
                        <span>
carlos@0
   219
                          <div class="MessageBox_TextTitle" id="messageBoxIDTitle">
carlos@0
   220
                            xxInfo: AccessTableWithNoView
carlos@0
   221
                          </div>
carlos@0
   222
                          <div class="MessageBox_TextDescription" id="messageBoxIDMessage">
carlos@0
   223
                            xxThe current information is empty.
carlos@0
   224
                          </div>
carlos@0
   225
                          <div class="MessageBox_TextSeparator"></div>
carlos@0
   226
                        </span>
carlos@0
   227
                      </td>
carlos@0
   228
                    </tr>
carlos@0
   229
                    </TBODY>
carlos@0
   230
                  </table>
carlos@0
   231
                  </span>
carlos@0
   232
                </td>
carlos@0
   233
              </tr>
carlos@0
   234
              </TBODY>
carlos@0
   235
            </table>
carlos@0
   236
carlos@0
   237
          </td>
carlos@0
   238
          <td class="MessageBox_RightTrans">
carlos@0
   239
            <div class="MessageBox_TopRight"></div>
carlos@0
   240
            <div class="MessageBox_Right"></div>
carlos@0
   241
          </td>
carlos@0
   242
        </tr>
carlos@0
   243
        <tr>
carlos@0
   244
          <td rowspan="2" class="MessageBox_BottomLeft">
carlos@0
   245
          </td>
carlos@0
   246
          <td class="MessageBox_BottomTrans MessageBox_bg">
carlos@0
   247
          </td>
carlos@0
   248
          <td rowspan="2" class="MessageBox_BottomRight">
carlos@0
   249
          </td>
carlos@0
   250
        </tr>
carlos@0
   251
        <tr>
carlos@0
   252
          <td class="MessageBox_Bottom">
carlos@0
   253
          </td>
carlos@0
   254
        </tr>
carlos@0
   255
        </TBODY>
carlos@0
   256
      </table>
carlos@0
   257
carlos@0
   258
    </td>
carlos@0
   259
    <td class="MessageBox_RightMargin"></td>
carlos@0
   260
  </tr>
carlos@0
   261
  <tr class="MessageBox_BottomMargin">
carlos@0
   262
    <td class="MessageBox_LeftMargin"></td>
carlos@0
   263
    <td></td>
carlos@0
   264
    <td class="MessageBox_RightMargin"></td>
carlos@0
   265
  </tr>
carlos@0
   266
  </TBODY>
carlos@0
   267
</table>
carlos@0
   268
    <!-- MessageBox END -->
carlos@0
   269
carlos@0
   270
          <table cellspacing="0" cellpadding="0" class="Popup_Client_TableSelector">
carlos@0
   271
            <tr>
carlos@0
   272
              <td class="TableEdition_OneCell_width"></td>
carlos@0
   273
              <td class="TableEdition_OneCell_width"></td>
carlos@0
   274
              <td class="TableEdition_OneCell_width"></td>
carlos@0
   275
              <td class="TableEdition_OneCell_width"></td>
carlos@0
   276
              <td class="TableEdition_OneCell_width"></td>
carlos@0
   277
              <td class="TableEdition_OneCell_width"></td>
carlos@0
   278
            </tr>
carlos@0
   279
            <TR>
carlos@0
   280
              <td colspan="6">
carlos@0
   281
                <table class="FieldGroup" cellspacing="0" cellpadding="0" border="0">
carlos@0
   282
                <tbody>
carlos@0
   283
                  <tr class="FieldGroup_TopMargin"/>
carlos@0
   284
                  <tr>
carlos@0
   285
                    <td class="FieldGroupTitle_Left"><img class="FieldGroupTitle_Left_bg" border="0" src="../../../../../web/images/blank.gif"/></td>
carlos@0
   286
                    <td class="FieldGroupTitle">Filters</td>
carlos@0
   287
                    <td class="FieldGroupTitle_Right"><img class="FieldGroupTitle_Right_bg" border="0" src="../../../../../web/images/blank.gif"/></td>
carlos@0
   288
                    <td class="FieldGroupContent"/>
carlos@0
   289
                  </tr>
carlos@0
   290
                  <tr class="FieldGroup_BottomMargin"/>
carlos@0
   291
                </tbody>
carlos@0
   292
                </table>
carlos@0
   293
              </td>
carlos@0
   294
            </TR>
carlos@0
   295
carlos@0
   296
            <tr>
carlos@0
   297
carlos@0
   298
              <td class="TitleCell">
carlos@0
   299
                <SPAN class="LabelText">Business Partner</SPAN>
carlos@0
   300
              </td>
carlos@0
   301
              <TD class="TextBox_ContentCell" colspan="2">
carlos@0
   302
                <TABLE border="0" cellspacing="0" cellpadding="0" summary="" style="padding-top: 0px;">
carlos@0
   303
                  <TR>
carlos@0
   304
                    <td class="TextBox_btn_OneCell">
carlos@0
   305
                      <INPUT type="hidden" name="inpcBpartnerId" id="fieldCBPartnerID" value="">
carlos@0
   306
                      <INPUT type="text" dojoType="openbravo:ValidationTextBox" class="TextBox_btn_TwoCells_width" maxlength="22" name="inpcBpartnerId_DES" id="inpCBPartnerID_DES" value="" ></INPUT><SCRIPT>djConfig.searchIds.push("inpCBPartnerID_DES");</SCRIPT>
carlos@0
   307
                    </td>
carlos@0
   308
                  <td class="TextBox_btn_OneCell">
carlos@0
   309
                    <a onclick="openSearch(null, null, '../info/BusinessPartner_FS.html', 'SELECTOR_BUSINESS', false, 'frmMain', 'inpcBpartnerId', 'inpcBpartnerId_DES', document.frmMain.inpcBpartnerId_DES.value);return false;" onkeyup="this.className='FieldButtonLink_hover'; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onblur="this.className='FieldButtonLink'; window.status=''; return true;" onfocus="this.className='FieldButtonLink_hover'; window.status='Business Partner '; return true;" href="#" class="FieldButtonLink" id="C_Bpartner_IDlinkBusinessPartner">
carlos@0
   310
                      <table onmouseout="this.className='FieldButton'; window.status=''; return true;" onmouseover="this.className='FieldButton_hover'; window.status='Business Partner '; return true;" onmouseup="this.className='FieldButton'; return true;" onmousedown="this.className='FieldButton_active'; return true;" class="FieldButton">
carlos@0
   311
                        <tbody>
carlos@0
   312
                          <tr>
carlos@0
   313
                            <td class="FieldButton_bg">
carlos@0
   314
                              <img border="0" src="../../../../../web/images/blank.gif" title="Business Partner " class="FieldButton_Icon FieldButton_Icon_BusinessPartner" alt="Business Partner" id="buttonBPartner"/>
carlos@0
   315
                          </td>
carlos@0
   316
                        </tr>
carlos@0
   317
                      </tbody>
carlos@0
   318
                      </table>
carlos@0
   319
                    </a>
carlos@0
   320
                  </td>
carlos@0
   321
                  </TR>
carlos@0
   322
                </TABLE>
carlos@0
   323
              </TD>
carlos@0
   324
              <TD class="TitleCell"></TD>
carlos@0
   325
              <TD class="TitleCell"> <SPAN class="LabelText">Payment Rule</SPAN></TD>
carlos@0
   326
              <TD class="Combo_ContentCell">
carlos@0
   327
                <SELECT name="inppaymentrule" class="Combo Combo_OneCell_width" id="inppaymentrule">
carlos@0
   328
                  <OPTION value=""></OPTION><DIV id="reportPaymentRule"></DIV>
carlos@0
   329
                </SELECT>
carlos@0
   330
              </TD>
carlos@0
   331
            </tr>
carlos@0
   332
carlos@0
   333
            <tr>
carlos@0
   334
              <TD class="TitleCell"> <SPAN class="LabelText">Receipt type</SPAN></TD>
carlos@0
   335
              <TD class="Combo_ContentCell">
carlos@0
   336
                <SELECT name="inpisreceipt" id="inpisreceipt" class="Combo Combo_OneCell_width">
carlos@0
   337
                <OPTION value="">All</OPTION>
carlos@0
   338
                <OPTION value="N" id="fieldIsReceiptPago">Payment</OPTION>
carlos@0
   339
                <OPTION value="Y" id="fieldIsReceiptCobro">Collection</OPTION></SELECT>
carlos@0
   340
              </TD>
carlos@0
   341
carlos@0
   342
              <td class="TitleCell"> <SPAN class="LabelText">From Date planned</SPAN></td>
carlos@0
   343
              <td class="TextBox_btn_ContentCell">
carlos@0
   344
                <table border="0" cellspacing="0" cellpadding="0" summary=""  style="padding-top: 0px;">
carlos@0
   345
                  <tr>
carlos@0
   346
                    <td class="TextBox_ContentCell">
carlos@0
   347
                      <INPUT dojoType="openbravo:DateTextbox" displayFormat="xx" saveFormat="yy"  class="TextBox_btn_OneCell_width" type="text" name="inpplanneddateFrom" id="inpPlannedDateFrom" size="10" maxlength="10" value="" onkeyup="auto_complete_date(this.textbox, this.displayFormat);return true;"></INPUT><script>djConfig.searchIds.push("inpPlannedDateFrom");</script>
carlos@0
   348
                    </td>
carlos@0
   349
                    <td class="FieldButton_ContentCell">
carlos@0
   350
                      <a class="FieldButtonLink" href="#" onfocus="this.className='FieldButtonLink_hover'; window.status='Calendar'; return true;" onblur="this.className='FieldButtonLink';  window.status=''; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onkeyup="this.className='FieldButtonLink_hover'; return true;"  onclick="showCalendar('frmMain.inpplanneddateFrom', document.frmMain.inpplanneddateFrom.value, false);return false;" >
carlos@0
   351
                      <table class="FieldButton"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
   352
                        <tr>
carlos@0
   353
                          <td class="FieldButton_bg">
carlos@0
   354
                            <IMG alt="Calendar" class="FieldButton_Icon FieldButton_Icon_Calendar" title="Calendar" src="../../../../../web/images/blank.gif" border="0" id="buttonCalendar"></IMG>
carlos@0
   355
                          </td>
carlos@0
   356
                        </tr>
carlos@0
   357
                      </table>
carlos@0
   358
                      </a>
carlos@0
   359
                    </td>
carlos@0
   360
                  </tr>
carlos@0
   361
                </table>
carlos@0
   362
              </td>
carlos@0
   363
              <td class="TitleCell"> <SPAN class="LabelText">To Date planned</SPAN></td>
carlos@0
   364
              <td class="TextBox_btn_ContentCell">
carlos@0
   365
                <table border="0" cellspacing="0" cellpadding="0" summary=""  style="padding-top: 0px;">
carlos@0
   366
                  <tr>
carlos@0
   367
                    <td class="TextBox_ContentCell">
carlos@0
   368
                      <INPUT dojoType="openbravo:DateTextbox" displayFormat="xx" saveFormat="yy"  class="TextBox_btn_OneCell_width" type="text" name="inpplanneddateTo" id="inpPlannedDateTo" size="10" maxlength="10" value="" onkeyup="auto_complete_date(this.textbox, this.displayFormat);return true;"></INPUT><script>djConfig.searchIds.push("inpPlannedDateTo");</script>
carlos@0
   369
                    </td>
carlos@0
   370
                    <td class="FieldButton_ContentCell">
carlos@0
   371
                      <a class="FieldButtonLink" href="#" onfocus="this.className='FieldButtonLink_hover'; window.status='Calendar'; return true;" onblur="this.className='FieldButtonLink';  window.status=''; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onkeyup="this.className='FieldButtonLink_hover'; return true;" onclick="showCalendar('frmMain.inpplanneddateTo', document.frmMain.inpplanneddateTo.value, false);return false;">
carlos@0
   372
                      <table class="FieldButton" 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
   373
                        <tr>
carlos@0
   374
                          <td class="FieldButton_bg">
carlos@0
   375
                            <IMG alt="Calendar" class="FieldButton_Icon FieldButton_Icon_Calendar" title="Calendar" src="../../../../../web/images/blank.gif" border="0" id="buttonCalendar"></IMG>
carlos@0
   376
                          </td>
carlos@0
   377
                        </tr>
carlos@0
   378
                      </table>
carlos@0
   379
                      </a>
carlos@0
   380
                    </td>
carlos@0
   381
                  </tr>
carlos@0
   382
                </table>
carlos@0
   383
              </td>
carlos@0
   384
            </tr>
carlos@0
   385
carlos@0
   386
            <tr>
carlos@0
   387
carlos@0
   388
              <TD class="TitleCell"> <SPAN class="LabelText">Account</SPAN></TD>
carlos@0
   389
              <TD class="Combo_ContentCell" colspan="2">
carlos@0
   390
                <SELECT name="inpcBankaccountId" id="inpcBankaccountId" class="Combo Combo_TwoCells_width">
carlos@0
   391
                  <OPTION value=""></OPTION>
carlos@0
   392
                  <DIV id="reportC_BankAccount_ID"></DIV></SELECT></TD>
carlos@0
   393
              </TD>
carlos@0
   394
              <TD class="TitleCell"></TD>
carlos@0
   395
              <TD class="TitleCell"> <SPAN class="LabelText">Organization</SPAN></TD>
carlos@0
   396
              <TD class="Combo_ContentCell">
carlos@0
   397
                <SELECT name="inpadOrgId" id="inpadOrgId" class="Combo Combo_OneCell_width">
carlos@0
   398
                <OPTION value=""></OPTION>
carlos@0
   399
                <DIV id="reportAD_Org_ID"></DIV></SELECT>
carlos@0
   400
              </TD>
carlos@0
   401
            </tr>
carlos@0
   402
carlos@0
   403
            <TR>
carlos@0
   404
              <TD class="TitleCell"><SPAN class="LabelText">Invoice No.</SPAN></TD>
carlos@0
   405
              <TD class="TextBox_ContentCell">
carlos@0
   406
                <INPUT type="text" dojotype="openbravo:ValidationTextBox" class="TextBox_OneCell_width" name="inpDocumentNo" id="inpDocumentNo" value="" ><script>djConfig.searchIds.push("inpDocumentNo");</script>
carlos@0
   407
              </TD>
carlos@0
   408
              <TD class="TitleCell"><SPAN class="LabelText">Amount FromĀ </SPAN> </TD>
carlos@0
   409
              <TD class="TextBox_btn_ContentCell">
carlos@0
   410
                  <TABLE border="0" cellspacing="0" cellpadding="0" summary=""  style="padding-top: 0px;">
carlos@0
   411
                    <TR>
carlos@0
   412
                      <TD class="Textbox_ContentCell">
carlos@0
   413
                        <INPUT type="text" dojoType="openbravo:RealNumberTextbox" id="paramAmountFrom" class="dojoValidateValid TextBox_btn_OneCell_width"  value="" maxlength="10" name="inpamountFrom" onkeyup="" onchange="logChanges(this);return true;"></INPUT><script>djConfig.searchIds.push("paramAmountFrom");</script>
carlos@0
   414
                      </TD>
carlos@0
   415
                      <TD class="FieldButton_ContentCell">
carlos@0
   416
                      <a class="FieldButtonLink" href="#" onfocus="this.className='FieldButtonLink_hover'; window.status='Amount From'; return true;" onblur="this.className='FieldButtonLink';  window.status=''; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onkeyup="this.className='FieldButtonLink_hover'; return true;"  onclick="calculator('frmMain.inpamountFrom', document.frmMain.inpamountFrom.value, false);return false;">
carlos@0
   417
                      <TABLE class="FieldButton" onmouseout="this.className='FieldButton';window.status='';return true;" onmouseover="this.className='FieldButton_hover';window.status='';return true;" onmousedown="this.className='FieldButton_active';return true;" onmouseup="this.className='FieldButton';return true;" id="NoPackageslinkCalc">
carlos@0
   418
                          <TR>
carlos@0
   419
                            <TD class="FieldButton_bg">
carlos@0
   420
                              <IMG alt="Calculator" class="FieldButton_Icon FieldButton_Icon_Calc" title="Amount From" src="../../../../../web/images/blank.gif" border="0" id="buttonCalc"></IMG>
carlos@0
   421
                            </TD>
carlos@0
   422
                          </TR>
carlos@0
   423
                        </TABLE>
carlos@0
   424
                      </a>
carlos@0
   425
                      </TD>
carlos@0
   426
                    </TR>
carlos@0
   427
                  </TABLE>
carlos@0
   428
              </TD>
carlos@0
   429
carlos@0
   430
carlos@0
   431
              <TD class="TitleCell"> <SPAN class="LabelText">Amount To</SPAN> </TD>
carlos@0
   432
              <TD class="TextBox_btn_ContentCell">
carlos@0
   433
                <TABLE border="0" cellspacing="0" cellpadding="0" summary="" class="">
carlos@0
   434
                  <TR>
carlos@0
   435
                    <TD class="Textbox_ContentCell">
carlos@0
   436
                        <INPUT type="text" dojoType="openbravo:RealNumberTextbox" id="paramAmountTo" class="dojoValidateValid TextBox_btn_OneCell_width"  value="" maxlength="10" name="inpamountTo" onkeyup="" onchange="logChanges(this);return true;"></INPUT><script>djConfig.searchIds.push("paramAmountTo");</script>
carlos@0
   437
                    </TD>
carlos@0
   438
carlos@0
   439
                    <TD class="FieldButton_ContentCell">
carlos@0
   440
                    <a class="FieldButtonLink" href="#" onfocus="this.className='FieldButtonLink_hover'; window.status='Amount From'; return true;" onblur="this.className='FieldButtonLink';  window.status=''; return true;" onkeypress="this.className='FieldButtonLink_active'; return true;" onkeyup="this.className='FieldButtonLink_hover'; return true;" onclick="calculator('frmMain.inpamountTo', document.frmMain.inpamountTo.value, false);return false;">
carlos@0
   441
                    <TABLE class="FieldButton" onmouseout="this.className='FieldButton';window.status='';return true;" onmouseover="this.className='FieldButton_hover';window.status='';return true;" onmousedown="this.className='FieldButton_active';return true;" onmouseup="this.className='FieldButton';return true;" id="NoPackageslinkCalc">
carlos@0
   442
                        <TR>
carlos@0
   443
                          <TD class="FieldButton_bg">
carlos@0
   444
                            <IMG alt="Calculator" class="FieldButton_Icon FieldButton_Icon_Calc" title="Amount to" src="../../../../../web/images/blank.gif" border="0" id="buttonCalc"></IMG>
carlos@0
   445
                          </TD>
carlos@0
   446
                        </TR>
carlos@0
   447
                      </TABLE>
carlos@0
   448
                    </a>
carlos@0
   449
                    </TD>
carlos@0
   450
                  </TR>
carlos@0
   451
                </TABLE>
carlos@0
   452
              </TD>
carlos@0
   453
            </tr>
carlos@0
   454
carlos@0
   455
            <tr>
carlos@0
   456
              <TD class="TitleCell"> <SPAN class="LabelText">Only Applied</SPAN> </TD>
carlos@0
   457
              <TD class="Radio_Check_ContentCell"> 
carlos@0
   458
                <INPUT type="checkbox" name="inpCharge" value="Y" id="paramCharge"></TD>
carlos@0
   459
              <TD class="TitleCell"></TD>
carlos@0
   460
              <TD class="TitleCell"></TD>
carlos@0
   461
              <TD class="TitleCell"></TD>
carlos@0
   462
              <TD class="TitleCell"></TD>
carlos@0
   463
            </tr>
carlos@0
   464
carlos@0
   465
            <tr><td height="20px"></tr>
carlos@0
   466
carlos@0
   467
            <tr>
carlos@0
   468
              <td class="TitleCell"></td>
carlos@0
   469
              <td class="Button_RightAlign_ContentCell">
carlos@0
   470
                <div>
carlos@0
   471
                  <a class="ButtonLink" href="#" onfocus="this.className='ButtonLink_hover'; window.status='Search'; return true;" onblur="this.className='ButtonLink'; window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_hover'; return true;" onclick="submitCommandForm('FIND_BANK', false, null, null, '_self');return false;">
carlos@0
   472
                  <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='Search';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
carlos@0
   473
                    <tr>
carlos@0
   474
                      <td class="Button_left"><img class="Button_Icon Button_Icon_search" alt="Search" title="Search" src="../../../../../web/images/blank.gif" border=0/></td>
carlos@0
   475
                      <td class="Button_text Button_width">Search</td>
carlos@0
   476
                      <td class="Button_right"></td>
carlos@0
   477
                    </tr>
carlos@0
   478
                  </table>
carlos@0
   479
                  </a>
carlos@0
   480
                </div>
carlos@0
   481
              </td>
carlos@0
   482
              <td class="Button_LeftAlign_ContentCell">
carlos@0
   483
              </td>
carlos@0
   484
              <TD class="TitleCell"></TD>
carlos@0
   485
              <TD class="TitleCell"></TD>
carlos@0
   486
              <TD class="TitleCell"></TD>
carlos@0
   487
            </tr>
carlos@0
   488
          </table>
carlos@0
   489
        </div>
carlos@0
   490
      </tr>
carlos@0
   491
    </td>
carlos@0
   492
  </table>
carlos@0
   493
<div style="height:15px;"></div>
carlos@0
   494
<table cellspacing="0" cellpadding="0" width="100%" style="text-align:-moz-center;_text-align:center;">
carlos@0
   495
  <div class="Popup_ContentPane_Client" style="overflow: auto;">
carlos@0
   496
    <TABLE cellspacing="0" cellpadding="0" border="0">
carlos@0
   497
      <tr>
carlos@0
   498
carlos@0
   499
        <td class="TitleCell">
carlos@0
   500
          <SPAN class="LabelText">Total amount</SPAN>
carlos@0
   501
        </td>
carlos@0
   502
        <td style="width: 10px;"></td>
carlos@0
   503
        <td class="TitleCell">
carlos@0
   504
          <SPAN class="Label_ReadOnly_Text" id="paramTotalPrice">0</SPAN>
carlos@0
   505
          <INPUT type="hidden" name="inpTotalPrice" value="0">
carlos@0
   506
        </TD>
carlos@0
   507
carlos@0
   508
        <td style="width: 20px;"></td>
carlos@0
   509
carlos@0
   510
        <td class="TitleCell">
carlos@0
   511
          <SPAN class="LabelText">Proposal date</SPAN>
carlos@0
   512
        <TD class="TextBox_btn_ContentCell" colspan="6">
carlos@0
   513
          <TABLE border="0" cellspacing="0" cellpadding="0" summary=""  style="padding-top: 0px;">
carlos@0
   514
            <TR>
carlos@0
   515
              <TD class="TextBox_ContentCell">
carlos@0
   516
                <INPUT dojoType="openbravo:DateTextbox" displayFormat="xx" saveFormat="yy"  class="TextBox_btn_OneCell_width" type="text" name="inpplanneddate" id="inpterplanneddate" size="10" maxlength="10" value="" onkeyup="auto_complete_date(this.textbox, this.displayFormat);return true;"></INPUT><SCRIPT>djConfig.searchIds.push("inpterplanneddate");</SCRIPT>
carlos@0
   517
              </TD>
carlos@0
   518
              <TD class="FieldButton_ContentCell">
carlos@0
   519
                <TABLE class="FieldButton" onclick="showCalendar('frmMain.inpplanneddate', document.frmMain.inpplanneddate.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
   520
                  <TR>
carlos@0
   521
                    <TD class="FieldButton_bg">
carlos@0
   522
                      <IMG alt="Calendar" class="FieldButton_Icon FieldButton_Icon_Calendar" title="Calendar" src="../../../../../web/images/blank.gif" border="0"></IMG>
carlos@0
   523
                    </TD>
carlos@0
   524
                  </TR>
carlos@0
   525
                </TABLE>
carlos@0
   526
              </TD>
carlos@0
   527
            </TR>
carlos@0
   528
          </TABLE>
carlos@0
   529
        </TD>
carlos@0
   530
      </tr>
carlos@0
   531
    </table>
carlos@0
   532
  </div>
carlos@0
   533
carlos@0
   534
  <div class="Popup_ContentPane_Client" style="overflow: auto; width:895px; height:215px;">
carlos@0
   535
    <table cellspacing="0" cellpadding="0" width="100%" class="DataGrid_Header_Table DataGrid_Body_Table" style="table-layout: auto;">
carlos@0
   536
carlos@0
   537
      <TR class="DataGrid_Body_Row">
carlos@0
   538
        <TH width="3%" class="DataGrid_Header_LineNoCell DataGrid_Body_Cell_CheckBox"><INPUT type="checkbox" name="inpTodos" onclick="marcarTodosPersonal(document.frmMain.inpcPaymentId, this.checked);return true;"></TH>
carlos@0
   539
        <TH width="10%" colspan="3" class="DataGrid_Header_Cell">Payment</TH>
carlos@0
   540
        <TH width="10%" class="DataGrid_Header_Cell">Invoice</TH>
carlos@0
   541
        <TH width="23%" colspan="4" class="DataGrid_Header_Cell">Account</TH>
carlos@0
   542
      </TR>
carlos@0
   543
carlos@0
   544
      <TR class="DataGrid_Body_Row">
carlos@0
   545
        <TH class="DataGrid_Header_LineNoCell DataGrid_Body_Cell_CheckBox"></TD>
carlos@0
   546
        <TH width="8%" class="DataGrid_Header_Cell">Date</TH>
carlos@0
   547
        <TH width="12%" class="DataGrid_Header_Cell">Organization</TH>
carlos@0
   548
        <TH width="12%" class="DataGrid_Header_Cell">Currency</TH>
carlos@0
   549
        <TH width="12%" class="DataGrid_Header_Cell">Amount</TH>
carlos@0
   550
        <TH width="6%" class="DataGrid_Header_Cell">Conversion</TH>
carlos@0
   551
        <TH width="8%" class="DataGrid_Header_Cell">Proposal date</TH>
carlos@0
   552
        <TH width="6%" colspan="2" class="DataGrid_Header_Cell">Cost</TH>
carlos@0
   553
      </TR>
carlos@0
   554
carlos@0
   555
      <DIV id="sectionDetail">
carlos@0
   556
carlos@0
   557
        <TR class="DataGrid_Body_Row DataGrid_Body_Row_yy" id="funcEvenOddRowxx">
carlos@0
   558
          <TD class="DataGrid_Body_LineNoCell DataGrid_Body_Cell_CheckBox" style="border-bottom-width:0px; border-bottom: none;"><INPUT type="checkbox" name="inpcPaymentId" value="" id="fieldCPaymentId" onclick="updatePrice(this);return true;"><INPUT type="hidden" name="inpPricexx" value="" id="fieldPrice"></TD>
carlos@0
   559
          <TD class="DataGrid_Body_Cell" id="fieldPayment" colspan="3">xxUOM</TD>
carlos@0
   560
          <TD class="DataGrid_Body_Cell" id="fieldInvoice">xxInvoice</TD>
carlos@0
   561
          <TD class="DataGrid_Body_Cell" id="fieldBank" colspan="4">xx</TD>
carlos@0
   562
        </TR>
carlos@0
   563
carlos@0
   564
        <TR class="DataGrid_Body_Row DataGrid_Body_Row_yy">
carlos@0
   565
          <TD class="DataGrid_Body_LineNoCell DataGrid_Body_Cell_CheckBox" style="border-bottom-width:3px"></TD>
carlos@0
   566
          <TD class="DataGrid_Body_Cell" id="fieldDate" style="border-bottom-width:3px">xxQuantity</TD>
carlos@0
   567
          <TD class="DataGrid_Body_Cell" id="fieldOrg" style="border-bottom-width:3px">xx</TD>
carlos@0
   568
          <TD class="DataGrid_Body_Cell" id="fieldCurrency" style="border-bottom-width:3px">xxProduct</TD>
carlos@0
   569
          <TD class="DataGrid_Body_Cell" id="fieldAmount" style="border-bottom-width:3px">xx</TD>
carlos@0
   570
          <TD class="DataGrid_Body_Cell" id="fieldConverted" style="border-bottom-width:3px">xx</TD>
carlos@0
   571
          <TD class="DataGrid_Body_Cell" style="border-bottom-width:3px"><INPUT class="dojoValidateValid" name="inpplanneddatexx" type="text" id="inpterplanneddate" maxlength="10" size="9" value="" onkeyup="auto_complete_date(this);return true;"></TD>
carlos@0
   572
          <TD class="DataGrid_Body_Cell" style="border-bottom-width:3px"><INPUT class="dojoValidateValid" name="inpcostxx" type="text" id="parameterCost" maxlength="8" value=""></TD>
carlos@0
   573
        </TR>
carlos@0
   574
carlos@0
   575
      </DIV>
carlos@0
   576
    </TABLE>
carlos@0
   577
  </div>
carlos@0
   578
carlos@0
   579
carlos@0
   580
  </td>
carlos@0
   581
</tr>
carlos@0
   582
</table>
carlos@0
   583
</div>
carlos@0
   584
</table>
carlos@0
   585
carlos@0
   586
carlos@0
   587
</FORM>
carlos@0
   588
</BODY>
carlos@0
   589
</HTML>