* 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>
* Fix: http_response_code type
# Fix: http_response_code type
- Fixed http_response_code type
* Fix: Initialize refcashcontrol variable
Initialize refcashcontrol variable to 0 to ensure it is defined before use in the invoice.php script.
* Fix: Remove redundant check for BILL_SENTBYMAIL & $object type
# Fix: Remove redundant check for BILL_SENTBYMAIL & $object type
- Removed redundant check for BILL_SENTBYMAIL
* Fix: Correct date calculation for full year cash control
# Fix: Correct date calculation for full year cash control
Calculates the start date by subtracting one year from the end date.
* Qual: Add default batch value for invoice processing
# Qual: Add default batch value for invoice processing
Adds default empty string for the batch variable.
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* Update DB
* ADD email template
* Ajout d'une clé de trad
* Ajout des traductions
* Suppression des traductions, sauf en_US
* Add flag auto send
* Modif form + cron auto send
* Suppression auto_send
* correction loopError
* ajout du selected au model de mail
* Prise en compte default model
* Fix pre-commit
* ménage
* precommit
* Correction Phan
* Correction Phan
* Correction, double cal du trigger
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* FIX: Backport fix on v20 for result page of compta (/compta/resultat/index.php). The expense report were not included when the module was activated
* Update index.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* Qual: Update comments from French to English
# Qual: Update comments from French to English
* Qual: Fix missing initialisations
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>