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