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