Merged revisions 3015-3016 via svnmerge from

svn+ssh://danydb@svn/svn/phpcompta/branches/rel500

........
  r3015 | danydb | 2010-04-16 12:25:57 +0200 (Fri, 16 Apr 2010) | 5 lines
  
  Quick_writing
  =============
  
  Limit the operation to the ODS ledger and no longer to any ledgers
........
  r3016 | danydb | 2010-04-16 12:36:14 +0200 (Fri, 16 Apr 2010) | 8 lines
  
  TVA_IPOPUP
  ==========
  Add a new widget to let user select a VAT into a POPUP
  Add javascript to set the label and tva_id
  Check if TVA is valid (compute.php, acc_ledger.php)
........
This commit is contained in:
Dany De Bontridder 2010-04-16 10:38:27 +00:00
parent e3eb3d7434
commit 9ac52c4ce6
8 changed files with 117 additions and 16 deletions

View file

@ -586,6 +586,7 @@ Array
// Verify if the rate exists, if not then do not update
if ( strlen(trim($value)) != 0 )
{
if ( isNumber($value) == 0 ) continue;
if ( $this->cn->count_sql("select * from tva_rate where tva_id=".$value) == 0)
{
echo_debug("class_fiche",__LINE__,"Tva invalide $value");