src/org/openbravo/erpCommon/info/BusinessPartner_F1.html
changeset 528 7aa737db257f
parent 347 adf8b19cf2a8
child 628 492ad1a5c917
equal deleted inserted replaced
527:bedaea3fed99 528:7aa737db257f
    21 <TITLE>Business Partner selector</TITLE>
    21 <TITLE>Business Partner selector</TITLE>
    22 
    22 
    23 <LINK rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Popup/Popup.css" id="paramCSS"></LINK>
    23 <LINK rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Popup/Popup.css" id="paramCSS"></LINK>
    24 
    24 
    25       <script language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></script>
    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>
    26       <script language="JavaScript" src="../../../../../web/js/utils.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>
    27       <script language="JavaScript" src="../../../../../web/js/dojoConfig.js" type="text/javascript"></script>
    29       <script language="JavaScript" src="../../../../../web/js/dojoConfig.js" type="text/javascript"></script>
    28       <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
    30       <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
    29 
    31 
    30       <script type="text/javascript">
    32       <script type="text/javascript">
    31         dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
    33         dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
    33 
    35 
    34 
    36 
    35   <LINK rel="SHORTCUT ICON" href="../../../../../web/images/favicon.ico"></LINK> 
    37   <LINK rel="SHORTCUT ICON" href="../../../../../web/images/favicon.ico"></LINK> 
    36   <SCRIPT language="JavaScript" type="text/javascript" id="paramDirection">var baseDirection = "http://yourSite/web/";</SCRIPT>
    38   <SCRIPT language="JavaScript" type="text/javascript" id="paramDirection">var baseDirection = "http://yourSite/web/";</SCRIPT>
    37   <SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">	LNG_POR_DEFECTO = "en_US";</SCRIPT>
    39   <SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">	LNG_POR_DEFECTO = "en_US";</SCRIPT>
    38 <SCRIPT language="JavaScript" type="text/javascript">
    40 
    39 keyArray = new Array(
       
    40 new keyArrayItem("B", "submitCommandForm('FIND', false, null, null, 'medio');", null, "ctrlKey")
       
    41 );
       
    42 enableShortcuts();
       
    43 </SCRIPT>
       
    44 <SCRIPT language="JavaScript" type="text/javascript">
    41 <SCRIPT language="JavaScript" type="text/javascript">
    45 function depurar() {
    42 function depurar() {
    46 	var frm = document.frmSelector;
    43 	var frm = document.frmSelector;
    47 	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) {
    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) {
    48 		frm.inpKey.focus();
    45 		frm.inpKey.focus();
    49 		mensaje(7);
    46 		mensaje(7);
    50 		return false;
    47 		return false;
    51 	}
    48 	}
    52 	return true;
    49 	return true;
    53 }
    50 }
       
    51 
       
    52 function onloadFunctions(){
       
    53 	keyArray[keyArray.length] = new keyArrayItem("B", "submitCommandForm('FIND', false, null, null, 'medio');", null, "ctrlKey");
       
    54 }
    54 </SCRIPT>
    55 </SCRIPT>
       
    56 	<SCRIPT language="JavaScript" type="text/javascript">
       
    57 	function onLoadDo(){
       
    58 		this.windowTables = new Array(
       
    59 		  new windowTableId('client', 'superior'),
       
    60 		  new windowTableId('client', 'medio'),
       
    61 		  new windowTableId('client', 'inferior')
       
    62 		);
       
    63 		setWindowTableParentElement();
       
    64 		enableShortcuts('popup');
       
    65 		
       
    66 		try {
       
    67 		  onloadFunctions();
       
    68 		} catch (e) {}
       
    69 
       
    70 		setWindowElementFocus('firstElement');
       
    71 	}
       
    72 
       
    73 	function onResizeDo(){
       
    74 	}
       
    75 	</SCRIPT>
    55 </HEAD>
    76 </HEAD>
    56 
    77 
    57 
    78 
    58 <BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="setFocusFirstControl();" >
    79 <BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();">
    59 <FORM name="frmSelector" method="POST" action="BusinessPartner_F2.html" target="medio">
    80 <FORM name="frmSelector" method="POST" action="BusinessPartner_F2.html" target="medio">
    60   <INPUT type="hidden" name="Command">
    81   <INPUT type="hidden" name="Command">
    61 <INPUT type="hidden" name="IsPopUpCall" value="1"></INPUT>
    82 <INPUT type="hidden" name="IsPopUpCall" value="1"></INPUT>
    62 <div class="Popup_ContentPane_CircleLogo">
    83 <div class="Popup_ContentPane_CircleLogo">
    63   <div class="Popup_WindowLogo">
    84   <div class="Popup_WindowLogo">
    91     </td>
   112     </td>
    92   </tr>
   113   </tr>
    93 
   114 
    94 
   115 
    95     <td>
   116     <td>
    96       <div class="Popup_ContentPane_Client" style="overflow: auto;">
   117       <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client">
    97         <table cellspacing="0" cellpadding="0" class="Popup_Client_TableSelector">
   118         <table cellspacing="0" cellpadding="0" class="Popup_Client_TableSelector">
    98 
   119 
    99           <tr>
   120           <tr>
   100             <td class="TableEdition_OneCell_width"></td>
   121             <td class="TableEdition_OneCell_width"></td>
   101             <td class="TableEdition_OneCell_width"></td>
   122             <td class="TableEdition_OneCell_width"></td>
   130       <TD class="TextBox_ContentCell" colspan="2"><INPUT type="text" name="inpName" value="" id="fieldName" class="dojoValidateValid TextBox_TwoCells_width"></INPUT></TD>
   151       <TD class="TextBox_ContentCell" colspan="2"><INPUT type="text" name="inpName" value="" id="fieldName" class="dojoValidateValid TextBox_TwoCells_width"></INPUT></TD>
   131       <td></td>
   152       <td></td>
   132     </tr>
   153     </tr>
   133 
   154 
   134     <tr>
   155     <tr>
   135       <TD class="TitleCell"> <SPAN class="LabelText">Contact</SPAN></TD>
   156       <TD class="TitleCell"><SPAN class="LabelText">Contact</SPAN></TD>
   136       <TD class="TextBox_ContentCell" colspan="2"><INPUT type="text" name="inpContact" class="dojoValidateValid TextBox_TwoCells_width"></INPUT></TD>
   157       <TD class="TextBox_ContentCell" colspan="2"><INPUT type="text" name="inpContact" class="dojoValidateValid TextBox_TwoCells_width"></INPUT></TD>
   137 
   158 
   138       <TD class="TitleCell"> <SPAN class="LabelText">City</SPAN></TD>
   159       <TD class="TitleCell"><SPAN class="LabelText">City</SPAN></TD>
   139       <TD class="TextBox_ContentCell" colspan="2"> <INPUT type="text" name="inpCity" class="dojoValidateValid TextBox_TwoCells_width"></INPUT></TD>
   160       <TD class="TextBox_ContentCell" colspan="2"> <INPUT type="text" name="inpCity" class="dojoValidateValid TextBox_TwoCells_width"></INPUT></TD>
   140     </tr>
   161     </tr>
   141     
   162     
   142     <tr>
   163     <tr>
   143       <TD class="TitleCell"> <SPAN class="LabelText">Postal Code</SPAN></TD>
   164       <TD class="TitleCell"><SPAN class="LabelText">Postal Code</SPAN></TD>
   144       <TD class="TextBox_ContentCell"><INPUT class="dojoValidateValid TextBox_OneCell_width" type="text" name="inpZIP"></INPUT></TD>
   165       <TD class="TextBox_ContentCell"><INPUT class="dojoValidateValid TextBox_OneCell_width" type="text" name="inpZIP"></INPUT></TD>
   145 
   166 
   146       <td></td>
   167       <td></td>
   147 
   168 
   148       <TD class="TitleCell"> <SPAN class="LabelText">Region</SPAN></TD>
   169       <TD class="TitleCell"><SPAN class="LabelText">Region</SPAN></TD>
   149       <TD class="TextBox_ContentCell" colspan="2"><INPUT type="text" name="inpProvincia" class="dojoValidateValid TextBox_TwoCells_width"></INPUT> </TD>
   170       <TD class="TextBox_ContentCell" colspan="2"><INPUT type="text" name="inpProvincia" class="dojoValidateValid TextBox_TwoCells_width"></INPUT> </TD>
   150     </tr>
   171     </tr>
   151       
   172       
   152     <tr> 
   173     <tr> 
   153      <TD class="TitleCell"> <SPAN class="LabelText">Customer</SPAN></TD>
   174      <TD class="TitleCell"><SPAN class="LabelText">Customer</SPAN></TD>
   154      <TD class="Radio_Check_ContentCell"> <INPUT type="radio" name="inpBpartner" value="costumer" id="fieldClientsSelect"></INPUT></TD>
   175      <TD class="Radio_Check_ContentCell"><SPAN class="Radio_container_NOT_Focused"><INPUT type="radio" name="inpBpartner" value="costumer" id="fieldClientsSelect"></INPUT></SPAN></TD>
   155 
   176 
   156      <TD class="TitleCell"> <SPAN class="LabelText">Providers</SPAN></TD>
   177      <TD class="TitleCell"><SPAN class="LabelText">Providers</SPAN></TD>
   157      <TD class="Radio_Check_ContentCell"> <INPUT type="radio" name="inpBpartner" value="vendor" id="fieldVendorsSelect"></INPUT></TD>
   178      <TD class="Radio_Check_ContentCell"><SPAN class="Radio_container_NOT_Focused"><INPUT type="radio" name="inpBpartner" value="vendor" id="fieldVendorsSelect"></INPUT></SPAN></TD>
   158 
   179 
   159      <TD class="TitleCell"> <SPAN class="LabelText">All</SPAN></TD>
   180      <TD class="TitleCell"><SPAN class="LabelText">All</SPAN></TD>
   160      <TD class="Radio_Check_ContentCell"> <INPUT type="radio" name="inpBpartner" value="all" id="fieldAllSelect"></INPUT></TD>
   181      <TD class="Radio_Check_ContentCell"><SPAN class="Radio_container_NOT_Focused"><INPUT type="radio" name="inpBpartner" value="all" id="fieldAllSelect"></INPUT></SPAN></TD>
   161     </tr>
   182     </tr>
   162 
   183 
   163     <tr>
   184     <tr>
   164       <td></td>
   185       <td></td>
   165       <td class="Button_LeftAlign_ContentCell">
   186       <td class="Button_LeftAlign_ContentCell">
   166         <div>
   187         <div>
   167           <a class="ButtonLink" href="#"
   188           <a class="ButtonLink" href="#"
   168             onfocus="this.className='ButtonLink_hover'; window.status='Search'; return true;"
   189             onfocus="setWindowElementFocus(this); window.status='Search'; return true;"
   169             onblur="this.className='ButtonLink'; window.status=''; return true;"
   190             onblur="window.status=''; return true;"
   170             onkeypress="this.className='ButtonLink_active'; return true;"
   191             onkeypress="this.className='ButtonLink_active'; return true;"
   171             onkeyup="this.className='ButtonLink_hover'; return true;"
   192             onkeyup="this.className='ButtonLink_focus'; return true;"
   172             onclick="submitCommandForm('FIND', true);return false;">
   193             onclick="submitCommandForm('FIND', true);return false;">
   173             <table class="Button"
   194             <table class="Button"
   174               onmousedown="this.className='Button_active'; return true;"
   195               onmousedown="this.className='Button_active'; return true;"
   175               onmouseup="this.className='Button'; return true;"
   196               onmouseup="this.className='Button'; return true;"
   176               onmouseover="this.className='Button_hover'; window.status='Search'; return true;"
   197               onmouseover="this.className='Button_hover'; window.status='Search'; return true;"