Add information on bank payment tab
Need fk_user_modif and dater in 6.0
This commit is contained in:
parent
2dda1d7c74
commit
14ce1bf3a6
@ -1931,7 +1931,7 @@ class AccountLine extends CommonObject
|
||||
*/
|
||||
function info($id)
|
||||
{
|
||||
$sql = 'SELECT b.rowid, b.datec,';
|
||||
$sql = 'SELECT b.rowid, b.datec, b.tms as datem,';
|
||||
$sql.= ' b.fk_user_author, b.fk_user_rappro';
|
||||
$sql.= ' FROM '.MAIN_DB_PREFIX.'bank as b';
|
||||
$sql.= ' WHERE b.rowid = '.$id;
|
||||
@ -1958,6 +1958,7 @@ class AccountLine extends CommonObject
|
||||
}
|
||||
|
||||
$this->date_creation = $this->db->jdate($obj->datec);
|
||||
$this->date_modification = $this->db->jdate($obj->datem);
|
||||
//$this->date_rappro = $obj->daterappro; // Not yet managed
|
||||
}
|
||||
$this->db->free($result);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user