Open le-reparateur opened 18 hours ago
What is the url or menu to use to reach the page with the screenshot ?
url : .../htdocs/compta/tva/quadri_detail.php Then left menu -> month report -> select a period -> select a month -> click on a rate in supplier list to obtain all lines...
When expensereport for a month and for a tax rate contains more than 1 line (n lines), the tax report contains n identical lines and total are impacted with those n values. In this exemple ER2409-0045 contains 7 different payments (2 payments with 20% tva, 2 payments with 10% tva and 3 payments with 5.5% tva -> the picture). The lines are copied 7 times for the same value in the report.
Add GROUP BY in SELECT sql request solve the problem.
Francis