src/org/openbravo/erpCommon/ad_reports/ReportSalesDimensionalAnalyzeJRFilter.html
changeset 1028 8b85368639cc
parent 961 e244d7005cd9
child 1044 8691bbc94032
equal deleted inserted replaced
1027:2e9052d7de0e 1028:8b85368639cc
    51 <SCRIPT language="JavaScript" type="text/javascript"> 
    51 <SCRIPT language="JavaScript" type="text/javascript"> 
    52 function depurar(action)
    52 function depurar(action)
    53 {
    53 {
    54 	var frm = document.frmMain;
    54 	var frm = document.frmMain;
    55 	if (frm.inpDateFrom.value == null || frm.inpDateFrom.value == "") {
    55 	if (frm.inpDateFrom.value == null || frm.inpDateFrom.value == "") {
    56 		frm.inpDateFrom.focus();
    56 		setWindowElementFocus(frm.inpDateFrom);
    57 		mensaje(7);
    57 		mensaje(7);
    58 		return false;
    58 		return false;
    59 	} else if (frm.inpDateTo.value == null || frm.inpDateTo.value == ""){
    59 	} else if (frm.inpDateTo.value == null || frm.inpDateTo.value == ""){
    60 		frm.inpDateTo.focus();
    60 		setWindowElementFocus(frm.inpDateTo);
    61 		mensaje(7);
    61 		mensaje(7);
    62 		return false;
    62 		return false;
    63 	}
    63 	}
    64 	if (action == "EDIT_HTML_COMPARATIVE" || action == "EDIT_PDF_COMPARATIVE") {
    64 	if (action == "EDIT_HTML_COMPARATIVE" || action == "EDIT_PDF_COMPARATIVE") {
    65 		if (frm.inpDateFromRef.value == null || frm.inpDateFromRef.value == "") {
    65 		if (frm.inpDateFromRef.value == null || frm.inpDateFromRef.value == "") {
    66 			frm.inpDateFromRef.focus();
    66 			setWindowElementFocus(frm.inpDateFromRef);
    67 			mensaje(7);
    67 			mensaje(7);
    68 			return false;
    68 			return false;
    69 		} else if (frm.inpDateToRef.value == null || frm.inpDateToRef.value == ""){
    69 		} else if (frm.inpDateToRef.value == null || frm.inpDateToRef.value == ""){
    70 			frm.inpDateToRef.focus();
    70 			setWindowElementFocus(frm.inpDateToRef);
    71 			mensaje(7);
    71 			mensaje(7);
    72 			return false;
    72 			return false;
    73 		}
    73 		}
    74 	}
    74 	}
    75 	seleccionarListCompleto(frm.inpmProductId_IN);
    75 	seleccionarListCompleto(frm.inpmProductId_IN);