Fix: [ bug #1822 ] SQL error in clientfourn.php report with PostgreSQL
This commit is contained in:
parent
07877bc381
commit
d9ac21ab82
@ -21,6 +21,7 @@ English Dolibarr ChangeLog
|
|||||||
- Fix: [ bug #1812 ] SQL Error message while sending emailing with PostgreSQL datatabase
|
- Fix: [ bug #1812 ] SQL Error message while sending emailing with PostgreSQL datatabase
|
||||||
- Fix: [ bug #1819 ] SQL error when searching for an invoice payment
|
- Fix: [ bug #1819 ] SQL error when searching for an invoice payment
|
||||||
- Fix: [ bug #1827 ] Tax reports gives incorrect amounts when using external modules that create lines with special codes
|
- Fix: [ bug #1827 ] Tax reports gives incorrect amounts when using external modules that create lines with special codes
|
||||||
|
- Fix: [ bug #1822 ] SQL error in clientfourn.php report with PostgreSQL
|
||||||
|
|
||||||
***** ChangeLog for 3.6.2 compared to 3.6.1 *****
|
***** ChangeLog for 3.6.2 compared to 3.6.1 *****
|
||||||
- Fix: fix ErrorBadValueForParamNotAString error message in price customer multiprice.
|
- Fix: fix ErrorBadValueForParamNotAString error message in price customer multiprice.
|
||||||
|
|||||||
@ -551,7 +551,7 @@ $sql.= " WHERE p.entity = ".$conf->entity;
|
|||||||
if (! empty($date_start) && ! empty($date_end))
|
if (! empty($date_start) && ! empty($date_end))
|
||||||
$sql.= " AND p.datep >= '".$db->idate($date_start)."' AND p.datep <= '".$db->idate($date_end)."'";
|
$sql.= " AND p.datep >= '".$db->idate($date_start)."' AND p.datep <= '".$db->idate($date_end)."'";
|
||||||
|
|
||||||
$sql.= " GROUP BY u.rowid";
|
$sql.= " GROUP BY u.rowid, p.label, p.datep, p.fk_user";
|
||||||
$sql.= " ORDER BY u.firstname";
|
$sql.= " ORDER BY u.firstname";
|
||||||
|
|
||||||
dol_syslog("get payment salaries sql=".$sql);
|
dol_syslog("get payment salaries sql=".$sql);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user