Files
dolibarr/htdocs
Lucky db3df89ee2 New options for withdraw control (#37179)
* New options for withdraw control

Add a new option "WITHDRAW_STRICT_CHECK_AMOUNT"
Transfer request control is based solely on the supplier invoice amount:
By default, once a request is made, even if its amount is less than the invoice amount, no additional requests can be made until the original request is validated (integrated into a transfer slip).
With this option, the control is applied to the sum of all requests, even if they are not integrated into a SEPA transfer slip.
The control verifies that the total sum of the requests never exceeds the invoice total.
By default, one or more requests exceeding the invoice amount can be entered; this option prevents this behavior.

This behavior is more logical and user-friendly, especially when transfer requests are made by technicians or buyers and the SEPA files are created by the accounting department.

* fix

* Update commoninvoice.class.php

* fichier lang

* Cast remaining amounts to float for precision

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-24 18:06:31 +01:00
..
2026-02-24 17:35:35 +01:00
2025-11-24 16:03:38 +01:00
2026-02-11 18:07:37 +01:00
2025-11-06 13:15:03 +01:00
2025-10-17 15:10:33 +02:00
2026-02-12 18:56:00 +01:00
2025-11-24 16:03:38 +01:00
2025-12-02 15:04:14 +01:00
2026-02-08 13:10:29 +01:00
2026-02-20 18:51:38 +01:00
2025-11-24 16:03:38 +01:00
2025-11-24 16:03:38 +01:00
2025-11-06 13:15:03 +01:00
2025-11-24 16:03:38 +01:00
2025-11-24 16:03:38 +01:00
2025-11-06 13:15:03 +01:00
2026-02-24 17:30:44 +01:00
2025-11-06 13:15:03 +01:00
2025-11-24 16:03:38 +01:00
2025-11-24 16:03:38 +01:00
2025-11-23 03:19:11 +01:00
2026-02-19 22:29:20 +01:00
2026-02-19 22:29:20 +01:00