src/org/openbravo/erpCommon/info/BusinessPartner_F1.html
author David Baz Fayos <david.baz@openbravo.com>
Thu, 10 Apr 2008 17:23:23 +0000
changeset 628 492ad1a5c917
parent 528 7aa737db257f
permissions -rw-r--r--
Merge with keyboard shortcuts r3385
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
<HTML>
carlos@0
    20
<HEAD>
carlos@0
    21
<TITLE>Business Partner selector</TITLE>
carlos@0
    22
carlos@0
    23
<LINK rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Popup/Popup.css" id="paramCSS"></LINK>
carlos@0
    24
carlos@0
    25
      <script language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></script>
asier@528
    26
      <script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
carlos@0
    27
      <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
asier@528
    28
      <script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
carlos@0
    29
      <script language="JavaScript" src="../../../../../web/js/dojoConfig.js" type="text/javascript"></script>
carlos@0
    30
      <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
carlos@0
    31
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
carlos@0
    36
carlos@0
    37
  <LINK rel="SHORTCUT ICON" href="../../../../../web/images/favicon.ico"></LINK> 
carlos@0
    38
  <SCRIPT language="JavaScript" type="text/javascript" id="paramDirection">var baseDirection = "http://yourSite/web/";</SCRIPT>
carlos@0
    39
  <SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">	LNG_POR_DEFECTO = "en_US";</SCRIPT>
asier@528
    40
carlos@0
    41
<SCRIPT language="JavaScript" type="text/javascript">
carlos@0
    42
function depurar() {
carlos@0
    43
	var frm = document.frmSelector;
carlos@0
    44
	if ((frm.inpKey.value==null || frm.inpKey.value=="") && (frm.inpName.value==null || frm.inpName.value=="") && (frm.inpContact.value==null || frm.inpContact.value=="") && (frm.inpZIP.value==null || frm.inpZIP.value=="") && (frm.inpPhone.value==null || frm.inpPhone.value=="") && !frm.inpClients.checked) {
carlos@0
    45
		frm.inpKey.focus();
carlos@0
    46
		mensaje(7);
carlos@0
    47
		return false;
carlos@0
    48
	}
carlos@0
    49
	return true;
carlos@0
    50
}
asier@528
    51
asier@528
    52
function onloadFunctions(){
asier@528
    53
	keyArray[keyArray.length] = new keyArrayItem("B", "submitCommandForm('FIND', false, null, null, 'medio');", null, "ctrlKey");
asier@528
    54
}
carlos@0
    55
</SCRIPT>
asier@528
    56
	<SCRIPT language="JavaScript" type="text/javascript">
asier@528
    57
	function onLoadDo(){
asier@528
    58
		this.windowTables = new Array(
david@628
    59
		  new windowTableId('client', 'superior', 'buttonSearch', 'superior'),
david@628
    60
		  new windowTableId('client', 'medio', 'buttonOK', 'inferior'),
david@628
    61
		  new windowTableId('client', 'inferior', 'buttonOK', 'inferior')
asier@528
    62
		);
asier@528
    63
		setWindowTableParentElement();
asier@528
    64
		enableShortcuts('popup');
asier@528
    65
		
asier@528
    66
		try {
asier@528
    67
		  onloadFunctions();
asier@528
    68
		} catch (e) {}
asier@528
    69
asier@528
    70
		setWindowElementFocus('firstElement');
asier@528
    71
	}
asier@528
    72
asier@528
    73
	function onResizeDo(){
asier@528
    74
	}
asier@528
    75
	</SCRIPT>
carlos@0
    76
</HEAD>
carlos@0
    77
carlos@0
    78
asier@528
    79
<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();">
carlos@0
    80
<FORM name="frmSelector" method="POST" action="BusinessPartner_F2.html" target="medio">
carlos@0
    81
  <INPUT type="hidden" name="Command">
carlos@0
    82
<INPUT type="hidden" name="IsPopUpCall" value="1"></INPUT>
carlos@0
    83
<div class="Popup_ContentPane_CircleLogo">
carlos@0
    84
  <div class="Popup_WindowLogo">
carlos@0
    85
    <img class="Popup_WindowLogo_Icon Popup_WindowLogo_Icon_businessPartner" src="../../../../../web/images/blank.gif" border=0/></img>
carlos@0
    86
  </div>
carlos@0
    87
</div>
carlos@0
    88
<table cellspacing="0" cellpadding="0" width="100%">
carlos@0
    89
carlos@0
    90
  <tr>
carlos@0
    91
    <td>
carlos@0
    92
      <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_NavBar">
carlos@0
    93
        <tr class="Popup_NavBar_bg"><td></td>
carlos@0
    94
          <td class="Popup_NavBar_separator_cell"></td>
carlos@0
    95
          <td class="Popup_NavBar_bg_logo_left"></td>
carlos@0
    96
          <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>
carlos@0
    97
          <td class="Popup_NavBar_bg_logo_right"></td>
carlos@0
    98
          <td class="Popup_NavBar_Popup_title_cell"><span>Business Partner selector</a></td>
carlos@0
    99
          <td class="Popup_NavBar_separator_cell"></td>
carlos@0
   100
        </tr>
carlos@0
   101
      </table>
carlos@0
   102
    </td>
carlos@0
   103
  </tr>
carlos@0
   104
carlos@0
   105
  <tr>
carlos@0
   106
    <td>
carlos@0
   107
      <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_SeparatorBar">
carlos@0
   108
        <tr>
carlos@0
   109
          <td class="Popup_SeparatorBar_bg"></td>
carlos@0
   110
        </tr>
carlos@0
   111
      </table>
carlos@0
   112
    </td>
carlos@0
   113
  </tr>
carlos@0
   114
carlos@0
   115
carlos@0
   116
    <td>
asier@528
   117
      <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client">
carlos@0
   118
        <table cellspacing="0" cellpadding="0" class="Popup_Client_TableSelector">
carlos@0
   119
carlos@0
   120
          <tr>
carlos@0
   121
            <td class="TableEdition_OneCell_width"></td>
carlos@0
   122
            <td class="TableEdition_OneCell_width"></td>
carlos@0
   123
            <td class="TableEdition_OneCell_width"></td>
carlos@0
   124
            <td class="TableEdition_OneCell_width"></td>
carlos@0
   125
            <td class="TableEdition_OneCell_width"></td>
carlos@0
   126
            <td class="TableEdition_OneCell_width"></td>
carlos@0
   127
          </tr>
carlos@0
   128
carlos@0
   129
          <TR>
carlos@0
   130
          <TD colspan="6">
carlos@0
   131
            <TABLE class="FieldGroup" cellspacing="0" cellpadding="0" border="0">
carlos@0
   132
              <TR class="FieldGroup_TopMargin"></TR>
carlos@0
   133
              <TR>
carlos@0
   134
                <TD class="FieldGroupTitle_Left"><IMG class="FieldGroupTitle_Left_bg" border="0" src="../../../../../web/images/blank.gif"></IMG></TD>
carlos@0
   135
                <TD class="FieldGroupTitle">Primary Filters</TD>
carlos@0
   136
                <TD class="FieldGroupTitle_Right"><IMG class="FieldGroupTitle_Right_bg" border="0" src="../../../../../web/images/blank.gif"></IMG></TD>
carlos@0
   137
                <TD class="FieldGroupContent"></TD>
carlos@0
   138
carlos@0
   139
              </TR>
carlos@0
   140
              <TR class="FieldGroup_BottomMargin"></TR>
carlos@0
   141
            </TABLE>
carlos@0
   142
          </TD>
carlos@0
   143
          </TR>
carlos@0
   144
carlos@0
   145
  
carlos@0
   146
    <tr>
carlos@0
   147
      <TD class="TitleCell"><SPAN class="LabelText">Key</SPAN></TD>
carlos@0
   148
      <TD class="TextBox_ContentCell"><INPUT class="dojoValidateValid TextBox_OneCell_width" type="text" name="inpKey" value="" id="fieldKey"></INPUT></TD>
carlos@0
   149
      <td></td>
carlos@0
   150
      <TD class="TitleCell"><SPAN class="LabelText">Name</SPAN></TD>
carlos@0
   151
      <TD class="TextBox_ContentCell" colspan="2"><INPUT type="text" name="inpName" value="" id="fieldName" class="dojoValidateValid TextBox_TwoCells_width"></INPUT></TD>
carlos@0
   152
      <td></td>
carlos@0
   153
    </tr>
carlos@0
   154
carlos@0
   155
    <tr>
asier@528
   156
      <TD class="TitleCell"><SPAN class="LabelText">Contact</SPAN></TD>
carlos@0
   157
      <TD class="TextBox_ContentCell" colspan="2"><INPUT type="text" name="inpContact" class="dojoValidateValid TextBox_TwoCells_width"></INPUT></TD>
carlos@0
   158
asier@528
   159
      <TD class="TitleCell"><SPAN class="LabelText">City</SPAN></TD>
carlos@0
   160
      <TD class="TextBox_ContentCell" colspan="2"> <INPUT type="text" name="inpCity" class="dojoValidateValid TextBox_TwoCells_width"></INPUT></TD>
carlos@0
   161
    </tr>
carlos@0
   162
    
carlos@0
   163
    <tr>
asier@528
   164
      <TD class="TitleCell"><SPAN class="LabelText">Postal Code</SPAN></TD>
carlos@0
   165
      <TD class="TextBox_ContentCell"><INPUT class="dojoValidateValid TextBox_OneCell_width" type="text" name="inpZIP"></INPUT></TD>
carlos@0
   166
carlos@0
   167
      <td></td>
carlos@0
   168
asier@528
   169
      <TD class="TitleCell"><SPAN class="LabelText">Region</SPAN></TD>
carlos@0
   170
      <TD class="TextBox_ContentCell" colspan="2"><INPUT type="text" name="inpProvincia" class="dojoValidateValid TextBox_TwoCells_width"></INPUT> </TD>
carlos@0
   171
    </tr>
carlos@0
   172
      
carlos@0
   173
    <tr> 
asier@528
   174
     <TD class="TitleCell"><SPAN class="LabelText">Customer</SPAN></TD>
asier@528
   175
     <TD class="Radio_Check_ContentCell"><SPAN class="Radio_container_NOT_Focused"><INPUT type="radio" name="inpBpartner" value="costumer" id="fieldClientsSelect"></INPUT></SPAN></TD>
carlos@0
   176
asier@528
   177
     <TD class="TitleCell"><SPAN class="LabelText">Providers</SPAN></TD>
asier@528
   178
     <TD class="Radio_Check_ContentCell"><SPAN class="Radio_container_NOT_Focused"><INPUT type="radio" name="inpBpartner" value="vendor" id="fieldVendorsSelect"></INPUT></SPAN></TD>
carlos@0
   179
asier@528
   180
     <TD class="TitleCell"><SPAN class="LabelText">All</SPAN></TD>
asier@528
   181
     <TD class="Radio_Check_ContentCell"><SPAN class="Radio_container_NOT_Focused"><INPUT type="radio" name="inpBpartner" value="all" id="fieldAllSelect"></INPUT></SPAN></TD>
carlos@0
   182
    </tr>
carlos@0
   183
carlos@0
   184
    <tr>
carlos@0
   185
      <td></td>
carlos@0
   186
      <td class="Button_LeftAlign_ContentCell">
carlos@0
   187
        <div>
carlos@0
   188
          <a class="ButtonLink" href="#"
asier@528
   189
            onfocus="setWindowElementFocus(this); window.status='Search'; return true;"
asier@528
   190
            onblur="window.status=''; return true;"
carlos@0
   191
            onkeypress="this.className='ButtonLink_active'; return true;"
asier@528
   192
            onkeyup="this.className='ButtonLink_focus'; return true;"
david@628
   193
            onclick="submitCommandForm('FIND', true);return false;"
david@628
   194
            id="buttonSearch">
carlos@0
   195
            <table class="Button"
carlos@0
   196
              onmousedown="this.className='Button_active'; return true;"
carlos@0
   197
              onmouseup="this.className='Button'; return true;"
carlos@0
   198
              onmouseover="this.className='Button_hover'; window.status='Search'; return true;"
carlos@0
   199
              onmouseout="this.className='Button'; window.status=''; return true;">
carlos@0
   200
              <tr>
carlos@0
   201
                <td class="Button_left"><img class="Button_Icon Button_Icon_search" alt="Search" title="Search" src="../../../../../web/images/blank.gif" border=0/></td>
carlos@0
   202
                <td class="Button_text Button_width">Search</td>
carlos@0
   203
                <td class="Button_right"></td>
carlos@0
   204
              </tr>
carlos@0
   205
            </table>
carlos@0
   206
          </a>
carlos@0
   207
        </div>
carlos@0
   208
      </td>
carlos@0
   209
      <td></td>
carlos@0
   210
      <td></td>
carlos@0
   211
      <td></td>
carlos@0
   212
      <td></td>
carlos@0
   213
  </tr>
carlos@0
   214
</table>
carlos@0
   215
</FORM>
carlos@0
   216
</BODY>
carlos@0
   217
</HTML>