Browse Source

FIX : Add comment because accoutancy cannot work with PgSQL

florian HENRY 9 years ago
parent
commit
93417a08b3
1 changed files with 2 additions and 0 deletions
  1. 2 0
      htdocs/accountancy/customer/index.php

+ 2 - 0
htdocs/accountancy/customer/index.php

@@ -184,6 +184,8 @@ print '<td width="60" align="center">' . $langs->trans("NovemberMin") . '</td>';
 print '<td width="60" align="center">' . $langs->trans("DecemberMin") . '</td>';
 print '<td width="60" align="center"><b>' . $langs->trans("Total") . '</b></td></tr>';
 
+
+//TODO : Cannot work with PGSQL !, Change that with php treatment rather than big SQL query
 $sql = "SELECT IF(aa.account_number IS NULL, 'Non pointe', aa.account_number) AS 'code comptable',";
 $sql .= "  IF(aa.label IS NULL, 'Non pointe', aa.label) AS 'Intitulé',";
 $sql .= "  ROUND(SUM(IF(MONTH(f.datef)=1,fd.total_ht,0)),2) AS 'Janvier',";