Skip to content

Commit

Permalink
sells do not need to be paid completely to be included in the cash co…
Browse files Browse the repository at this point in the history
…ntrol (#31727)

Co-authored-by: abb <[email protected]>
  • Loading branch information
bafbes and abb authored Nov 12, 2024
1 parent 3bd2aa1 commit 4b807e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/compta/cashcontrol/report.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
$sql .= " WHERE pf.fk_facture = f.rowid AND p.rowid = pf.fk_paiement AND cp.id = p.fk_paiement AND p.fk_bank = b.rowid";
$sql .= " AND f.module_source = '".$db->escape($posmodule)."'";
$sql .= " AND f.pos_source = '".$db->escape($terminalid)."'";
$sql .= " AND f.paye = 1";
//$sql .= " AND f.paye = 1";
$sql .= " AND p.entity = ".$conf->entity; // Never share entities for features related to accountancy
/*if ($key == 'cash') $sql.=" AND cp.code = 'LIQ'";
elseif ($key == 'cheque') $sql.=" AND cp.code = 'CHQ'";
Expand Down

0 comments on commit 4b807e2

Please sign in to comment.