src/org/openbravo/erpCommon/info/InvoiceLine_F2.html
changeset 0 0247c26f10c6
child 347 adf8b19cf2a8
equal deleted inserted replaced
-1:000000000000 0:0247c26f10c6
       
     1 <!--
       
     2  *************************************************************************
       
     3  * The contents of this file are subject to the Openbravo  Public  License
       
     4  * Version  1.0  (the  "License"),  being   the  Mozilla   Public  License
       
     5  * Version 1.1  with a permitted attribution clause; you may not  use this
       
     6  * file except in compliance with the License. You  may  obtain  a copy of
       
     7  * the License at http://www.openbravo.com/legal/license.html 
       
     8  * Software distributed under the License  is  distributed  on  an "AS IS"
       
     9  * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
       
    10  * License for the specific  language  governing  rights  and  limitations
       
    11  * under the License. 
       
    12  * The Original Code is Openbravo ERP. 
       
    13  * The Initial Developer of the Original Code is Openbravo SL 
       
    14  * All portions are Copyright (C) 2001-2007 Openbravo SL 
       
    15  * All Rights Reserved. 
       
    16  * Contributor(s):  ______________________________________.
       
    17  ************************************************************************
       
    18 -->
       
    19 
       
    20 <html>
       
    21 <head>
       
    22   <title>Invoice Line Selector</title>
       
    23 
       
    24   <link rel="SHORTCUT ICON" href="../../../../../web/images/favicon.ico"></link>
       
    25   <link rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Popup/Popup.css" id="paramCSS"></link>
       
    26   <script language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></script>
       
    27   <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
       
    28   <script language="JavaScript" src="../../../../../web/js/dojoConfig.js" type="text/javascript"></script>
       
    29   <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
       
    30   <script language="JavaScript" type="text/javascript" id="paramDirection">var baseDirection = "../../../../../web/";</script>
       
    31   <script language="JavaScript" type="text/javascript" id="paramLanguage">  LNG_POR_DEFECTO = "en_US";</script>
       
    32   <script type="text/javascript">
       
    33     dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
       
    34   </script>
       
    35   <script language="JavaScript" type="text/javascript">
       
    36     function loadData(text, position) {
       
    37       document.frmSelector.inpLastKeySelected.value = position;
       
    38       document.frmSelector.inpTexto.value=text;
       
    39       return true;
       
    40     }
       
    41 
       
    42     var selectedRow = "";
       
    43     function selectActual(obj) {
       
    44       if (selectedRow != "") {
       
    45         selectedRow.className = selectedRow.className.replace(' DataGrid_Body_Row_selected', '');
       
    46       }
       
    47       selectedRow = obj;
       
    48       selectedRow.className += " DataGrid_Body_Row_selected";
       
    49       selectedCheck = selectedRow.id.toString().replace('funcEvenOddRow', 'CheckNum');
       
    50       document.getElementById(selectedCheck).checked = true;
       
    51     }
       
    52 
       
    53     function HoverCell(cell) {
       
    54       cell.className = cell.className + ' DataGrid_Body_Cell_hover';
       
    55     }
       
    56 
       
    57     function unHoverCell(cell) {
       
    58       cell.className = cell.className.replace(' DataGrid_Body_Cell_hover', '');
       
    59     }
       
    60   </script>
       
    61 </head>
       
    62 
       
    63 <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="resizeArea();focoPrimerControl();window.focus();" onresize="resizeArea();">
       
    64 <form name="frmSelector" method="POST" action="">
       
    65   <INPUT type="hidden" name="Command">
       
    66 <INPUT type="hidden" name="IsPopUpCall" value="1"></INPUT>
       
    67   <input type="hidden" name="inpTexto"></input>
       
    68   <input type="hidden" name="inpLastKeySelected"></input>
       
    69 
       
    70   <table height="100%" border="0" cellpadding="0" cellspacing="0" id="main">
       
    71     <tr>
       
    72       <td valign="top" class="Popup_Client_Selector_DataGrid_LeftMargin">
       
    73         <table width="100%" border="0" cellspacing="0" cellpadding="0" id="tdleftSeparator">
       
    74           <tr><td class="Popup_Client_Selector_DataGrid_LeftMargin"></td></tr>
       
    75         </table>
       
    76       </td>
       
    77       <td valign="top">
       
    78 
       
    79         <div style="overflow: auto; display: none;" id="client">
       
    80 
       
    81           <table cellspacing="0" cellpadding="0" width="100%" class="DataGrid_Header_Table DataGrid_Body_Table" style="table-layout: auto;">
       
    82             <tr class="DataGrid_Body_Row"> 
       
    83               <th width="3%"  class="DataGrid_Header_LineNoCell">&nbsp;</th>
       
    84               <th width="29%" class="DataGrid_Header_Cell">Business Partners</th>
       
    85               <th width="10%" class="DataGrid_Header_Cell">Date</th>
       
    86               <th width="13%" class="DataGrid_Header_Cell">Doc No.</th>
       
    87               <th width="4%"  class="DataGrid_Header_Cell">Sale</th>
       
    88               <th width="20%" class="DataGrid_Header_Cell">Product</th>
       
    89               <th width="7%"  class="DataGrid_Header_Cell">Quantity</th>
       
    90               <th width="6%"  class="DataGrid_Header_Cell">Price</th>
       
    91               <th width="8%"  class="DataGrid_Header_Cell">Amount</th>
       
    92             </tr>
       
    93 
       
    94             <div id="sectionDetail"> 
       
    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">
       
    96                 <td class="DataGrid_Body_LineNoCell DataGrid_Body_Cell_RadioButton">
       
    97                   <input type="radio" name="inpClave" value="xx" id="CheckNumxx" class="DataGrid_RadioButton"></input>
       
    98                 </td>
       
    99                 <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldBpartnername">xx</td>
       
   100                 <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldDateordered" >xx</td>
       
   101                 <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldDocumentno">xx</td>
       
   102                 <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldIsSOTrx" >xx</td>
       
   103                 <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldProduct">xx</td>
       
   104                 <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldQty" >xx</td>
       
   105                 <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldPrice" >xx</td>
       
   106                 <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldAmount" >xx</td>
       
   107               </tr>
       
   108             </div>
       
   109           </table>
       
   110           
       
   111           <table cellspacing="0" cellpadding="0" width="100%" style="text-align:-moz-center;_text-align:center;border-collapse:collapse;">
       
   112 
       
   113             <td align=left width=50% style="padding-left: 7px;">
       
   114 
       
   115               <table cellspacing="0" cellpadding="0" id="hasPrevious">
       
   116                 <td class="Main_ToolBar_textlabel_bg_left">
       
   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>
       
   118                 </td>
       
   119                 <td class="Main_ToolBar_textlabel_bg_body" width=65px align="center"><a href="#" class="Main_ToolBar_text_relatedinfo">Previous</a></td>
       
   120                 <td width="1"><img src="../../../../../web/images/blank.gif" class="Main_ToolBar_textlabel_bg_right" border="0"></img></td>
       
   121               </table>
       
   122 
       
   123               <span id="withoutPrevious"></span>
       
   124 
       
   125             </td>
       
   126 
       
   127             <td align=right width=50% style="padding-right: 7px;">
       
   128 
       
   129               <table cellspacing="0" cellpadding="0" id="hasNext">
       
   130                 <td width="1"><img src="../../../../../web/images/blank.gif" class="Main_ToolBar_textlabel_bg_left" border="0"></img></td>
       
   131                 <td class="Main_ToolBar_textlabel_bg_body" width=65px align=center><a href="#" class="Main_ToolBar_text_relatedinfo">Next</a></td>
       
   132                 <td class="Main_ToolBar_textlabel_bg_right">
       
   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>
       
   134                 </td>
       
   135               </table>
       
   136 
       
   137               <span id="withoutNext"></span>
       
   138 
       
   139             </td>
       
   140 
       
   141           </table>
       
   142 
       
   143         </div>
       
   144 
       
   145       </td>
       
   146 
       
   147       <td valign="top" class="Popup_Client_Selector_DataGrid_RightMargin">
       
   148         <table width="100%" border="0" cellspacing="0" cellpadding="0" id="tdrightSeparator">
       
   149           <tr><td class="Popup_Client_Selector_DataGrid_RightMargin"></td></tr>
       
   150         </table>
       
   151       </td>
       
   152     </tr>
       
   153   </table>
       
   154 
       
   155 </form>
       
   156 </body>
       
   157 </html>