Skip to content

Commit

Permalink
Filter on invoice for "treso"
Browse files Browse the repository at this point in the history
  • Loading branch information
frederic34 committed Jul 8, 2014
1 parent 0cb5220 commit a2911ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions htdocs/compta/bank/treso.php
Expand Up @@ -161,6 +161,7 @@
$sql.= " LEFT JOIN ".MAIN_DB_PREFIX."societe as s ON f.fk_soc = s.rowid";
$sql.= " WHERE f.entity = ".$conf->entity;
$sql.= " AND f.paye = 0 AND f.fk_statut = 1"; // Not paid
$sql.= " AND f.fk_account IN (NULL, 0, ".$acct->id.")"; // Id bank account od invoice
$sql.= " ORDER BY dlr ASC";

// Supplier invoices
Expand Down

0 comments on commit a2911ce

Please sign in to comment.