Fix: type was not loaded
This commit is contained in:
parent
8cb8c90910
commit
660ffdfea5
@ -165,7 +165,7 @@ $offset = $limit * $page ;
|
||||
$sql = "SELECT s.nom, s.rowid as socid";
|
||||
$sql.= ", f.facnumber,f.increment,f.total as total_ht,f.total_ttc";
|
||||
$sql.= ", f.datef as df, f.date_lim_reglement as datelimite";
|
||||
$sql.= ", f.paye as paye, f.rowid as facid, f.fk_statut";
|
||||
$sql.= ", f.paye as paye, f.rowid as facid, f.fk_statut, f.type";
|
||||
$sql.= ", sum(pf.amount) as am";
|
||||
if (! $user->rights->societe->client->voir && ! $socid) $sql .= ", sc.fk_soc, sc.fk_user ";
|
||||
$sql.= " FROM ".MAIN_DB_PREFIX."societe as s";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user