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