/[dolibarr]/dolibarr/htdocs/fourn/facture/paiementfourn.class.php
ViewVC logotype

Diff of /dolibarr/htdocs/fourn/facture/paiementfourn.class.php

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

revision 1.19 by rodolphe, Sat Jul 30 09:57:31 2005 UTC revision 1.20 by rodolphe, Sat Jul 30 09:59:11 2005 UTC
# Line 64  class PaiementFourn Line 64  class PaiementFourn
64       */       */
65    
66      $this->amount = ereg_replace(",",".",$this->amount);      $this->amount = ereg_replace(",",".",$this->amount);
67        $this->amount = ereg_replace(" ","",$this->amount);
68            
69      $sql = "INSERT INTO ".MAIN_DB_PREFIX."paiementfourn (fk_facture_fourn, datec, datep, amount, fk_user_author, fk_paiement, num_paiement, note)";      $sql = "INSERT INTO ".MAIN_DB_PREFIX."paiementfourn (fk_facture_fourn, datec, datep, amount, fk_user_author, fk_paiement, num_paiement, note)";
70      $sql .= " VALUES ('$this->facid', now(), '$this->datepaye', '$this->amount', '$user->id', '$this->paiementid', '$this->num_paiement', '$this->note')";      $sql .= " VALUES ('$this->facid', now(), '$this->datepaye', '$this->amount', '$user->id', '$this->paiementid', '$this->num_paiement', '$this->note')";

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

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