src/org/openbravo/erpCommon/ad_forms/GenerateInvoicesmanual.html
changeset 689 a9f6becc7901
parent 628 492ad1a5c917
child 726 dac2a1486bd3
equal deleted inserted replaced
688:2102dcd83ee2 689:a9f6becc7901
    34   var LNG_POR_DEFECTO = "en_US";
    34   var LNG_POR_DEFECTO = "en_US";
    35 </script>
    35 </script>
    36 <script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
    36 <script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
    37 <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
    37 <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
    38 <script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
    38 <script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
       
    39 <script language="JavaScript" src="../../../../../web/js/appStatus.js" type="text/javascript"></script>
    39 <SCRIPT language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></SCRIPT>
    40 <SCRIPT language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></SCRIPT>
    40 <SCRIPT language="JavaScript" src="../../../../../web/js/jscalendar/calendar.js" type="text/javascript"></SCRIPT>
    41 <SCRIPT language="JavaScript" src="../../../../../web/js/jscalendar/calendar.js" type="text/javascript"></SCRIPT>
    41 <SCRIPT language="JavaScript" src="../../../../../web/js/jscalendar/lang/calendar-es.js" type="text/javascript" id="fieldCalendar"></SCRIPT>
    42 <SCRIPT language="JavaScript" src="../../../../../web/js/jscalendar/lang/calendar-es.js" type="text/javascript" id="fieldCalendar"></SCRIPT>
    42 <script language="JavaScript" src="../../../../../web/js/default/DateTextBox.js" type="text/javascript"></script>
    43 <script language="JavaScript" src="../../../../../web/js/default/DateTextBox.js" type="text/javascript"></script>
    43 <SCRIPT language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></SCRIPT>
    44 <SCRIPT language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></SCRIPT>
    54 </script> 
    55 </script> 
    55 <SCRIPT language="JavaScript" type="text/javascript">
    56 <SCRIPT language="JavaScript" type="text/javascript">
    56 
    57 
    57 function depurar(action) {
    58 function depurar(action) {
    58   var frm=document.frmMain;
    59   var frm=document.frmMain;
    59   	if (action=="GENERATE") {
    60   if (action=="GENERATE") {
    60 			if (radioValue(frm.inpOrder)==null) {
    61     if (radioValue(frm.inpOrder)==null) {
    61 			mensaje(1);
    62     mensaje(1);
    62 			return false;
    63     return false;
    63 			} 
    64     }
    64 	} else if (action=="FIND") {
    65     setProcessingMode('window',true);
    65 			if (frm.inpadOrgId.value==null || frm.inpadOrgId.value=="") {
    66   } else if (action=="FIND") {
    66 			frm.inpadOrgId.focus();
    67     if (frm.inpadOrgId.value==null || frm.inpadOrgId.value=="") {
    67 			mensaje(7);
    68     frm.inpadOrgId.focus();
    68 			return false;
    69     mensaje(7);
    69 			}
    70     return false;
    70 	}
    71     }
       
    72   }
    71   return true;
    73   return true;
    72 }
    74 }
    73 
    75 
    74 function onloadFunctions() {
    76 function onloadFunctions() {
    75 	new TypeAheadCombo("inpadOrgId");
    77 	new TypeAheadCombo("inpadOrgId");
    76 }
    78 }
    77 </SCRIPT>
    79 </SCRIPT>
    78 	<SCRIPT language="JavaScript" type="text/javascript">
    80 	<SCRIPT language="JavaScript" type="text/javascript">
    79 	function onLoadDo(){
    81 	
    80 		this.windowTables = new Array(
    82   function onLoadDo(){
       
    83 		setProcessingMode('window', false); this.windowTables = new Array(
    81 		  new windowTableId('client', null, 'buttonSearch'),
    84 		  new windowTableId('client', null, 'buttonSearch'),
    82 		  new windowTableId('tdbottomButtons', null, 'buttonProcess')
    85 		  new windowTableId('tdbottomButtons', null, 'buttonProcess')
    83 		);
    86 		);
    84 		setWindowTableParentElement();
    87 		setWindowTableParentElement();
    85 		this.tabsTables = new Array(
    88 		this.tabsTables = new Array(