src/org/openbravo/erpCommon/info/InvoiceLine_F2.html
changeset 712 aa0c40278c5a
parent 711 4e8209a9d749
child 713 3471a641f6d1
equal deleted inserted replaced
711:4e8209a9d749 712:aa0c40278c5a
     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/shortcuts.js" type="text/javascript"></script>
       
    28   <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
       
    29   <script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
       
    30   <script language="JavaScript" src="../../../../../web/js/dojoConfig.js" type="text/javascript"></script>
       
    31   <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
       
    32   <script language="JavaScript" type="text/javascript" id="paramDirection">var baseDirection = "../../../../../web/";</script>
       
    33   <script language="JavaScript" type="text/javascript" id="paramLanguage">  LNG_POR_DEFECTO = "en_US";</script>
       
    34   <script type="text/javascript">
       
    35     dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
       
    36   </script>
       
    37   <script language="JavaScript" type="text/javascript">
       
    38     function loadData(text, position) {
       
    39       document.frmSelector.inpLastKeySelected.value = position;
       
    40       document.frmSelector.inpTexto.value=text;
       
    41       return true;
       
    42     }
       
    43 
       
    44     var selectedRow = "";
       
    45     function selectActual(obj) {
       
    46       if (selectedRow != "") {
       
    47         selectedRow.className = selectedRow.className.replace(' DataGrid_Body_Row_selected', '');
       
    48       }
       
    49       selectedRow = obj;
       
    50       selectedRow.className += " DataGrid_Body_Row_selected";
       
    51       selectedCheck = selectedRow.id.toString().replace('funcEvenOddRow', 'CheckNum');
       
    52       document.getElementById(selectedCheck).checked = true;
       
    53     }
       
    54 
       
    55     function HoverCell(cell) {
       
    56       cell.className = cell.className + ' DataGrid_Body_Cell_hover';
       
    57     }
       
    58 
       
    59     function unHoverCell(cell) {
       
    60       cell.className = cell.className.replace(' DataGrid_Body_Cell_hover', '');
       
    61     }
       
    62   </script>
       
    63 	<SCRIPT language="JavaScript" type="text/javascript">
       
    64 	function onLoadDo(){
       
    65 		this.windowTables = new Array(
       
    66 		  new windowTableId('client', 'superior', 'buttonSearch', 'superior'),
       
    67 		  new windowTableId('client', 'medio', 'buttonOK', 'inferior'),
       
    68 		  new windowTableId('client', 'inferior', 'buttonOK', 'inferior')
       
    69 		);
       
    70 		setWindowTableParentElement();
       
    71 		enableShortcuts('popup');
       
    72 		
       
    73 		resizeArea();
       
    74 	}
       
    75 
       
    76 	function onResizeDo(){
       
    77 		resizeArea();
       
    78 	}
       
    79 	</SCRIPT>
       
    80 </HEAD>
       
    81 
       
    82 <BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();">
       
    83 <form name="frmSelector" method="POST" action="">
       
    84   <INPUT type="hidden" name="Command">
       
    85 <INPUT type="hidden" name="IsPopUpCall" value="1"></INPUT>
       
    86   <input type="hidden" name="inpTexto"></input>
       
    87   <input type="hidden" name="inpLastKeySelected"></input>
       
    88 
       
    89   <table height="100%" border="0" cellpadding="0" cellspacing="0" id="main">
       
    90     <tr>
       
    91       <td valign="top" class="Popup_Client_Selector_DataGrid_LeftMargin">
       
    92         <table width="100%" border="0" cellspacing="0" cellpadding="0" id="tdleftSeparator">
       
    93           <tr><td class="Popup_Client_Selector_DataGrid_LeftMargin"></td></tr>
       
    94         </table>
       
    95       </td>
       
    96       <td valign="top">
       
    97 
       
    98         <div style="overflow: auto; display: none;" id="client">
       
    99 
       
   100           <table cellspacing="0" cellpadding="0" width="100%" class="DataGrid_Header_Table DataGrid_Body_Table" style="table-layout: auto;">
       
   101             <tr class="DataGrid_Body_Row"> 
       
   102               <th width="3%"  class="DataGrid_Header_LineNoCell">&nbsp;</th>
       
   103               <th width="29%" class="DataGrid_Header_Cell">Business Partners</th>
       
   104               <th width="10%" class="DataGrid_Header_Cell">Date</th>
       
   105               <th width="13%" class="DataGrid_Header_Cell">Doc No.</th>
       
   106               <th width="4%"  class="DataGrid_Header_Cell">Sale</th>
       
   107               <th width="20%" class="DataGrid_Header_Cell">Product</th>
       
   108               <th width="7%"  class="DataGrid_Header_Cell">Quantity</th>
       
   109               <th width="6%"  class="DataGrid_Header_Cell">Price</th>
       
   110               <th width="8%"  class="DataGrid_Header_Cell">Amount</th>
       
   111             </tr>
       
   112 
       
   113             <div id="sectionDetail"> 
       
   114               <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">
       
   115                 <td class="DataGrid_Body_LineNoCell DataGrid_Body_Cell_RadioButton">
       
   116                   <input type="radio" name="inpClave" value="xx" id="CheckNumxx" class="DataGrid_RadioButton"></input>
       
   117                 </td>
       
   118                 <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldBpartnername">xx</td>
       
   119                 <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldDateordered" >xx</td>
       
   120                 <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldDocumentno">xx</td>
       
   121                 <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldIsSOTrx" >xx</td>
       
   122                 <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldProduct">xx</td>
       
   123                 <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldQty" >xx</td>
       
   124                 <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldPrice" >xx</td>
       
   125                 <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldAmount" >xx</td>
       
   126               </tr>
       
   127             </div>
       
   128           </table>
       
   129           
       
   130           <table cellspacing="0" cellpadding="0" width="100%" style="text-align:-moz-center;_text-align:center;border-collapse:collapse;">
       
   131             <td align=left width=50% style="padding-left: 7px;">
       
   132               <table cellspacing="0" cellpadding="0" id="hasPrevious">
       
   133                 <td class="Main_ToolBar_textlabel_bg_left">
       
   134                   <a href="#"
       
   135                   onClick="submitCommandForm('PREVIOUS', false, parent.superior.document.forms[0], 'InvoiceLine_F2.html', null, null, false);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>
       
   136                 </td>
       
   137                 <td class="Main_ToolBar_textlabel_bg_body" width=65px align="center"><a href="#" 
       
   138                   onClick="submitCommandForm('PREVIOUS', false, parent.superior.document.forms[0], 'InvoiceLine_F2.html', null, null, false);return false;" class="Main_ToolBar_text_relatedinfo">Previous</a></td>
       
   139                 <td width="1"><img src="../../../../../web/images/blank.gif" class="Main_ToolBar_textlabel_bg_right" border="0"></img></td>
       
   140               </table>
       
   141               <span id="withoutPrevious"></span>
       
   142             </td>
       
   143             <td align=right width=50% style="padding-right: 7px;">
       
   144               <table cellspacing="0" cellpadding="0" id="hasNext">
       
   145                 <td width="1"><img src="../../../../../web/images/blank.gif" class="Main_ToolBar_textlabel_bg_left" border="0"></img></td>
       
   146                 <td class="Main_ToolBar_textlabel_bg_body" width=65px align=center><a href="#" 
       
   147                    onClick="submitCommandForm('NEXT', false, parent.superior.document.forms[0], 'InvoiceLine_F2.html', null, null, false);return false;" class="Main_ToolBar_text_relatedinfo">Next</a></td>
       
   148                 <td class="Main_ToolBar_textlabel_bg_right">
       
   149                   <a href="#" 
       
   150                    onClick="submitCommandForm('NEXT', false, parent.superior.document.forms[0], 'InvoiceLine_F2.html', null, null, false);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>
       
   151                 </td>
       
   152               </table>
       
   153               <span id="withoutNext"></span>
       
   154             </td>
       
   155           </table>
       
   156 
       
   157         </div>
       
   158 
       
   159       </td>
       
   160 
       
   161       <td valign="top" class="Popup_Client_Selector_DataGrid_RightMargin">
       
   162         <table width="100%" border="0" cellspacing="0" cellpadding="0" id="tdrightSeparator">
       
   163           <tr><td class="Popup_Client_Selector_DataGrid_RightMargin"></td></tr>
       
   164         </table>
       
   165       </td>
       
   166     </tr>
       
   167   </table>
       
   168 
       
   169 </form>
       
   170 </body>
       
   171 </html>