Dolibarr / dolibarr

Dolibarr ERP CRM is a modern software package to manage your company or foundation's activity (contacts, suppliers, invoices, orders, stocks, agenda, accounting, ...). it's an open source Web application (written in PHP) designed for businesses of any sizes, foundations and freelancers.
https://www.dolibarr.org
GNU General Public License v3.0
5.29k stars 2.74k forks source link

Bug: Warning: Division by zero #29843

Closed fpav closed 3 months ago

fpav commented 3 months ago

Instructions

This is a template to help you report good issues. You may use Github Markdown syntax to format your issue report. Please:

Bug

[Short description]

Environment

Expected and actual behavior

If I asked for turnover invoiced : the April month is providing me an error

Warning: Division by zero in /home/clients/75b383e1e32cfcb0a1b615c70a4bac17/erp/compta/stats/index.php on line 465 +INF%

Steps to reproduce the behavior

When opening the report section for Turnover by customer in accounting menu, choose turnover by customer

Attached files (Screenshots, screencasts, dolibarr.log, debugging informations…)

2024-05-22_18-27-19

Report

fpav commented 3 months ago

Solved with your input Eldy and Hystepik !!!! Thanks