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

Situation invoice: Wrong value for the paiement already done #28219

Open
didi31 opened this issue Feb 16, 2024 · 1 comment
Open

Situation invoice: Wrong value for the paiement already done #28219

didi31 opened this issue Feb 16, 2024 · 1 comment
Labels
Bug This is a bug (something does not work as expected)

Comments

@didi31
Copy link

didi31 commented Feb 16, 2024

Bug

The $totalpaid variable is overwrited by the loop on tab_next_situation invoice (line 5177) of the compta/facture/card.php file.
The $totalpaid variable should be replaced by something else like on the previous loop on tab_previous_situation invoice where it is $tmptotalpaidforthisinvoice.

Environment Version

18.0.4

Environment OS

DSM 7.2

Environment Web server

Marriadb 10

Environment PHP

8.1

Environment Database

No response

Environment URL(s)

No response

Expected and actual behavior

Allready paid value should be equal to $object->getSommePaiement

Steps to reproduce the behavior

Create several situation invoices with some of them paid.

Attached files

No response

@didi31 didi31 added the Bug This is a bug (something does not work as expected) label Feb 16, 2024
@didi31 didi31 changed the title Situation invoice: Wrong value for the paiement allready done Situation invoice: Wrong value for the paiement already done Feb 16, 2024
@github-actions github-actions bot added the Issue Stale (automatic label) This issue is stale because it has been open 1 year with no activity. Remove this label to keep open label Feb 15, 2025
@didi31
Copy link
Author

didi31 commented Feb 15, 2025

The bug is still présent.

@github-actions github-actions bot removed the Issue Stale (automatic label) This issue is stale because it has been open 1 year with no activity. Remove this label to keep open label Feb 15, 2025
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

1 participant