src/org/openbravo/erpCommon/ad_reports/GenerateModel347.html
changeset 1028 8b85368639cc
parent 961 e244d7005cd9
child 1044 8691bbc94032
equal deleted inserted replaced
1027:2e9052d7de0e 1028:8b85368639cc
    52 </script> 
    52 </script> 
    53 <SCRIPT language="JavaScript" type="text/javascript">
    53 <SCRIPT language="JavaScript" type="text/javascript">
    54 function depurar()
    54 function depurar()
    55 {
    55 {
    56 	if(document.forms[0].inpDateFrom.value==null || document.forms[0].inpDateTo.value==null || document.forms[0].inpDateFrom.value=="" || document.forms[0].inpDateTo.value==""){
    56 	if(document.forms[0].inpDateFrom.value==null || document.forms[0].inpDateTo.value==null || document.forms[0].inpDateFrom.value=="" || document.forms[0].inpDateTo.value==""){
    57 			document.forms[0].inpDateFrom.focus();
    57 			setWindowElementFocus(document.forms[0].inpDateFrom);
    58 			mensaje(7);
    58 			mensaje(7);
    59 			return false;
    59 			return false;
    60 	} 
    60 	} 
    61 	if (document.forms[0].inpReportType=="Sustitutive"){
    61 	if (document.forms[0].inpReportType=="Sustitutive"){
    62 		if (document.forms[0].inpComplementar==null || document.forms[0].inpComplementar==""){
    62 		if (document.forms[0].inpComplementar==null || document.forms[0].inpComplementar==""){
    63 			document.forms[0].inpComplementar.focus();
    63 			setWindowElementFocus(document.forms[0].inpComplementar);
    64 			mensaje(7);
    64 			mensaje(7);
    65 			return false;
    65 			return false;
    66 		}
    66 		}
    67 	}
    67 	}
    68 	return true;
    68 	return true;