Fix: [ bug #1177 ] Error on create domiciliation

This commit is contained in:
Laurent Destailleur 2013-12-14 15:35:13 +01:00
parent 5a4b5dcc26
commit 4248431dc9

View File

@ -2908,7 +2908,7 @@ class Facture extends CommonInvoice
$sql .= ' (fk_facture, amount, date_demande, fk_user_demande, code_banque, code_guichet, number, cle_rib)';
$sql .= ' VALUES ('.$this->id;
$sql .= ",'".price2num($resteapayer)."'";
$sql .= ",'".$this->db->idate($now)."',";
$sql .= ",'".$this->db->idate($now)."'";
$sql .= ",".$user->id;
$sql .= ",'".$bac->code_banque."'";
$sql .= ",'".$bac->code_guichet."'";