src/org/openbravo/erpCommon/info/InvoiceLine_F2.html
author Carlos Romero <carlos.romero@openbravo.com>
Tue, 06 Nov 2007 08:33:31 +0000
changeset 0 0247c26f10c6
child 347 adf8b19cf2a8
permissions -rw-r--r--
Modified PostgreSQL post script in order to include C_DEBT_PAYMENT_GENERATE modification tules
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-2007 Openbravo SL 
carlos@0
    15
 * All Rights Reserved. 
carlos@0
    16
 * Contributor(s):  ______________________________________.
carlos@0
    17
 ************************************************************************
carlos@0
    18
-->
carlos@0
    19
carlos@0
    20
<html>
carlos@0
    21
<head>
carlos@0
    22
  <title>Invoice Line Selector</title>
carlos@0
    23
carlos@0
    24
  <link rel="SHORTCUT ICON" href="../../../../../web/images/favicon.ico"></link>
carlos@0
    25
  <link rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Popup/Popup.css" id="paramCSS"></link>
carlos@0
    26
  <script language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></script>
carlos@0
    27
  <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
carlos@0
    28
  <script language="JavaScript" src="../../../../../web/js/dojoConfig.js" type="text/javascript"></script>
carlos@0
    29
  <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
carlos@0
    30
  <script language="JavaScript" type="text/javascript" id="paramDirection">var baseDirection = "../../../../../web/";</script>
carlos@0
    31
  <script language="JavaScript" type="text/javascript" id="paramLanguage">  LNG_POR_DEFECTO = "en_US";</script>
carlos@0
    32
  <script type="text/javascript">
carlos@0
    33
    dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
carlos@0
    34
  </script>
carlos@0
    35
  <script language="JavaScript" type="text/javascript">
carlos@0
    36
    function loadData(text, position) {
carlos@0
    37
      document.frmSelector.inpLastKeySelected.value = position;
carlos@0
    38
      document.frmSelector.inpTexto.value=text;
carlos@0
    39
      return true;
carlos@0
    40
    }
carlos@0
    41
carlos@0
    42
    var selectedRow = "";
carlos@0
    43
    function selectActual(obj) {
carlos@0
    44
      if (selectedRow != "") {
carlos@0
    45
        selectedRow.className = selectedRow.className.replace(' DataGrid_Body_Row_selected', '');
carlos@0
    46
      }
carlos@0
    47
      selectedRow = obj;
carlos@0
    48
      selectedRow.className += " DataGrid_Body_Row_selected";
carlos@0
    49
      selectedCheck = selectedRow.id.toString().replace('funcEvenOddRow', 'CheckNum');
carlos@0
    50
      document.getElementById(selectedCheck).checked = true;
carlos@0
    51
    }
carlos@0
    52
carlos@0
    53
    function HoverCell(cell) {
carlos@0
    54
      cell.className = cell.className + ' DataGrid_Body_Cell_hover';
carlos@0
    55
    }
carlos@0
    56
carlos@0
    57
    function unHoverCell(cell) {
carlos@0
    58
      cell.className = cell.className.replace(' DataGrid_Body_Cell_hover', '');
carlos@0
    59
    }
carlos@0
    60
  </script>
carlos@0
    61
</head>
carlos@0
    62
carlos@0
    63
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="resizeArea();focoPrimerControl();window.focus();" onresize="resizeArea();">
carlos@0
    64
<form name="frmSelector" method="POST" action="">
carlos@0
    65
  <INPUT type="hidden" name="Command">
carlos@0
    66
<INPUT type="hidden" name="IsPopUpCall" value="1"></INPUT>
carlos@0
    67
  <input type="hidden" name="inpTexto"></input>
carlos@0
    68
  <input type="hidden" name="inpLastKeySelected"></input>
carlos@0
    69
carlos@0
    70
  <table height="100%" border="0" cellpadding="0" cellspacing="0" id="main">
carlos@0
    71
    <tr>
carlos@0
    72
      <td valign="top" class="Popup_Client_Selector_DataGrid_LeftMargin">
carlos@0
    73
        <table width="100%" border="0" cellspacing="0" cellpadding="0" id="tdleftSeparator">
carlos@0
    74
          <tr><td class="Popup_Client_Selector_DataGrid_LeftMargin"></td></tr>
carlos@0
    75
        </table>
carlos@0
    76
      </td>
carlos@0
    77
      <td valign="top">
carlos@0
    78
carlos@0
    79
        <div style="overflow: auto; display: none;" id="client">
carlos@0
    80
carlos@0
    81
          <table cellspacing="0" cellpadding="0" width="100%" class="DataGrid_Header_Table DataGrid_Body_Table" style="table-layout: auto;">
carlos@0
    82
            <tr class="DataGrid_Body_Row"> 
carlos@0
    83
              <th width="3%"  class="DataGrid_Header_LineNoCell">&nbsp;</th>
carlos@0
    84
              <th width="29%" class="DataGrid_Header_Cell">Business Partners</th>
carlos@0
    85
              <th width="10%" class="DataGrid_Header_Cell">Date</th>
carlos@0
    86
              <th width="13%" class="DataGrid_Header_Cell">Doc No.</th>
carlos@0
    87
              <th width="4%"  class="DataGrid_Header_Cell">Sale</th>
carlos@0
    88
              <th width="20%" class="DataGrid_Header_Cell">Product</th>
carlos@0
    89
              <th width="7%"  class="DataGrid_Header_Cell">Quantity</th>
carlos@0
    90
              <th width="6%"  class="DataGrid_Header_Cell">Price</th>
carlos@0
    91
              <th width="8%"  class="DataGrid_Header_Cell">Amount</th>
carlos@0
    92
            </tr>
carlos@0
    93
carlos@0
    94
            <div id="sectionDetail"> 
carlos@0
    95
              <tr class="DataGrid_Body_Row DataGrid_Body_Row_yy" onclick="selectActual(this); loadData('xx', 'hh'); return true;"  ondblclick="parent.inferior.depurarSelector('SAVE'); return true;" id="funcEvenOddRowxx">
carlos@0
    96
                <td class="DataGrid_Body_LineNoCell DataGrid_Body_Cell_RadioButton">
carlos@0
    97
                  <input type="radio" name="inpClave" value="xx" id="CheckNumxx" class="DataGrid_RadioButton"></input>
carlos@0
    98
                </td>
carlos@0
    99
                <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldBpartnername">xx</td>
carlos@0
   100
                <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldDateordered" >xx</td>
carlos@0
   101
                <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldDocumentno">xx</td>
carlos@0
   102
                <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldIsSOTrx" >xx</td>
carlos@0
   103
                <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldProduct">xx</td>
carlos@0
   104
                <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldQty" >xx</td>
carlos@0
   105
                <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldPrice" >xx</td>
carlos@0
   106
                <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldAmount" >xx</td>
carlos@0
   107
              </tr>
carlos@0
   108
            </div>
carlos@0
   109
          </table>
carlos@0
   110
          
carlos@0
   111
          <table cellspacing="0" cellpadding="0" width="100%" style="text-align:-moz-center;_text-align:center;border-collapse:collapse;">
carlos@0
   112
carlos@0
   113
            <td align=left width=50% style="padding-left: 7px;">
carlos@0
   114
carlos@0
   115
              <table cellspacing="0" cellpadding="0" id="hasPrevious">
carlos@0
   116
                <td class="Main_ToolBar_textlabel_bg_left">
carlos@0
   117
                  <a href="#" onClick="return false;" class="Main_ToolBar_Button" onMouseOver="window.status='Reference';return true;" onMouseOut="window.status='';return true;" onclick="this.hideFocus=true" onblur="this.hideFocus=false" id="linkButtonRelatedInfo"><img class="Main_ToolBar_Button_Icon Main_ToolBar_Button_Icon_Previous" src="../../../../../web/images/blank.gif" title="Reference" border="0" id="buttonRelatedInfo"></a>
carlos@0
   118
                </td>
carlos@0
   119
                <td class="Main_ToolBar_textlabel_bg_body" width=65px align="center"><a href="#" class="Main_ToolBar_text_relatedinfo">Previous</a></td>
carlos@0
   120
                <td width="1"><img src="../../../../../web/images/blank.gif" class="Main_ToolBar_textlabel_bg_right" border="0"></img></td>
carlos@0
   121
              </table>
carlos@0
   122
carlos@0
   123
              <span id="withoutPrevious"></span>
carlos@0
   124
carlos@0
   125
            </td>
carlos@0
   126
carlos@0
   127
            <td align=right width=50% style="padding-right: 7px;">
carlos@0
   128
carlos@0
   129
              <table cellspacing="0" cellpadding="0" id="hasNext">
carlos@0
   130
                <td width="1"><img src="../../../../../web/images/blank.gif" class="Main_ToolBar_textlabel_bg_left" border="0"></img></td>
carlos@0
   131
                <td class="Main_ToolBar_textlabel_bg_body" width=65px align=center><a href="#" class="Main_ToolBar_text_relatedinfo">Next</a></td>
carlos@0
   132
                <td class="Main_ToolBar_textlabel_bg_right">
carlos@0
   133
                  <a href="#" onClick="return false;" class="Main_ToolBar_Button" onMouseOver="window.status='Reference';return true;" onMouseOut="window.status='';return true;" onclick="this.hideFocus=true" onblur="this.hideFocus=false" id="linkButtonRelatedInfo"><img class="Main_ToolBar_Button_Icon Main_ToolBar_Button_Icon_Next" src="../../../../../web/images/blank.gif" title="Reference" border="0" id="buttonRelatedInfo"></a>
carlos@0
   134
                </td>
carlos@0
   135
              </table>
carlos@0
   136
carlos@0
   137
              <span id="withoutNext"></span>
carlos@0
   138
carlos@0
   139
            </td>
carlos@0
   140
carlos@0
   141
          </table>
carlos@0
   142
carlos@0
   143
        </div>
carlos@0
   144
carlos@0
   145
      </td>
carlos@0
   146
carlos@0
   147
      <td valign="top" class="Popup_Client_Selector_DataGrid_RightMargin">
carlos@0
   148
        <table width="100%" border="0" cellspacing="0" cellpadding="0" id="tdrightSeparator">
carlos@0
   149
          <tr><td class="Popup_Client_Selector_DataGrid_RightMargin"></td></tr>
carlos@0
   150
        </table>
carlos@0
   151
      </td>
carlos@0
   152
    </tr>
carlos@0
   153
  </table>
carlos@0
   154
carlos@0
   155
</form>
carlos@0
   156
</body>
carlos@0
   157
</html>