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