Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
This commit is contained in:
commit
fb5497f3d6
@ -1445,7 +1445,7 @@ else if ($id > 0 || ! empty($ref))
|
||||
$sql.= ' WHERE ft.fk_fichinter = '.$object->id;
|
||||
if (!empty($conf->global->FICHINTER_HIDE_EMPTY_DURATION))
|
||||
$sql.= ' AND ft.duree <> 0';
|
||||
$sql.= ' ORDER BY ft.rang ASC, ft.rowid';
|
||||
$sql.= ' ORDER BY ft.rang ASC, ft.date ASC, ft.rowid';
|
||||
|
||||
$resql = $db->query($sql);
|
||||
if ($resql)
|
||||
|
||||
@ -981,7 +981,7 @@ class Fichinter extends CommonObject
|
||||
{
|
||||
$sql = 'SELECT rowid, description, duree, date, rang';
|
||||
$sql.= ' FROM '.MAIN_DB_PREFIX.'fichinterdet';
|
||||
$sql.=' WHERE fk_fichinter = '.$this->id .' ORDER BY rang ASC' ;
|
||||
$sql.=' WHERE fk_fichinter = '.$this->id .' ORDER BY rang ASC, date ASC' ;
|
||||
|
||||
dol_syslog(get_class($this)."::fetch_lines", LOG_DEBUG);
|
||||
$resql=$this->db->query($sql);
|
||||
|
||||
@ -362,7 +362,7 @@ CREATE TABLE llx_c_accounting_category (
|
||||
) ENGINE=innodb;
|
||||
|
||||
ALTER TABLE llx_c_accounting_category ADD UNIQUE INDEX uk_c_accounting_category(code);
|
||||
|
||||
UPDATE llx_accounting_account SET account_parent = '0' WHERE account_parent = '';
|
||||
ALTER TABLE llx_accounting_account MODIFY COLUMN account_parent integer;
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user