7553 Commits

Author SHA1 Message Date
Laurent Destailleur
a4852508e3 Clean code 2026-01-11 16:19:47 +01:00
Expresion
9fa9d395dc Fix numeric input parsing to support comma as decimal separator (#36845)
* Fix numeric input parsing to support comma as decimal separator

GETPOSTINT()  only handles integer values and fails when input uses a comma as decimal

* Update dispatch.php

* Change GETPOST to GETPOSTFLOAT for price input

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-01-10 18:24:19 +01:00
Laurent Destailleur
48fab7528f Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into develop 2026-01-07 19:15:36 +01:00
Laurent Destailleur
66989d4fef Clean files 2026-01-07 19:15:06 +01:00
Laurent Destailleur
99e08613f1 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into 22.0 2026-01-07 19:08:58 +01:00
Laurent Destailleur
8e5c5782bd Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0 2026-01-07 19:04:04 +01:00
Laurent Destailleur
61bd956fe0 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2026-01-07 18:40:40 +01:00
Jérémy
76f6048ba4 NEW : Add “Bank Account” column in invoicing views (customer & supplier invoice lists) (#36718)
* Fix: avoid empty from_template id on first email form display

* first try

* work now

* work with fourn

* perfect.

* perfect.

* Update list.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-01-07 18:23:39 +01:00
Frédéric FRANCE
b369576a9d NEW add support of subtotals on more objects (#34125)
* add more subtotals

* add more subtotals

* class

* class

* wip

* wip

* wip

* wip

* doc

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* clean code

* fix

* fix

* fix

* fix

* fix

* fix

* clean code

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* fix

* fix

* fix

* fix

* fix

* fix

* fetch extraparams

* add confirms

* add options

* add options

* add options

* add options

* add options

* add options

* add options

* fix

* wip

* wip

* fix

* fix

* fix

* fix

* fix

* fix
2026-01-06 15:58:06 +01:00
Maxime Kohlhaas
bfe8f57c03 Fix : updateline was not possible because of wrong status test (#36802)
* Fix : updateline was not possible because of wrong status test

* Fix : better fix, remove useless test to work like on customer facrec
2026-01-05 18:44:55 +01:00
Laurent Destailleur
3b4cc79749 Fix warning 2026-01-05 17:37:35 +01:00
Laurent Destailleur
cf712df213 Fix warning 2026-01-05 17:04:59 +01:00
Laurent Destailleur
ba816b847d Merge branch '23.0' of git@github.com:Dolibarr/dolibarr.git into 23.0
Debug v23
2026-01-05 14:36:23 +01:00
Alexandre SPANGARO
39b251f3ca FIX #36735 Invoice & Supplier invoice - Inconsistency of fk_code_ventilation for lines (FactureLigne & SupplierInvoiceLine) (#36792) 2026-01-05 13:28:09 +01:00
Frédéric FRANCE
e6249eee32 fix phpstan for v23 (#36774)
* fix phpstan

* Update functions.lib.php

* Update admin.lang

* Update errors.lang

* Update fournisseur.commande.class.php

* Update fournisseur.commande.class.php

* Update blockedlog_archives.php

* Update blockedlog_archives.php

* Update blockedlog_archives.php

* Update blockedlog_archives.php
2026-01-05 12:48:07 +01:00
Zakaria Boushaba
ecb14aecf2 Fix text overflow in linked object table lists (v22) (#36776)
Co-authored-by: Zakaria Boushaba <z.boushaba@vold.africa>
2026-01-05 11:31:55 +01:00
Laurent Destailleur
bc7d5d21e3 Clean code 2025-12-30 16:21:15 +01:00
Laurent Destailleur
17f6d584ce Debug v23 2025-12-30 14:53:03 +01:00
atm-lucas
70348f8c85 Supplier Proposal line option (#36753) 2025-12-30 11:09:38 +01:00
MDW
479000631d Qual: Update type hints in supplier order class
# Qual: Update type hints in supplier order class

- Update type hints for `$price_base_type` to be either 'HT' or 'TTC'
- Update type hints for `$type` and `$notrigger` to be integers between 0 and 1
2025-12-14 21:39:56 +01:00
Laurent Destailleur
2d0c554011 Debug v23 Missing button for Prepare Credit Transfer 2025-12-10 15:33:33 +01:00
Laurent Destailleur
b4d659d8d9 CSS 2025-12-09 11:46:30 +01:00
Laurent Destailleur
f7114175ab Merge v22 2025-12-06 05:06:24 +01:00
Laurent Destailleur
b4589e846d FIX info on supplier payment card on v22 and payment link 2025-12-06 04:18:38 +01:00
Laurent Destailleur
13e6a7b936 Debug v23 2025-12-05 12:55:20 +01:00
Laurent Destailleur
757e01eaaa Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-12-04 20:58:00 +01:00
Laurent Destailleur
1cd7de6e21 Better compatibility 2025-12-04 20:57:43 +01:00
Laurent Destailleur
e49f907cdc Merge pull request #36511 from lelex86/lelex86-patch-1
FIX: use suspended status in FactureFournisseurRec::updateline()
2025-12-04 20:57:04 +01:00
Laurent Destailleur
e350886c15 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-12-04 20:38:22 +01:00
Laurent Destailleur
193a42cd47 Fix #36520 2025-12-04 19:02:57 +01:00
Laurent Destailleur
9392e0a9b6 CSS 2025-12-03 21:39:31 +01:00
lelex86
f6e667da1a FIX: use suspended status in FactureFournisseurRec::updateline()
- The method checks `$this->status == self::STATUS_SUSPENDED`.
- For recurring **supplier** invoices, `$this->status` is not populated (it is always `null`).
- The real field used to store the suspended flag of the template is `$this->suspended`.
2025-12-03 09:59:03 +01:00
Laurent Destailleur
f0f2afd7a3 Fix action type for button action Email 2025-11-26 13:41:16 +01:00
Expresion
bab874a669 Fix: update buying price during receipt (#36419)
Fix bad SQL when batch product

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-26 01:57:17 +01:00
Laurent Destailleur
0c8581f80d Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2025-11-24 16:23:07 +01:00
Regis Houssin
0aa6652005 FIX #35141 (#36390)
* FIX #35141

* FIX avoid problem with chinese language
2025-11-24 16:03:38 +01:00
Laurent Destailleur
e35028646e Debug v23 2025-11-23 16:33:38 +01:00
Frédéric FRANCE
46d6714fe0 clean code (#36317)
* clean code

* clean code

* clean doc

* clean doc

* clean doc

* clean doc

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-20 01:47:46 +01:00
MDW
96e35c7a33 Fix: PhanTypeMismatchProperty error in invoice creation (#36323)
* 🐛 Fix PhanTypeMismatchProperty error in invoice creation

The error occurred due to incorrect type handling in the invoice creation process. The changes fix this by properly handling the subtype field as an integer. This ensures type consistency and prevents potential runtime errors.

* FIX: Correct assignment to linkedObjectsIds  in card.php

# FIX: Correct assignment to linkedObjectsIds  in card.php

Modified the structure of linkedObjectsIds to include the rowid as a key to match the property type.

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-19 14:16:00 +01:00
iouston
c4f1dbddbb Add product type check in line validation (#36319)
* Add product type check in line validation

needed by sous total plugins style which use line with type 9 for title, subtitle or free text. without the chek inb line validation, title, sub title or free text disappears

* Update card.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-19 13:17:48 +01:00
Laurent Destailleur
292b235241 Fix CI 2025-11-19 13:14:48 +01:00
Laurent Destailleur
c65e03ecb6 Fix CSS 2025-11-19 13:01:35 +01:00
Laurent Destailleur
e96db77fda Look and feel Debug v23 2025-11-18 02:49:47 +01:00
Laurent Destailleur
a7c82c020d Fix CI 2025-11-17 20:01:07 +01:00
Laurent Destailleur
545a0f5532 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-14 16:00:08 +01:00
Laurent Destailleur
aa49882be0 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-14 15:59:50 +01:00
Regis Houssin
d028d0d81b FIX $param is the 5th parameter of print_liste_field_titre ($moreparam) (#36250)
* FIX $param is the 5th parameter of print_liste_field_titre ($moreparam)

* FIX phan error

* FIX other errors
2025-11-14 15:55:35 +01:00
HeilDenDus
0f297eea96 add show and filter in fields public and private notes (#36255) 2025-11-14 15:36:22 +01:00
Frédéric FRANCE
d07e8c03a0 avoid changing object after call (#36159)
* avoid changing object after call

* avoid changing object after call

* avoid changing object after call

* avoid changing object after call

* avoid changing object after call

* avoid changing object after call

* avoid changing object after call

* clean code

* clean code

* clean code

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* clean code

* clean

* clean

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-11-12 09:44:39 +01:00
Laurent Destailleur
2880feaea5 Fix CI 2025-11-09 20:05:09 +01:00