src/org/openbravo/erpCommon/ad_reports/ReportInvoiceCustomerDimensionalAnalysesFilter.html
changeset 1028 8b85368639cc
parent 961 e244d7005cd9
child 1044 8691bbc94032
equal deleted inserted replaced
1027:2e9052d7de0e 1028:8b85368639cc
    61 
    61 
    62 function depurar(action)
    62 function depurar(action)
    63 {
    63 {
    64 	var frm = document.frmMain;
    64 	var frm = document.frmMain;
    65 	if (frm.inpDateFrom.value == null || frm.inpDateFrom.value == "") {
    65 	if (frm.inpDateFrom.value == null || frm.inpDateFrom.value == "") {
    66 		frm.inpDateFrom.focus();
    66 		setWindowElementFocus(frm.inpDateFrom);
    67 		mensaje(7);
    67 		mensaje(7);
    68 		return false;
    68 		return false;
    69 	} else if (frm.inpDateTo.value == null || frm.inpDateTo.value == ""){
    69 	} else if (frm.inpDateTo.value == null || frm.inpDateTo.value == ""){
    70 		frm.inpDateTo.focus();
    70 		setWindowElementFocus(frm.inpDateTo);
    71 		mensaje(7);
    71 		mensaje(7);
    72 		return false;
    72 		return false;
    73 	}
    73 	}
    74 	if (action == "EDIT_HTML_COMPARATIVE" || action == "EDIT_PDF_COMPARATIVE") {
    74 	if (action == "EDIT_HTML_COMPARATIVE" || action == "EDIT_PDF_COMPARATIVE") {
    75 		if (frm.inpDateFromRef.value == null || frm.inpDateFromRef.value == "") {
    75 		if (frm.inpDateFromRef.value == null || frm.inpDateFromRef.value == "") {
    76 			frm.inpDateFromRef.focus();
    76 			setWindowElementFocus(frm.inpDateFromRef);
    77 			mensaje(7);
    77 			mensaje(7);
    78 			return false;
    78 			return false;
    79 		} else if (frm.inpDateToRef.value == null || frm.inpDateToRef.value == ""){
    79 		} else if (frm.inpDateToRef.value == null || frm.inpDateToRef.value == ""){
    80 			frm.inpDateToRef.focus();
    80 			setWindowElementFocus(frm.inpDateToRef);
    81 			mensaje(7);
    81 			mensaje(7);
    82 			return false;
    82 			return false;
    83 		}
    83 		}
    84 	}
    84 	}
    85 	seleccionarListCompleto(frm.inpmProductId_IN);
    85 	seleccionarListCompleto(frm.inpmProductId_IN);