Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Statistics number of invoice should be an integer not a decimal - Invoice #32476

Open
mikygee opened this issue Dec 29, 2024 · 4 comments
Open
Labels
Bug This is a bug (something does not work as expected)

Comments

@mikygee
Copy link
Contributor

mikygee commented Dec 29, 2024

Bug

Version: 20.0.2

Hello,
When I go to Factures fournisseur > Statistics
I can see the number of invoices per months but on the vertical axis it's written 1,0 2,0...
image

A number of invoice is stricly an integer and should be written 1 2 3 4

Dolibarr Version

20.0.2,develop

Environment PHP

No response

Environment Database

No response

Steps to reproduce the behavior and expected behavior

No response

Attached files

No response

@mikygee mikygee added the Bug This is a bug (something does not work as expected) label Dec 29, 2024
@hregis
Copy link
Contributor

hregis commented Dec 29, 2024

@mikygee this is just for the first use, after 9 it's ok

Capture d’écran 2024-12-29 à 10 59 33

@mikygee
Copy link
Contributor Author

mikygee commented Dec 29, 2024

Hello Regis,
Do you mean that when the numbers are below 10, it behaves like that ? And above 10 it behaves normally ?

@hregis
Copy link
Contributor

hregis commented Dec 30, 2024

@mikygee yes

@mikygee
Copy link
Contributor Author

mikygee commented Dec 30, 2024

Yes I understand, but that's the purpose of this bug request.
Below 10 it should be written 1 2 3 4 not 1,0, 2,0, 3,0 4,0 for the number of invoices.

Regarding the amount it's logical to use decimals

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is a bug (something does not work as expected)
Projects
None yet
Development

No branches or pull requests

2 participants