Gestion du champs clos
This commit is contained in:
parent
d2b886fb65
commit
61dc1e1de2
@ -1,5 +1,5 @@
|
|||||||
<?PHP
|
<?PHP
|
||||||
/* Copyright (C) 2001-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
/* Copyright (C) 2001-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -24,9 +24,8 @@ class Account {
|
|||||||
|
|
||||||
var $bank;
|
var $bank;
|
||||||
var $label;
|
var $label;
|
||||||
|
|
||||||
var $courant;
|
var $courant;
|
||||||
|
var $clos;
|
||||||
var $code_banque;
|
var $code_banque;
|
||||||
var $code_guichet;
|
var $code_guichet;
|
||||||
var $number;
|
var $number;
|
||||||
@ -85,6 +84,7 @@ class Account {
|
|||||||
$sql .= ",cle_rib='".$this->cle_rib."'";
|
$sql .= ",cle_rib='".$this->cle_rib."'";
|
||||||
$sql .= ",bic='".$this->bic."'";
|
$sql .= ",bic='".$this->bic."'";
|
||||||
$sql .= ",courant = ".$this->courant;
|
$sql .= ",courant = ".$this->courant;
|
||||||
|
$sql .= ",clos = ".$this->clos;
|
||||||
|
|
||||||
$sql .= " WHERE rowid = $this->id";
|
$sql .= " WHERE rowid = $this->id";
|
||||||
|
|
||||||
@ -109,7 +109,7 @@ class Account {
|
|||||||
Function fetch($id)
|
Function fetch($id)
|
||||||
{
|
{
|
||||||
$this->id = $id;
|
$this->id = $id;
|
||||||
$sql = "SELECT rowid, label, bank, number, courant, code_banque,code_guichet,cle_rib FROM llx_bank_account";
|
$sql = "SELECT rowid, label, bank, number, courant, clos, code_banque,code_guichet,cle_rib FROM llx_bank_account";
|
||||||
$sql .= " WHERE rowid = ".$id;
|
$sql .= " WHERE rowid = ".$id;
|
||||||
|
|
||||||
$result = $this->db->query($sql);
|
$result = $this->db->query($sql);
|
||||||
@ -123,7 +123,7 @@ class Account {
|
|||||||
$this->bank = $obj->bank;
|
$this->bank = $obj->bank;
|
||||||
$this->label = $obj->label;
|
$this->label = $obj->label;
|
||||||
$this->courant = $obj->courant;
|
$this->courant = $obj->courant;
|
||||||
|
$this->clos = $obj->clos;
|
||||||
$this->code_banque = $obj->code_banque;
|
$this->code_banque = $obj->code_banque;
|
||||||
$this->code_guichet = $obj->code_guichet;
|
$this->code_guichet = $obj->code_guichet;
|
||||||
$this->number = $obj->number;
|
$this->number = $obj->number;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user