Merge branch '12.0_new_payments_on_vat' of github.com:atm-gauthier/dolibarr into NEW/add_real_payments_on_vat_objects

This commit is contained in:
Gauthier PC portable 024 2021-01-19 17:21:49 +01:00
commit 97d564afb6

View File

@ -148,7 +148,7 @@ if (!empty($search_account) && $search_account > 0) $sql .= ' AND b.fk_account='
if (!empty($search_amount)) $sql .= natural_search('t.amount', price2num(trim($search_amount)), 1);
if ($search_status != '' && $search_status >= 0) $sql .= " AND t.paye = ".$db->escape($search_status);
$sql .= " GROUP BY t.rowid, t.amount, t.datev, t.label, t.paye";
$sql .= " GROUP BY t.rowid, t.amount, t.datev, t.label, t.paye, pst.code";
$sql .= $db->order($sortfield, $sortorder);
$nbtotalofrecords = '';