This commit is contained in:
parent
e364c399fd
commit
435b82bbc8
1 changed files with 1 additions and 1 deletions
|
|
@ -301,7 +301,7 @@ if ($modecompta == 'BOOKKEEPING') {
|
|||
if (!empty($date_start) && !empty($date_end)) {
|
||||
$sql .= " AND f.doc_date >= '".$db->idate($date_start)."' AND f.doc_date <= '".$db->idate($date_end)."'";
|
||||
}
|
||||
$sql .= " GROUP BY pcg_type ORDER BY pcg_type DESC";
|
||||
$sql .= " GROUP BY pcg_type";
|
||||
if ($showaccountdetail == 'no') {
|
||||
$sql .= ", name, socid"; // group by "accounting group" (INCOME/EXPENSE), then "customer".
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue