src/org/openbravo/erpCommon/ad_reports/ReportCash.html
changeset 1028 8b85368639cc
parent 961 e244d7005cd9
child 1044 8691bbc94032
equal deleted inserted replaced
1027:2e9052d7de0e 1028:8b85368639cc
    54 <SCRIPT language="JavaScript" type="text/javascript">
    54 <SCRIPT language="JavaScript" type="text/javascript">
    55 
    55 
    56 function depurar(action, Formulario, valor) {
    56 function depurar(action, Formulario, valor) {
    57   var frm=document.frmMain;
    57   var frm=document.frmMain;
    58   if (frm.inpDateFrom.value!=null && frm.inpDateFrom.value!="" && !validateDate(frm.inpDateFrom.value)) {
    58   if (frm.inpDateFrom.value!=null && frm.inpDateFrom.value!="" && !validateDate(frm.inpDateFrom.value)) {
    59       frm.inpDateFrom.focus();
    59       setWindowElementFocus(frm.inpDateFrom);
    60       frm.inpDateFrom.select();
    60       frm.inpDateFrom.select();
    61       return false;
    61       return false;
    62     }
    62     }
    63   if (frm.inpDateTo.value!=null && frm.inpDateTo.value!="" && !validateDate(frm.inpDateTo.value)) {
    63   if (frm.inpDateTo.value!=null && frm.inpDateTo.value!="" && !validateDate(frm.inpDateTo.value)) {
    64       frm.inpDateTo.focus();
    64       setWindowElementFocus(frm.inpDateTo);
    65       frm.inpDateTo.select();
    65       frm.inpDateTo.select();
    66       return false;
    66       return false;
    67     }
    67     }
    68   return true;
    68   return true;
    69 }
    69 }