src/org/openbravo/erpCommon/info/Invoice_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 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">
       
    86   <input type="hidden" name="inpTexto">
       
    87   <input type="hidden" name="inpLastKeySelected">
       
    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="8%"  class="DataGrid_Header_Cell">Business Partners</th>
       
   104               <th width="11%" class="DataGrid_Header_Cell">Date</th>
       
   105               <th width="11%" class="DataGrid_Header_Cell">Invoice No.</th>
       
   106               <th width="14%" class="DataGrid_Header_Cell">Currency</th>
       
   107               <th width="14%" class="DataGrid_Header_Cell">Grand total</th>
       
   108               <th width="11%" class="DataGrid_Header_Cell">Converted</th>
       
   109               <th width="10%" class="DataGrid_Header_Cell">Open</th>
       
   110               <th width="8%"  class="DataGrid_Header_Cell">Paid</th>
       
   111               <th width="11%" class="DataGrid_Header_Cell">Sales trans</th>
       
   112               <th height="19" class="DataGrid_Header_Cell">Description</th>
       
   113               <th height="19" class="DataGrid_Header_Cell">Order</th>
       
   114             </tr>
       
   115 
       
   116             <div id="sectionDetail"> 
       
   117               <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">
       
   118                 <td class="DataGrid_Body_LineNoCell DataGrid_Body_Cell_RadioButton">
       
   119                   <input type="radio" name="inpClave" value="xx" id="CheckNumxx" class="DataGrid_RadioButton"></input>
       
   120                 </td>
       
   121                 <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldBpartnername">xx</td>
       
   122                 <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldDateinvoiced">xx</td>
       
   123                 <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldDocumentno">xx</td>
       
   124                 <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldCurrency">xx</td>
       
   125                 <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldGrandtotal">xx</td>
       
   126                 <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldConvertedamount">xx</td>
       
   127                 <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldOpenamt">xx</td>
       
   128                 <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldIspaid">xx</td>
       
   129                 <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldIssotrx">xx</td>
       
   130                 <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldDescription">xx</td>
       
   131                 <td class="DataGrid_Body_Cell" onmouseover="HoverCell(this);" onmouseout="unHoverCell(this);" id="fieldPoreference">xx</td>
       
   132               </tr>
       
   133             </div>
       
   134           </table>
       
   135           
       
   136           <table cellspacing="0" cellpadding="0" width="100%" style="text-align:-moz-center;_text-align:center;border-collapse:collapse;">
       
   137             <td align=left width=50% style="padding-left: 7px;">
       
   138               <table cellspacing="0" cellpadding="0" id="hasPrevious">
       
   139                 <td class="Main_ToolBar_textlabel_bg_left">
       
   140                   <a href="#"
       
   141                   onClick="submitCommandForm('PREVIOUS', false, parent.superior.document.forms[0], 'Invoice_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>
       
   142                 </td>
       
   143                 <td class="Main_ToolBar_textlabel_bg_body" width=65px align="center"><a href="#" 
       
   144                   onClick="submitCommandForm('PREVIOUS', false, parent.superior.document.forms[0], 'Invoice_F2.html', null, null, false);return false;" class="Main_ToolBar_text_relatedinfo">Previous</a></td>
       
   145                 <td width="1"><img src="../../../../../web/images/blank.gif" class="Main_ToolBar_textlabel_bg_right" border="0"></img></td>
       
   146               </table>
       
   147               <span id="withoutPrevious"></span>
       
   148             </td>
       
   149             <td align=right width=50% style="padding-right: 7px;">
       
   150               <table cellspacing="0" cellpadding="0" id="hasNext">
       
   151                 <td width="1"><img src="../../../../../web/images/blank.gif" class="Main_ToolBar_textlabel_bg_left" border="0"></img></td>
       
   152                 <td class="Main_ToolBar_textlabel_bg_body" width=65px align=center><a href="#" 
       
   153                    onClick="submitCommandForm('NEXT', false, parent.superior.document.forms[0], 'Invoice_F2.html', null, null, false);return false;" class="Main_ToolBar_text_relatedinfo">Next</a></td>
       
   154                 <td class="Main_ToolBar_textlabel_bg_right">
       
   155                   <a href="#" 
       
   156                    onClick="submitCommandForm('NEXT', false, parent.superior.document.forms[0], 'Invoice_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>
       
   157                 </td>
       
   158               </table>
       
   159               <span id="withoutNext"></span>
       
   160             </td>
       
   161           </table>
       
   162 
       
   163         </div>
       
   164 
       
   165       </td>
       
   166 
       
   167       <td valign="top" class="Popup_Client_Selector_DataGrid_RightMargin">
       
   168         <table width="100%" border="0" cellspacing="0" cellpadding="0" id="tdrightSeparator">
       
   169           <tr><td class="Popup_Client_Selector_DataGrid_RightMargin"></td></tr>
       
   170         </table>
       
   171       </td>
       
   172     </tr>
       
   173   </table>
       
   174 
       
   175 </form>
       
   176 </body>
       
   177 </html>