src/org/openbravo/erpCommon/ad_process/CashBankOperations.html
author Gorka Gil <gorka.gil@openbravo.com>
Mon, 26 May 2008 11:32:48 +0000
changeset 1028 8b85368639cc
parent 961 e244d7005cd9
child 1044 8691bbc94032
permissions -rw-r--r--
Manual windows of bug 0000436 Blank required fields don't take the focus
juanpablo@726
     1
<!--
juanpablo@726
     2
 *************************************************************************
juanpablo@726
     3
 * The contents of this file are subject to the Openbravo  Public  License
juanpablo@726
     4
 * Version  1.0  (the  "License"),  being   the  Mozilla   Public  License
juanpablo@726
     5
 * Version 1.1  with a permitted attribution clause; you may not  use this
juanpablo@726
     6
 * file except in compliance with the License. You  may  obtain  a copy of
juanpablo@726
     7
 * the License at http://www.openbravo.com/legal/license.html 
juanpablo@726
     8
 * Software distributed under the License  is  distributed  on  an "AS IS"
juanpablo@726
     9
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
juanpablo@726
    10
 * License for the specific  language  governing  rights  and  limitations
juanpablo@726
    11
 * under the License. 
juanpablo@726
    12
 * The Original Code is Openbravo ERP. 
juanpablo@726
    13
 * The Initial Developer of the Original Code is Openbravo SL 
juanpablo@726
    14
 * All portions are Copyright (C) 2001-2007 Openbravo SL 
juanpablo@726
    15
 * All Rights Reserved. 
juanpablo@726
    16
 * Contributor(s):  ______________________________________.
juanpablo@726
    17
 ************************************************************************
juanpablo@726
    18
-->
juanpablo@726
    19
<HTML>
juanpablo@726
    20
<HEAD>
juanpablo@726
    21
<TITLE>Cash and bank transactions</TITLE>
juanpablo@726
    22
juanpablo@726
    23
<LINK rel="SHORTCUT ICON" href="../../../../../web/images/favicon.ico" type="image/x-icon"/>
juanpablo@726
    24
<link rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Popup/Popup.css" id="paramCSS"/>
juanpablo@726
    25
<link rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Main/Main_Manual.css" id="paramCSS"/>
juanpablo@726
    26
juanpablo@726
    27
<script language="JavaScript" type="text/javascript" id="paramDirection">
juanpablo@726
    28
var baseDirection = "../../../../../web/";
juanpablo@726
    29
</script>
juanpablo@726
    30
<script language="JavaScript" type="text/javascript" id="paramLanguage">
juanpablo@726
    31
  var LNG_POR_DEFECTO = "en_US";
juanpablo@726
    32
</script>
juanpablo@726
    33
<SCRIPT language="JavaScript" type="text/javascript" id="paramAlertMsg">ALERT_MSG = "Are you sure?";</SCRIPT>
juanpablo@726
    34
<script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
juanpablo@726
    35
<script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
juanpablo@726
    36
<script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
juanpablo@726
    37
<SCRIPT language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></SCRIPT>
juanpablo@726
    38
<SCRIPT language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></SCRIPT>
juanpablo@726
    39
<SCRIPT language="JavaScript" src="../../../../../web/js/default/MessageBox.js" type="text/javascript"></SCRIPT>
juanpablo@726
    40
<script language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></script>
juanpablo@726
    41
<SCRIPT language="JavaScript" src="../utility/MessagesJS.js" type="text/javascript"></SCRIPT>
juanpablo@726
    42
<SCRIPT language="JavaScript" src="../../../../../web/js/jscalendar/calendar.js" type="text/javascript"></SCRIPT>
juanpablo@726
    43
<SCRIPT language="JavaScript" src="../../../../../web/js/jscalendar/lang/calendar-es.js" type="text/javascript" id="fieldCalendar"></SCRIPT>
juanpablo@726
    44
<script language="JavaScript" src="../../../../../web/js/default/DateTextBox.js" type="text/javascript"></script>
juanpablo@726
    45
<script language="JavaScript" src="../../../../../web/js/dojoConfig.js" type="text/javascript"></script>
juanpablo@726
    46
<script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
juanpablo@726
    47
juanpablo@726
    48
      <script type="text/javascript">
juanpablo@726
    49
        dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
juanpablo@726
    50
      </script>
juanpablo@726
    51
      
juanpablo@726
    52
juanpablo@726
    53
<SCRIPT language="JavaScript" type="text/javascript">
juanpablo@726
    54
function depurar() {
juanpablo@726
    55
	var frm = document.frmMain;
juanpablo@726
    56
	if ((frm.inpCBankAccountFromID.value==null || frm.inpCBankAccountFromID.value=="") && (frm.inpCCashFromID.value==null || frm.inpCCashFromID.value=="")) {
gorka@1028
    57
		setWindowElementFocus(frm.inpCBankAccountFromID);
juanpablo@726
    58
		mensaje(1);
juanpablo@726
    59
		return false;
juanpablo@726
    60
	}
juanpablo@726
    61
	if ((frm.inpCBankAccountFromID.value!=null && frm.inpCBankAccountFromID.value!="") && (frm.inpCCashFromID.value!=null && frm.inpCCashFromID.value!="")) {
gorka@1028
    62
		setWindowElementFocus(frm.inpCBankAccountFromID);
juanpablo@726
    63
		mensaje(14);
juanpablo@726
    64
		return false;
juanpablo@726
    65
	}
juanpablo@726
    66
	if ((frm.inpCBankAccountToID.value==null || frm.inpCBankAccountToID.value=="") && (frm.inpCCashToID.value==null || frm.inpCCashToID.value=="")) {
gorka@1028
    67
		setWindowElementFocus(frm.inpCBankAccountToID);
juanpablo@726
    68
		mensaje(1);
juanpablo@726
    69
		return false;
juanpablo@726
    70
	}
juanpablo@726
    71
	if ((frm.inpCBankAccountToID.value!=null && frm.inpCBankAccountToID.value!="") && (frm.inpCCashToID.value!=null && frm.inpCCashToID.value!="")) {
gorka@1028
    72
		setWindowElementFocus(frm.inpCBankAccountToID);
juanpablo@726
    73
		mensaje(15);
juanpablo@726
    74
		return false;
juanpablo@726
    75
	}
juanpablo@726
    76
	if ((frm.inpAmount.value <= 0)) {
gorka@1028
    77
		setWindowElementFocus(frm.inpAmount);
juanpablo@726
    78
		mensaje(9);
juanpablo@726
    79
		return false;
juanpablo@726
    80
	}
juanpablo@726
    81
	if ((frm.inppaymentruleFrom.value==null || frm.inppaymentruleFrom.value=="")) {
gorka@1028
    82
		setWindowElementFocus(frm.inppaymentruleFrom);
juanpablo@726
    83
		mensaje(1);
juanpablo@726
    84
		return false;
juanpablo@726
    85
	}
juanpablo@726
    86
	if ((frm.inppaymentruleTo.value==null || frm.inppaymentruleTo.value=="")) {
gorka@1028
    87
		setWindowElementFocus(frm.inppaymentruleTo);
juanpablo@726
    88
		mensaje(1);
juanpablo@726
    89
		return false;
juanpablo@726
    90
	}
juanpablo@726
    91
	if ((frm.inpAmount.value==null || frm.inpAmount.value=="")) {
gorka@1028
    92
		setWindowElementFocus(frm.inpAmount);
juanpablo@726
    93
		mensaje(1);
juanpablo@726
    94
		return false;
juanpablo@726
    95
	}
juanpablo@726
    96
	if ((frm.inpmovementdate.value==null || frm.inpmovementdate.value=="")) {
gorka@1028
    97
		setWindowElementFocus(frm.inpmovementdate);
juanpablo@726
    98
		mensaje(1);
juanpablo@726
    99
		return false;
juanpablo@726
   100
	}
juanpablo@726
   101
	return true;
juanpablo@726
   102
}
juanpablo@726
   103
juanpablo@726
   104
function onloadFunctions() {
juanpablo@726
   105
}
juanpablo@726
   106
</SCRIPT>
asier@528
   107
	<SCRIPT language="JavaScript" type="text/javascript">
asier@528
   108
	function onLoadDo(){
asier@528
   109
		this.windowTables = new Array(
david@628
   110
		  new windowTableId('client', null, 'buttonOK')
asier@528
   111
		);
asier@528
   112
		setWindowTableParentElement();
asier@528
   113
		this.tabsTables = new Array(
asier@528
   114
		  new tabTableId('tdtopTabs')
asier@528
   115
		);
asier@528
   116
		setTabTableParentElement();
asier@528
   117
		enableShortcuts('edition');
asier@528
   118
		
asier@528
   119
		resizeArea();
asier@528
   120
		try {
asier@528
   121
		  onloadFunctions();
asier@528
   122
		} catch (e) {}
asier@528
   123
		xx
asier@528
   124
asier@528
   125
		setWindowElementFocus('firstElement');
asier@528
   126
	}
asier@528
   127
asier@528
   128
	function onResizeDo(){
asier@528
   129
		resizeArea();
asier@528
   130
	}
asier@528
   131
	</SCRIPT>
juanpablo@726
   132
</HEAD>
juanpablo@726
   133
<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();"  id="body">
juanpablo@726
   134
<FORM id="form" method="POST" action="CashBankOperations.html" name="frmMain">
juanpablo@726
   135
  <INPUT type="hidden" name="Command">
juanpablo@726
   136
<INPUT type="hidden" name="IsPopUpCall" value="1"></INPUT>
juanpablo@726
   137
<table height="100%" border="0" cellpadding="0" cellspacing="0" id="main">
juanpablo@726
   138
    <tr>
juanpablo@726
   139
      <td valign="top" id="tdleftTabs"></td>
juanpablo@726
   140
      <td valign="top">
juanpablo@726
   141
        <TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="Main_ContentPane_Left">
juanpablo@726
   142
          <TR><TD class="Main_NavBar_bg_left" id="tdleftSeparator"></TD></TR>
juanpablo@726
   143
          <TR><TD class="Main_ToolBar_bg_left" valign="top"></TD></TR>
juanpablo@726
   144
          <TR><TD class="Main_Client_bg_left"></TD></TR>
juanpablo@726
   145
          <TR><TD class="Main_Bottom_bg_left"></TD></TR>
juanpablo@726
   146
        </TABLE>
juanpablo@726
   147
      </td>
juanpablo@726
   148
      <td valign="top">
juanpablo@726
   149
        <div class="Main_ContentPane_NavBar" id="tdtopButtons"></div>
juanpablo@726
   150
        <div class="Main_ContentPane_ToolBar" id="paramToolBar"></div>
juanpablo@726
   151
        <TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="Main_ContentPane_TabPane" id="tdtopTabs">
juanpablo@726
   152
          <TR id="paramParentTabContainer"></TR>
juanpablo@726
   153
          <TR id="paramMainTabContainer"></TR>
juanpablo@726
   154
          <TR id="paramChildTabContainer"></TR>
juanpablo@726
   155
        </TABLE>
juanpablo@726
   156
        <div class="Main_ContentPane_Client" style="overflow: auto;" id="client">
juanpablo@726
   157
                <table class="dojoTabContainer" border="0" cellpadding="0" cellspacing="0" width="100%" summary="">
juanpablo@726
   158
                  <tr>
juanpablo@726
   159
                    <td>
juanpablo@726
   160
                      <table class="dojoTabPaneWrapper" border="0" cellpadding="0" cellspacing="0" width="100%" summary="">
juanpablo@726
   161
                        <tr>
juanpablo@726
   162
                          <td>
juanpablo@726
   163
                            <!-- MessageBox -->
juanpablo@726
   164
juanpablo@726
   165
                            <table cellpadding="0" cellspacing="0" id="messageBoxID" class="MessageBoxyy">
juanpablo@726
   166
                              <TBODY>
juanpablo@726
   167
                              <tr class="MessageBox_TopMargin">
juanpablo@726
   168
                                <td class="MessageBox_LeftMargin"></td>
juanpablo@726
   169
                                <td></td>
juanpablo@726
   170
                                <td class="MessageBox_RightMargin"></td>
juanpablo@726
   171
                              </tr>
juanpablo@726
   172
                              <tr>
juanpablo@726
   173
                                <td class="MessageBox_LeftMargin"></td>
juanpablo@726
   174
                                <td>
juanpablo@726
   175
juanpablo@726
   176
                                  <table cellpadding="0" cellspacing="0" style="width: 100%;">
juanpablo@726
   177
                                    <TBODY>
juanpablo@726
   178
                                    <tr>
juanpablo@726
   179
                                      <td>
juanpablo@726
   180
                                        <div class="MessageBox_TopLeft"></div>
juanpablo@726
   181
                                        <div class="MessageBox_Left"></div>
juanpablo@726
   182
                                      </td>
juanpablo@726
   183
                                      <td class="MessageBox_bg">
juanpablo@726
   184
juanpablo@726
   185
                                        <table class="MessageBox_Top">
juanpablo@726
   186
                                        <TBODY>
juanpablo@726
   187
                                          <tr>
juanpablo@726
   188
                                            <td>
juanpablo@726
   189
                                              <span>
juanpablo@726
   190
                                              <table cellpadding="0" cellspacing="0" class="MessageBox_Body_ContentCell">
juanpablo@726
   191
                                                <TBODY>
juanpablo@726
   192
                                                <tr>
juanpablo@726
   193
                                                  <td class="MessageBox_Icon_ContentCell">
juanpablo@726
   194
                                                    <div class="MessageBox_Icon"></div>
juanpablo@726
   195
                                                  </td>
juanpablo@726
   196
                                                  <td style="vertical-align: top;" id="messageBoxIDContent">
juanpablo@726
   197
                                                    <span>
juanpablo@726
   198
                                                      <div class="MessageBox_TextTitle" id="messageBoxIDTitle">
juanpablo@726
   199
                                                        xxInfo: AccessTableWithNoView
juanpablo@726
   200
                                                      </div>
juanpablo@726
   201
                                                      <div class="MessageBox_TextDescription" id="messageBoxIDMessage">
juanpablo@726
   202
                                                        xxThe current information is empty.
juanpablo@726
   203
                                                      </div>
juanpablo@726
   204
                                                      <div class="MessageBox_TextSeparator"></div>
juanpablo@726
   205
                                                    </span>
juanpablo@726
   206
                                                  </td>
juanpablo@726
   207
                                                </tr>
juanpablo@726
   208
                                                </TBODY>
juanpablo@726
   209
                                              </table>
juanpablo@726
   210
                                              </span>
juanpablo@726
   211
                                            </td>
juanpablo@726
   212
                                          </tr>
juanpablo@726
   213
                                          </TBODY>
juanpablo@726
   214
                                        </table>
juanpablo@726
   215
juanpablo@726
   216
                                      </td>
juanpablo@726
   217
                                      <td class="MessageBox_RightTrans">
juanpablo@726
   218
                                        <div class="MessageBox_TopRight"></div>
juanpablo@726
   219
                                        <div class="MessageBox_Right"></div>
juanpablo@726
   220
                                      </td>
juanpablo@726
   221
                                    </tr>
juanpablo@726
   222
                                    <tr>
juanpablo@726
   223
                                      <td rowspan="2" class="MessageBox_BottomLeft">
juanpablo@726
   224
                                      </td>
juanpablo@726
   225
                                      <td class="MessageBox_BottomTrans MessageBox_bg">
juanpablo@726
   226
                                      </td>
juanpablo@726
   227
                                      <td rowspan="2" class="MessageBox_BottomRight">
juanpablo@726
   228
                                      </td>
juanpablo@726
   229
                                    </tr>
juanpablo@726
   230
                                    <tr>
juanpablo@726
   231
                                      <td class="MessageBox_Bottom">
juanpablo@726
   232
                                      </td>
juanpablo@726
   233
                                    </tr>
juanpablo@726
   234
                                    </TBODY>
juanpablo@726
   235
                                  </table>
juanpablo@726
   236
juanpablo@726
   237
                                </td>
juanpablo@726
   238
                                <td class="MessageBox_RightMargin"></td>
juanpablo@726
   239
                              </tr>
juanpablo@726
   240
                              <tr class="MessageBox_BottomMargin">
juanpablo@726
   241
                                <td class="MessageBox_LeftMargin"></td>
juanpablo@726
   242
                                <td></td>
juanpablo@726
   243
                                <td class="MessageBox_RightMargin"></td>
juanpablo@726
   244
                              </tr>
juanpablo@726
   245
                              </TBODY>
juanpablo@726
   246
                            </table>
juanpablo@726
   247
        <!-- USER CONTROLS -->
juanpablo@726
   248
              <TABLE class="Main_Client_TableEdition">
juanpablo@726
   249
                <tr>
juanpablo@726
   250
                  <td class="TableEdition_OneCell_width"></td>
juanpablo@726
   251
                  <td class="TableEdition_OneCell_width"></td>
juanpablo@726
   252
                  <td class="TableEdition_OneCell_width"></td>
juanpablo@726
   253
                  <td class="TableEdition_OneCell_width"></td>
juanpablo@726
   254
                  <td class="TableEdition_OneCell_width"></td>
juanpablo@726
   255
                  <td class="TableEdition_OneCell_width"></td>
juanpablo@726
   256
                </tr>
juanpablo@726
   257
  <tr>
juanpablo@726
   258
    <td colspan="6">
juanpablo@726
   259
      <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_InfoBar">
juanpablo@726
   260
        <tr>
juanpablo@726
   261
          <td class="Popup_InfoBar_Icon_cell"><IMG src="../../../../../web/images/blank.gif" border="0" class="Popup_InfoBar_Icon_info" /></td>
juanpablo@726
   262
          <td class="Popup_InfoBar_text_table">
juanpablo@726
   263
            <table>
juanpablo@726
   264
              <tr>
juanpablo@726
   265
                <td class="Popup_InfoBar_text" id="helpDiscard"><SPAN id="processHelp">&nbsp;</SPAN></td>
juanpablo@726
   266
              </tr>
juanpablo@726
   267
            </table>
juanpablo@726
   268
          </td>
juanpablo@726
   269
        </tr>
juanpablo@726
   270
      </table>
juanpablo@726
   271
    </td>
juanpablo@726
   272
  </tr>
juanpablo@726
   273
  <TR>
juanpablo@726
   274
          <TD colspan="6">
juanpablo@726
   275
            <TABLE class="FieldGroup" cellspacing="0" cellpadding="0" border="0">
juanpablo@726
   276
              <TR class="FieldGroup_TopMargin"></TR>
juanpablo@726
   277
              <TR>
juanpablo@726
   278
                <TD class="FieldGroupTitle_Left"><IMG class="FieldGroupTitle_Left_bg" border="0" src="../../../../../web/images/blank.gif"></IMG></TD>
juanpablo@726
   279
                <TD class="FieldGroupTitle">From</TD>
juanpablo@726
   280
                <TD class="FieldGroupTitle_Right"><IMG class="FieldGroupTitle_Right_bg" border="0" src="../../../../../web/images/blank.gif"></IMG></TD>
juanpablo@726
   281
                <TD class="FieldGroupContent"></TD>
juanpablo@726
   282
juanpablo@726
   283
              </TR>
juanpablo@726
   284
              <TR class="FieldGroup_BottomMargin"></TR>
juanpablo@726
   285
            </TABLE>
juanpablo@726
   286
          </TD>
juanpablo@726
   287
   </TR>
juanpablo@726
   288
   
juanpablo@726
   289
   <tr>
juanpablo@726
   290
      <TD class="TitleCell"><SPAN class="LabelText">Bank account</SPAN>&nbsp;</TD>
carlos@0
   291
      <TD class="Combo_ContentCell" colspan="2"> 
juanpablo@726
   292
        <SELECT class="Combo Combo_TwoCells_width" name="inpCBankAccountFromID" id="inpCBankAccountFromID">
juanpablo@726
   293
          <OPTION value=""/><DIV id="reportC_BankAccountFrom_ID"></DIV>
juanpablo@726
   294
        </SELECT>
juanpablo@726
   295
     </TD>
juanpablo@726
   296
     <TD class="TitleCell"><SPAN class="LabelText">Cash</SPAN>&nbsp;</TD>
juanpablo@726
   297
      <TD class="Combo_ContentCell" colspan="2"> 
juanpablo@726
   298
        <SELECT class="Combo Combo_TwoCells_width" name="inpCCashFromID" id="inpCCashFromID">
juanpablo@726
   299
          <OPTION value=""></OPTION><DIV id="reportC_CashFrom_ID"></DIV>
carlos@0
   300
        </SELECT>
carlos@0
   301
      </TD>
carlos@0
   302
    </tr>
juanpablo@726
   303
    <tr>
juanpablo@726
   304
      <TD class="TitleCell"><SPAN class="LabelText">Payment rule</SPAN>&nbsp;</TD>
carlos@0
   305
      <TD class="Combo_ContentCell"> 
juanpablo@726
   306
        <SELECT class="Combo Combo_OneCell_width" name="inppaymentruleFrom" id="inppaymentruleFrom">
juanpablo@726
   307
          <OPTION value=""></OPTION><DIV id="reportPaymentRuleFrom"></DIV>
carlos@0
   308
        </SELECT></TD>
carlos@0
   309
     <td/><td/>
juanpablo@726
   310
     <td/><td/>
juanpablo@726
   311
   </tr>
juanpablo@726
   312
   
juanpablo@726
   313
   
juanpablo@726
   314
   <TR>
juanpablo@726
   315
          <TD colspan="6">
juanpablo@726
   316
            <TABLE class="FieldGroup" cellspacing="0" cellpadding="0" border="0">
juanpablo@726
   317
              <TR class="FieldGroup_TopMargin"></TR>
juanpablo@726
   318
              <TR>
juanpablo@726
   319
                <TD class="FieldGroupTitle_Left"><IMG class="FieldGroupTitle_Left_bg" border="0" src="../../../../../web/images/blank.gif"></IMG></TD>
juanpablo@726
   320
                <TD class="FieldGroupTitle">To</TD>
juanpablo@726
   321
                <TD class="FieldGroupTitle_Right"><IMG class="FieldGroupTitle_Right_bg" border="0" src="../../../../../web/images/blank.gif"></IMG></TD>
juanpablo@726
   322
                <TD class="FieldGroupContent"></TD>
juanpablo@726
   323
juanpablo@726
   324
              </TR>
juanpablo@726
   325
              <TR class="FieldGroup_BottomMargin"></TR>
juanpablo@726
   326
            </TABLE>
juanpablo@726
   327
          </TD>
juanpablo@726
   328
   </TR>
juanpablo@726
   329
   
juanpablo@726
   330
   <tr>
juanpablo@726
   331
      <TD class="TitleCell"><SPAN class="LabelText">Bank account</SPAN>&nbsp;</TD>
juanpablo@726
   332
      <TD class="Combo_ContentCell" colspan="2"> 
juanpablo@726
   333
        <SELECT class="Combo Combo_TwoCells_width" name="inpCBankAccountToID" id="inpCBankAccountToID">
juanpablo@726
   334
          <OPTION value=""/><DIV id="reportC_BankAccountFrom_ID"></DIV>
juanpablo@726
   335
        </SELECT>
juanpablo@726
   336
     </TD>
juanpablo@726
   337
     <TD class="TitleCell"><SPAN class="LabelText">Cash</SPAN>&nbsp;</TD>
juanpablo@726
   338
      <TD class="Combo_ContentCell" colspan="2"> <SELECT class="Combo Combo_TwoCells_width" name="inpCCashToID" id="inpCCashToID">
juanpablo@726
   339
          <OPTION value=""></OPTION><DIV id="reportC_CashTo_ID"></DIV>
carlos@0
   340
        </SELECT></TD>
carlos@0
   341
   </tr>
juanpablo@726
   342
   <tr>
juanpablo@726
   343
      <TD class="TitleCell"><SPAN class="LabelText">Payment rule</SPAN>&nbsp;</TD>
juanpablo@726
   344
      <TD class="Combo_ContentCell"> <SELECT class="Combo Combo_OneCell_width" name="inppaymentruleTo" id="inppaymentruleTo">
juanpablo@726
   345
          <OPTION value=""></OPTION><DIV id="reportPaymentRuleTo"></DIV>
carlos@0
   346
        </SELECT></TD>
carlos@0
   347
        <td/><td/>
juanpablo@726
   348
     <td/><td/>
juanpablo@726
   349
   </tr>
juanpablo@726
   350
   
juanpablo@726
   351
   
juanpablo@726
   352
   
juanpablo@726
   353
   <TR>
juanpablo@726
   354
          <TD colspan="6">
juanpablo@726
   355
            <TABLE class="FieldGroup" cellspacing="0" cellpadding="0" border="0">
juanpablo@726
   356
              <TR class="FieldGroup_TopMargin"></TR>
juanpablo@726
   357
              <TR>
juanpablo@726
   358
                <TD class="FieldGroupTitle_Left"><IMG class="FieldGroupTitle_Left_bg" border="0" src="../../../../../web/images/blank.gif"></IMG></TD>
juanpablo@726
   359
                <TD class="FieldGroupTitle">Movement</TD>
juanpablo@726
   360
                <TD class="FieldGroupTitle_Right"><IMG class="FieldGroupTitle_Right_bg" border="0" src="../../../../../web/images/blank.gif"></IMG></TD>
juanpablo@726
   361
                <TD class="FieldGroupContent"></TD>
juanpablo@726
   362
juanpablo@726
   363
              </TR>
juanpablo@726
   364
              <TR class="FieldGroup_BottomMargin"></TR>
juanpablo@726
   365
            </TABLE>
juanpablo@726
   366
          </TD>
juanpablo@726
   367
   </TR>
juanpablo@726
   368
juanpablo@726
   369
    
juanpablo@726
   370
    <TR> 
juanpablo@726
   371
      <TD class="TitleCell"><SPAN class="LabelText">Amount</SPAN>&nbsp;</TD>
juanpablo@726
   372
      <TD class="TextBox_ContentCell"> <INPUT class="dojoValidateValid TextBox_OneCell_width" type="text" name="inpAmount" value=""></INPUT>
juanpablo@726
   373
      </TD>
juanpablo@726
   374
      <TD class="TitleCell"><SPAN class="LabelText">Movement date</SPAN></TD>
juanpablo@726
   375
      <TD class="TextBox_btn_ContentCell">
juanpablo@726
   376
juanpablo@726
   377
              <TABLE border="0" cellspacing="0" cellpadding="0" summary="" style="padding-top: 0px;">
juanpablo@726
   378
                <TR>
juanpablo@726
   379
                  <TD class="TextBox_ContentCell">
juanpablo@726
   380
                    <INPUT dojotype="openbravo:DateTextbox" displayformat="xx" saveformat="yy" class="TextBox_btn_OneCell_width"  type="text" name="inpmovementdate" id="inpmovementdate" size="10" maxlength="10" value="" onkeyup="auto_complete_date(this.textbox, this.displayFormat);return true;"></INPUT><SCRIPT>djConfig.searchIds.push("inpmovementdate");</SCRIPT>
juanpablo@726
   381
                  </TD>
juanpablo@726
   382
                  <TD class="FieldButton_ContentCell">
juanpablo@726
   383
                    <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.inpmovementdate', document.frmMain.inpmovementdate.value, false);return false;" >
juanpablo@726
   384
                      <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;">
juanpablo@726
   385
                      <TR>
juanpablo@726
   386
juanpablo@726
   387
                        <TD class="FieldButton_bg">
juanpablo@726
   388
                          <IMG alt="Calendar" class="FieldButton_Icon FieldButton_Icon_Calendar" title="Calendar" src="../../../../../web/images/blank.gif" border="0"></IMG>
juanpablo@726
   389
                        </TD>
juanpablo@726
   390
                      </TR>
juanpablo@726
   391
                    </TABLE>
juanpablo@726
   392
                    </a>
juanpablo@726
   393
                  </TD>
juanpablo@726
   394
                </TR>
juanpablo@726
   395
              </TABLE>
juanpablo@726
   396
            </TD>
juanpablo@726
   397
     </TR>
juanpablo@726
   398
    <TR> 
juanpablo@726
   399
      <TD class="TitleCell"><SPAN class="LabelText">Description</SPAN>&nbsp;</TD>
juanpablo@726
   400
      <TD class="TextBox_ContentCell" colspan="4"> <TEXTAREA class="dojoValidateValid TextArea_FiveCells_width TextArea_Medium_height" rows="2" name="inpdescription"></TEXTAREA></TD>
juanpablo@726
   401
      <td/>
juanpablo@726
   402
    </TR>
juanpablo@726
   403
    <tr>
juanpablo@726
   404
            <td class="TitleCell"></td>
juanpablo@726
   405
            <td class="ContentCell" colspan="2"><SPAN class="LabelText" id="question">&nbsp;</SPAN></td>
juanpablo@726
   406
            <td class="ContentCell"></td>
juanpablo@726
   407
            <td class="TitleCell"></td>
juanpablo@726
   408
            <td class="ContentCell"></td>
juanpablo@726
   409
          </tr>
juanpablo@726
   410
          <tr>
juanpablo@726
   411
            <td class="TitleCell"></td>
juanpablo@726
   412
            <td class="Button_RightAlign_ContentCell">
juanpablo@726
   413
              <div>
juanpablo@726
   414
                <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="submitCommandForm('SAVE', true);return false;" id="buttonOK">
juanpablo@726
   415
                  <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='Accept';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
juanpablo@726
   416
                  <tr>
juanpablo@726
   417
                    <td class="Button_left"><img class="Button_Icon Button_Icon_ok" alt="Accept" title="Accept" src="../../../../../web/images/blank.gif" border=0/></td>
juanpablo@726
   418
                    <td class="Button_text Button_width">OK</td>
juanpablo@726
   419
                    <td class="Button_right"></td>
juanpablo@726
   420
                  </tr>
juanpablo@726
   421
                </table>
juanpablo@726
   422
                </a>
juanpablo@726
   423
              </div>
juanpablo@726
   424
            </td>
juanpablo@726
   425
            <td class="Button_LeftAlign_ContentCell">
juanpablo@726
   426
        
juanpablo@726
   427
            </td>
juanpablo@726
   428
            <td class="ContentCell"></td>
juanpablo@726
   429
            <td class="TitleCell"></td>
juanpablo@726
   430
            <td class="ContentCell"></td>
juanpablo@726
   431
          </tr>
juanpablo@726
   432
              </TABLE>
juanpablo@726
   433
juanpablo@726
   434
                      <!-- USER CONTROLS -->
juanpablo@726
   435
                </td>
juanpablo@726
   436
              </tr>
juanpablo@726
   437
              </table>
juanpablo@726
   438
              </td>
juanpablo@726
   439
            </tr>
juanpablo@726
   440
          </table>
juanpablo@726
   441
        </div>
juanpablo@726
   442
        <TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="Menu_ContentPane_Bottom" id="tdbottomSeparator">
juanpablo@726
   443
          <TR>
juanpablo@726
   444
            <TD class="Main_Bottom_bg"><IMG src="../../../../../web/images/blank.gif" border="0"></TD>
juanpablo@726
   445
          </TR>
juanpablo@726
   446
        </TABLE>
juanpablo@726
   447
        </td>
juanpablo@726
   448
      <td valign="top">
juanpablo@726
   449
        <TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="Main_ContentPane_Right" id="tdrightSeparator">
juanpablo@726
   450
          <TR><TD class="Main_NavBar_bg_right"></TD></TR>
juanpablo@726
   451
          <TR><TD class="Main_ToolBar_bg_right" valign="top"></TD></TR>
juanpablo@726
   452
          <TR><TD class="Main_Client_bg_right"></TD></TR>
juanpablo@726
   453
          <TR><TD class="Main_Bottom_bg_right"></TD></TR>
juanpablo@726
   454
        </TABLE>
juanpablo@726
   455
      </td>
juanpablo@726
   456
    </tr>
juanpablo@726
   457
  </table>
juanpablo@726
   458
</FORM>
juanpablo@726
   459
</BODY>
juanpablo@726
   460
</HTML>