You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
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
The text was updated successfully, but these errors were encountered: