/[phpcompta]/phpcompta/include/form_input.php
ViewVC logotype

Diff of /phpcompta/include/form_input.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.49 by stanpinte, Sat Jul 9 16:31:58 2005 UTC revision 1.50 by stanpinte, Sat Jul 9 16:43:49 2005 UTC
# Line 1472  function FormODS($p_cn,$p_jrn,$p_user,$p Line 1472  function FormODS($p_cn,$p_jrn,$p_user,$p
1472        return null;        return null;
1473      else      else
1474        $e_date=substr($l_date_start,2,8);        $e_date=substr($l_date_start,2,8);
1475    }    }    
1476      
1477    $e_ech=(isset($e_ech))?$e_ech:"";    $e_ech=(isset($e_ech))?$e_ech:"";
1478    $e_comment=(isset($e_comment))?$e_comment:"";    $e_comment=(isset($e_comment))?$e_comment:"";
1479    // Save old value and set a new one    // Save old value and set a new one
# Line 1600  function FormODS($p_cn,$p_jrn,$p_user,$p Line 1600  function FormODS($p_cn,$p_jrn,$p_user,$p
1600      echo "<script> alert('$msg'); </script>";      echo "<script> alert('$msg'); </script>";
1601      return null;      return null;
1602    }    }
1603    
1604      // Verify that we have a non-null operation
1605      if ($view_only==true and $sum_cred == 0)
1606      {
1607        $msg=sprintf("Montant null");
1608        echo "<script> alert('$msg'); </script>";
1609        return null;
1610      }
1611      
1612    return $r;    return $r;
1613    
1614    

Legend:
Removed from v.1.49  
changed lines
  Added in v.1.50

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26