Gestion du champ domiciliation

This commit is contained in:
Rodolphe Quiedeville 2003-04-13 18:31:52 +00:00
parent 0919088693
commit ae103a2d0a

View File

@ -85,6 +85,7 @@ class Account {
$sql .= ",number='".$this->number."'"; $sql .= ",number='".$this->number."'";
$sql .= ",cle_rib='".$this->cle_rib."'"; $sql .= ",cle_rib='".$this->cle_rib."'";
$sql .= ",bic='".$this->bic."'"; $sql .= ",bic='".$this->bic."'";
$sql .= ",domiciliation='".$this->domiciliation."'";
$sql .= ",courant = ".$this->courant; $sql .= ",courant = ".$this->courant;
$sql .= ",clos = ".$this->clos; $sql .= ",clos = ".$this->clos;
$sql .= ",iban_prefix = '".$this->iban_prefix."'"; $sql .= ",iban_prefix = '".$this->iban_prefix."'";
@ -113,7 +114,7 @@ class Account {
Function fetch($id) Function fetch($id)
{ {
$this->id = $id; $this->id = $id;
$sql = "SELECT rowid, label, bank, number, courant, clos, code_banque,code_guichet,cle_rib,bic,iban_prefix FROM llx_bank_account"; $sql = "SELECT rowid, label, bank, number, courant, clos, code_banque,code_guichet,cle_rib,bic,iban_prefix,domiciliation FROM llx_bank_account";
$sql .= " WHERE rowid = ".$id; $sql .= " WHERE rowid = ".$id;
$result = $this->db->query($sql); $result = $this->db->query($sql);
@ -133,6 +134,7 @@ class Account {
$this->number = $obj->number; $this->number = $obj->number;
$this->cle_rib = $obj->cle_rib; $this->cle_rib = $obj->cle_rib;
$this->bic = $obj->bic; $this->bic = $obj->bic;
$this->domiciliation = $obj->domiciliation;
$this->iban_prefix = $obj->iban_prefix; $this->iban_prefix = $obj->iban_prefix;
} }
$this->db->free(); $this->db->free();