src/org/openbravo/erpCommon/info/ProductMultiple_F1.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-2008 Openbravo SL 
       
    15  * All Rights Reserved. 
       
    16  * Contributor(s):  ______________________________________.
       
    17  ************************************************************************
       
    18 -->
       
    19 <HTML>
       
    20 <HEAD>
       
    21 <TITLE>Product multiple selector</TITLE>
       
    22 
       
    23 <LINK rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Popup/Popup.css" id="paramCSS"></LINK>
       
    24 
       
    25       <script language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></script>
       
    26       <script language="JavaScript" src="../../../../../web/js/shortcuts.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/windowKeyboard.js" type="text/javascript"></script>
       
    29       <script language="JavaScript" src="../../../../../web/js/dojoConfig.js" type="text/javascript"></script>
       
    30       <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
       
    31       <SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">	LNG_POR_DEFECTO = "en_US";</SCRIPT>
       
    32       <SCRIPT language="JavaScript" type="text/javascript" id="paramDirection">var baseDirection = "../../../../../web/";</SCRIPT>
       
    33       <SCRIPT language="JavaScript" src="../../../../../web/js/TypeAheadCombo.js" type="text/javascript"></SCRIPT>
       
    34       <SCRIPT language="JavaScript" src="../../../../../web/js/calculator.js" type="text/javascript"></SCRIPT>
       
    35 <SCRIPT language="JavaScript" src="../../../../../web/js/jscalendar/calendar.js" type="text/javascript"></SCRIPT>
       
    36 <SCRIPT language="JavaScript" src="../../../../../web/js/jscalendar/lang/calendar-es.js" type="text/javascript" id="fieldCalendar"></SCRIPT>
       
    37 <SCRIPT language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></SCRIPT>
       
    38 <SCRIPT language="JavaScript" src="../../../../../web/js/String.js" type="text/javascript"></SCRIPT>
       
    39 
       
    40       <script type="text/javascript">
       
    41         dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
       
    42       </script>
       
    43 
       
    44 
       
    45 <SCRIPT language="JavaScript" type="text/javascript">
       
    46 keyArray[keyArray.length] = new keyArrayItem("B", "submitCommandForm('FIND', false, null, null, 'medio');", null, "ctrlKey");
       
    47 
       
    48 </SCRIPT>
       
    49 <SCRIPT language="JavaScript" type="text/javascript">
       
    50 function depurar() {
       
    51 	var frm = document.frmSelector;
       
    52 	if ((frm.inpKey.value==null || frm.inpKey.value=="") && (frm.inpName.value==null || frm.inpName.value=="") && (frm.inpProductCategory.value==null || frm.inpProductCategory.value=="")) {
       
    53 		frm.inpKey.focus();
       
    54 		mensaje(7);
       
    55 		return false;
       
    56 	}
       
    57 	return true;
       
    58 }
       
    59 
       
    60 function onloadFunctions() {
       
    61 	new TypeAheadCombo("inpProductCategory");
       
    62 }
       
    63 </SCRIPT>
       
    64 	<SCRIPT language="JavaScript" type="text/javascript">
       
    65 	function onLoadDo(){
       
    66 		this.windowTables = new Array(
       
    67 		  new windowTableId('client', 'superior', 'buttonSearch', 'superior'),
       
    68 		  new windowTableId('client', 'medio', 'buttonOK', 'inferior'),
       
    69 		  new windowTableId('client', 'inferior', 'buttonOK', 'inferior')
       
    70 		);
       
    71 		setWindowTableParentElement();
       
    72 		enableShortcuts('popup');
       
    73 		
       
    74 		try {
       
    75 		  onloadFunctions();
       
    76 		} catch (e) {}
       
    77 
       
    78 		setWindowElementFocus('firstElement');
       
    79 	}
       
    80 
       
    81 	function onResizeDo(){
       
    82 	}
       
    83 	</SCRIPT>
       
    84 </HEAD>
       
    85 <BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();">
       
    86 <FORM name="frmSelector" method="POST" action="ProductMultiple_F2.html" target="medio">
       
    87   <INPUT type="hidden" name="Command">
       
    88 <INPUT type="hidden" name="IsPopUpCall" value="1"></INPUT>
       
    89   
       
    90   
       
    91   
       
    92   <div class="Popup_ContentPane_CircleLogo">
       
    93   <div class="Popup_WindowLogo">
       
    94     <img class="Popup_WindowLogo_Icon Popup_WindowLogo_Icon_product" src="../../../../../web/images/blank.gif" border=0/></img>
       
    95   </div>
       
    96 </div>
       
    97 
       
    98 <table cellspacing="0" cellpadding="0" width="100%">
       
    99 
       
   100   <tr>
       
   101     <td>
       
   102       <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_NavBar">
       
   103         <tr class="Popup_NavBar_bg"><td></td>
       
   104           <td class="Popup_NavBar_separator_cell"></td>
       
   105           <td class="Popup_NavBar_bg_logo_left"></td>
       
   106           <td class="Popup_NavBar_bg_logo" width="1" onclick="abrirNuevoBrowser('http://www.openbravo.com', 'Openbravo');return false;"><IMG src="../../../../../web/images/blank.gif" alt="Openbravo" title="Openbravo" border="0" id="openbravoLogo" class="Popup_NavBar_logo" /></td>
       
   107           <td class="Popup_NavBar_bg_logo_right"></td>
       
   108           <td class="Popup_NavBar_Popup_title_cell"><span>Product Selector</span></a></td>
       
   109           <td class="Popup_NavBar_separator_cell"></td>
       
   110         </tr>
       
   111       </table>
       
   112     </td>
       
   113   </tr>
       
   114 
       
   115   <tr>
       
   116     <td>
       
   117       <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_SeparatorBar">
       
   118         <tr>
       
   119           <td class="Popup_SeparatorBar_bg"></td>
       
   120         </tr>
       
   121       </table>
       
   122     </td>
       
   123   </tr>
       
   124   
       
   125    <tr>
       
   126     <td>
       
   127       <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client">
       
   128         <table cellspacing="0" cellpadding="0" class="Popup_Client_TableSelector">
       
   129 
       
   130           <tr>
       
   131             <td class="TableEdition_OneCell_width"></td>
       
   132             <td class="TableEdition_OneCell_width"></td>
       
   133             <td class="TableEdition_OneCell_width"></td>
       
   134             <td class="TableEdition_OneCell_width"></td>
       
   135             <td class="TableEdition_OneCell_width"></td>
       
   136             <td class="TableEdition_OneCell_width"></td>
       
   137           </tr>
       
   138 
       
   139           <TR>
       
   140           <TD colspan="6">
       
   141             <TABLE class="FieldGroup" cellspacing="0" cellpadding="0" border="0">
       
   142               <TR class="FieldGroup_TopMargin"></TR>
       
   143               <TR>
       
   144                 <TD class="FieldGroupTitle_Left"><IMG class="FieldGroupTitle_Left_bg" border="0" src="../../../../../web/images/blank.gif"></IMG></TD>
       
   145                 <TD class="FieldGroupTitle">Primary Filters</TD>
       
   146                 <TD class="FieldGroupTitle_Right"><IMG class="FieldGroupTitle_Right_bg" border="0" src="../../../../../web/images/blank.gif"></IMG></TD>
       
   147                 <TD class="FieldGroupContent"></TD>
       
   148 
       
   149               </TR>
       
   150               <TR class="FieldGroup_BottomMargin"></TR>
       
   151             </TABLE>
       
   152           </TD>
       
   153           </TR>
       
   154          
       
   155        </tr>
       
   156   
       
   157        <tr>
       
   158          <TD class="TitleCell"><SPAN class="LabelText">Key</SPAN></TD>
       
   159          <TD class="TextBox_ContentCell"> <INPUT class="dojoValidateValid TextBox_OneCell_width" type="text" name="inpKey" value="" id="fieldKey"/></TD>
       
   160          
       
   161          <td></td>
       
   162 
       
   163          
       
   164          <TD class="TitleCell"><SPAN class="LabelText">Name</SPAN></TD>
       
   165          <TD class="TextBox_ContentCell"> <INPUT class="dojoValidateValid TextBox_OneCell_width" name="inpName" value="" id="fieldName" type="text"/></TD>
       
   166          <td></td>
       
   167                   
       
   168        </tr>
       
   169        <tr>
       
   170          <TD class="TitleCell"><SPAN class="LabelText">Product Category</SPAN></TD>
       
   171           <TD class="Combo_ContentCell">
       
   172             <SELECT class="Combo Combo_OneCell_width" name="inpProductCategory" id="inpProductCategory">
       
   173               <OPTION value=""></OPTION><DIV id="reportM_Product_Category_ID"></DIV>
       
   174             </SELECT>
       
   175           </TD>
       
   176           <td/>
       
   177           <td/>
       
   178           <td/>
       
   179           <td/>
       
   180          
       
   181        </tr>
       
   182        
       
   183        <tr>
       
   184             <td></td>
       
   185             <td class="Button_LeftAlign_ContentCell">
       
   186               <div>
       
   187                 <a class="ButtonLink" href="#"
       
   188                   onfocus="setWindowElementFocus(this); window.status='Search'; return true;"
       
   189                   onblur="window.status=''; return true;"
       
   190                   onkeypress="this.className='ButtonLink_active'; return true;"
       
   191                   onkeyup="this.className='ButtonLink_focus'; return true;"
       
   192                   onclick="submitCommandForm('FIND', false, null, null, 'medio');return false;"
       
   193                   id="buttonSearch">
       
   194                   <table class="Button"
       
   195                     onmousedown="this.className='Button_active'; return true;"
       
   196                     onmouseup="this.className='Button'; return true;"
       
   197                     onmouseover="this.className='Button_hover'; window.status='Search'; return true;"
       
   198                     onmouseout="this.className='Button'; window.status=''; return true;">
       
   199                     <tr>
       
   200                       <td class="Button_left"><img class="Button_Icon Button_Icon_search" alt="Search" title="Search" src="../../../../../web/images/blank.gif" border=0/></td>
       
   201                       <td class="Button_text Button_width">Search</td>
       
   202                       <td class="Button_right"></td>
       
   203                     </tr>
       
   204                   </table>
       
   205                 </a>
       
   206               </div>
       
   207             </td>
       
   208             <td></td>
       
   209             <td></td>
       
   210             <td></td>
       
   211             <td></td>
       
   212           </tr>
       
   213   
       
   214   </table>
       
   215   </div>
       
   216   </td>
       
   217   
       
   218   </table>
       
   219   
       
   220 </FORM>
       
   221 </BODY>
       
   222 </HTML>