This commit is contained in:
Laurent Destailleur 2018-02-08 12:41:31 +01:00
parent 906a9eaa5a
commit a26bb2d884

View File

@ -1169,6 +1169,8 @@ class Fichinter extends CommonObject
*/
function fetch_lines()
{
$this->lines = array();
$sql = 'SELECT rowid, description, duree, date, rang';
$sql.= ' FROM '.MAIN_DB_PREFIX.'fichinterdet';
$sql.=' WHERE fk_fichinter = '.$this->id .' ORDER BY rang ASC, date ASC' ;