src/org/openbravo/erpCommon/ad_reports/ReportProductionRunJR.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()
    54 function depurar()
    55 {
    55 {
    56 	var frm = document.frmMain;
    56 	var frm = document.frmMain;
    57 	if (frm.inpLaunchDateFrom.value == null || frm.inpLaunchDateFrom.value == "") {
    57 	if (frm.inpLaunchDateFrom.value == null || frm.inpLaunchDateFrom.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.inpLaunchDateTo.value == null || frm.inpLaunchDateTo.value == ""){
    61 	} else if (frm.inpLaunchDateTo.value == null || frm.inpLaunchDateTo.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 (frm.inpStartDateFrom.value == null || frm.inpStartDateFrom.value == "") {
    66 	if (frm.inpStartDateFrom.value == null || frm.inpStartDateFrom.value == "") {
    67 		frm.inpDateFrom.focus();
    67 		setWindowElementFocus(frm.inpDateFrom);
    68 		mensaje(7);
    68 		mensaje(7);
    69 		return false;
    69 		return false;
    70 	} else if (frm.inpStartDateTo.value == null || frm.inpStartDateTo.value == ""){
    70 	} else if (frm.inpStartDateTo.value == null || frm.inpStartDateTo.value == ""){
    71 		frm.inpDateTo.focus();
    71 		setWindowElementFocus(frm.inpDateTo);
    72 		mensaje(7);
    72 		mensaje(7);
    73 		return false;
    73 		return false;
    74 	}
    74 	}
    75 	if (frm.inpEndDateFrom.value == null || frm.inpEndDateFrom.value == "") {
    75 	if (frm.inpEndDateFrom.value == null || frm.inpEndDateFrom.value == "") {
    76 		frm.inpDateFrom.focus();
    76 		setWindowElementFocus(frm.inpDateFrom);
    77 		mensaje(7);
    77 		mensaje(7);
    78 		return false;
    78 		return false;
    79 	} else if (frm.inpEndDateTo.value == null || frm.inpEndDateTo.value == ""){
    79 	} else if (frm.inpEndDateTo.value == null || frm.inpEndDateTo.value == ""){
    80 		frm.inpDateTo.focus();
    80 		setWindowElementFocus(frm.inpDateTo);
    81 		mensaje(7);
    81 		mensaje(7);
    82 		return false;
    82 		return false;
    83 	}
    83 	}
    84 	return true;
    84 	return true;
    85 }
    85 }