Commit Graph

15773 Commits

Author SHA1 Message Date
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
William Mead
9560eb00bd Updated PHPDoc with since tag (#37299)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-23 00:40:39 +01:00
MDW
1a8f540dc8 Fix: CI (#37320)
* 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>
2026-02-23 00:35:33 +01:00
Laurent Destailleur
9a9784238c Debug 2026-02-20 16:50:53 +01:00
Laurent Destailleur
b986f2f1a7 Debug v24 2025-03-05 11:13:24 +01:00
Laurent Destailleur
fb70814412 Debug v24 2025-02-05 15:36:32 +01:00
Laurent Destailleur
c295e97f9c Debug 2025-02-05 14:59:32 +01:00
Laurent Destailleur
8478c38477 Debug 2025-02-05 13:57:10 +01:00
Anthony Damhet
7786bfcd0a Added intuitive selection of table rows for missing objects (#37231)
Add the row-with-select class to list tables

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-17 20:29:00 +01:00
Laurent Destailleur
d0c80f3228 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2026-02-16 21:47:14 +01:00
Laurent Destailleur
125d97cf5d Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-02-16 21:23:48 +01:00
Laurent Destailleur
5433a5642d Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 23.0 2026-02-16 21:21:13 +01:00
Laurent Destailleur
bff98ad817 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2026-02-16 21:11:20 +01:00
Laurent Destailleur
7ccd12e865 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2026-02-16 21:08:22 +01:00
Laurent Destailleur
e64ab3c751 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2026-02-16 20:51:44 +01:00
Laurent Destailleur
6adc5dc78d Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2026-02-16 20:47:21 +01:00
demiton
45483a6fd9 FIX #37246 Modifying resteapayer calculation for credit note (#37247) 2026-02-16 20:26:20 +01:00
Laurent Destailleur
808a3f820c Debug v23 2026-02-16 01:22:21 +01:00
Laurent Destailleur
7e8e7a24c3 Debug v23 2026-02-16 00:50:53 +01:00
Laurent Destailleur
0dda1f9a3e Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-02-15 22:58:58 +01:00
Laurent Destailleur
4e8f3b921f CSS 2026-02-15 22:52:38 +01:00
Laurent Destailleur
717d769009 Debug v23 2026-02-15 19:52:53 +01:00
Laurent Destailleur
caa5d7b347 Debug v23 2026-02-12 16:23:43 +01:00
Laurent Destailleur
d092852768 Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-02-12 00:39:28 +01:00
Laurent Destailleur
f23e6b541a Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into 23.0 2026-02-12 00:38:48 +01:00
Laurent Destailleur
1a83124ca6 FIX closing an deposit invoice when payment was too high. 2026-02-12 00:38:04 +01:00
hansemschnokeloch
09b69a178b Typo fix (#37195) 2026-02-11 21:15:41 +01:00
Vincent Penel
8a8a7f4e95 NEW #25829 Automatically send the invoice generated from a template (#36967)
* 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>
2026-02-11 03:14:18 +01:00
Frédéric FRANCE
9ac93e1e98 fix phpstan errors blocking action baseline (#37189)
* fix phpstan errors blocking action baseline

* fix phpstan errors blocking action baseline

* fix phpstan errors blocking action baseline

* fix phpstan errors blocking action baseline

* fix phpstan errors blocking action baseline

* refresh baseline
2026-02-11 00:52:15 +01:00
Laurent Destailleur
36108255e3 Complete call to setStatus so we have a trigy as 4th parameter (help to
fix the #37129)
2026-02-10 00:44:46 +01:00
Frédéric FRANCE
3429546116 fix ternary always true (#37161)
* fix ternary always true

* Update requests.php

* Update registration.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-02-09 22:48:16 +01:00
Laurent Destailleur
cec0c2086c Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-02-09 19:22:44 +01:00
Laurent Destailleur
f69d0dd04e CI 2026-02-09 18:39:44 +01:00
Laurent Destailleur
414337e358 Fix navigation 2026-02-09 16:17:01 +01:00
Laurent Destailleur
a2822764e5 WIP LNE 2026-02-09 07:11:20 +01:00
Laurent Destailleur
426f13d495 CSS 2026-02-09 04:35:40 +01:00
Laurent Destailleur
22c824642a Add currency 2026-02-09 04:31:22 +01:00
Laurent Destailleur
5321c29a00 Protect module 2026-02-09 04:24:41 +01:00
Laurent Destailleur
9da14a6eb2 Fix CI 2026-02-09 03:54:32 +01:00
Laurent Destailleur
f921204bd4 Clean code. File not used. 2026-02-09 00:05:00 +01:00
Laurent Destailleur
822bc7ffef CI 2026-02-08 23:59:18 +01:00
Laurent Destailleur
8eb76e4da8 CI 2026-02-08 23:25:11 +01:00
kkhelifa-opendsi
7b5ddac963 FIX: Backport fix on v20 for result page of compta (/compta/resultat/index.php) (#37127)
* 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>
2026-02-08 22:25:58 +01:00
Laurent Destailleur
fe3314d07a Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-02-08 20:40:42 +01:00
Laurent Destailleur
1173164d7e Debug v23 - Filter on action type ko 2026-02-08 19:30:17 +01:00
Laurent Destailleur
8c5fe25137 Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-02-08 19:04:03 +01:00
Laurent Destailleur
3b6c448787 Debug v23 - Min price was wrong in multicurrency mode 2026-02-08 18:52:24 +01:00
Laurent Destailleur
f4dc5dfee9 Fix CI 2026-02-08 17:51:08 +01:00
MDW
1166dd305b Qual: Update comments from French to English (#37097)
* 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>
2026-02-08 15:29:53 +01:00
Laurent Destailleur
d0c5d523a3 FIX Show total on multicurrency only if currency are the same on all
lines
2026-02-08 13:59:19 +01:00