* Fix #33446 * Update html.form.class.php --------- Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
parent
a85ff77e27
commit
e4c0ff5e83
1 changed files with 1 additions and 1 deletions
|
|
@ -9822,7 +9822,7 @@ class Form
|
|||
'enabled' => isModEnabled('invoice'),
|
||||
'perms' => 1,
|
||||
'label' => 'LinkToTemplateInvoice',
|
||||
'sql' => "SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM " . $this->db->prefix() . "societe as s, " . $this->db->prefix() . "facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (" . $this->db->sanitize($listofidcompanytoscan) . ') AND t.entity IN (' . getEntity('invoice') . ')'.($dontIncludeCompletedItems ? ' AND t.paye < 1' : ''),
|
||||
'sql' => "SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM " . $this->db->prefix() . "societe as s, " . $this->db->prefix() . "facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (" . $this->db->sanitize($listofidcompanytoscan) . ') AND t.entity IN (' . getEntity('invoice') . ')',
|
||||
),
|
||||
'contrat' => array(
|
||||
'enabled' => isModEnabled('contract'),
|
||||
|
|
|
|||
Loading…
Reference in a new issue