Skip to content

Commit

Permalink
NEW: Updated TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
atm-thomasb committed Sep 5, 2024
1 parent e9d5ff7 commit 1967817
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/compta/prelevement/class/bonprelevement.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1057,7 +1057,7 @@ public function create($banque = 0, $agence = 0, $mode = 'real', $format = 'ALL'
$sql .= " FROM " . MAIN_DB_PREFIX . "salary as f";
$sql .= " LEFT JOIN " . MAIN_DB_PREFIX . "prelevement_demande as pd ON f.rowid = pd.fk_salary";
$sql .= " LEFT JOIN " . MAIN_DB_PREFIX . "user as s ON s.rowid = f.fk_user";
$sql .= " LEFT JOIN " . MAIN_DB_PREFIX . "user_rib as sr ON s.rowid = sr.fk_user AND sr.default_rib = 1";
$sql .= " LEFT JOIN " . MAIN_DB_PREFIX . "user_rib as sr ON s.rowid = sr.fk_user"; // TODO Add AND sr.default_rib = 1 here. UPDATE 5 sep 2024: the column has been created in llx_user_rib and default to 0
}
if ($sourcetype != 'salary') {
if ($type != 'bank-transfer') {
Expand Down

0 comments on commit 1967817

Please sign in to comment.