Commit Graph

321 Commits

Author SHA1 Message Date
Laurent Destailleur
7bd0a8a76e CSS 2025-12-13 11:04:16 +01:00
Laurent Destailleur
0e42497112 Debug v23 2025-12-09 11:20:21 +01:00
Laurent Destailleur
ab3204a88a Debug v23 2025-12-01 11:42:20 +01:00
Laurent Destailleur
9e5043bed6 Restore view in one page without scrolling. TODO Must migrate this page
with modulebuilder.
2025-11-20 16:12:57 +01:00
Laurent Destailleur
ad165e3712 Clean permissions 2025-11-12 12:55:21 +01:00
Jon Bendtsen
df4cd2fc65 FIX adding tms and datec to email templates (#36189)
* NEW: adding tms and datec to email templates

* Escaping a timestamp string I just generated myself

* switching single and double quotes in escape line for tms and datec to make the build system happy?

* Add an id to the table

* showing better names than tms and datec

* Changing code to label to fix #29116

* using hregis advice to use idate not escape the string with date

* requested changes

* forgot to add my name to editors

* had to make class changes for API to work

* setting datec back to int|string

* removing unused code lines and using idate in the api file

* no tms in create or update, but select. No datec in update

* expanding hurl tests to prevent post with id or tms, put with id or datec

---------

Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
2025-11-11 09:02:57 +01:00
Laurent Destailleur
dfbf173b17 Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-11-07 19:25:42 +01:00
Regis Houssin
fa10fc0f94 FIX avoid NULL value (#36126) 2025-11-06 13:15:03 +01:00
Laurent Destailleur
4bae3f6eec Must use StudlyCaps or PascalCase for class name 2025-10-22 18:15:27 +02:00
Jon Bendtsen
1f47cfd583 NEW API for getting, adding, deleting and/or modifying email templates (#35853)
* NEW API for getting, adding, deleting and/or modifying email templates

* removing duplicate class formmail which has been moved to a separate file

* hurl file for testing the emailtemplates api

* more comprehensive tests of posting a new email template, all required fields and making sure that ID is rejected

* first GUI test of email templates

---------

Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-22 18:04:39 +02:00
Vincent Maury
27ed249561 NEW : add supplier payment mail template (#35877)
* Fix 35865 no formail displayed in supplier payment

* - add possibility to create custom mail template for supplier invoices payment
- add a default template
- add 2 new substitutions keys : __SUPPLIER_PAYMENT_INVOICES_LIST__ and  __SUPPLIER_PAYMENT_INVOICES_TOTAL__

* - add possibility to create custom mail template for supplier invoices payment
- add a default template
- add 2 new substitutions keys : __SUPPLIER_PAYMENT_INVOICES_LIST__ and  __SUPPLIER_PAYMENT_INVOICES_TOTAL__

---------

Co-authored-by: vmaury <vmaury@vmaury-Lafite-Pro-16-AMD>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-22 17:44:01 +02:00
ldestailleur
8dd9ed56a1 spellcheck war 2025-10-07 08:56:18 +02:00
ldestailleur
62d05df912 Look and feel v23 2025-10-04 00:50:49 +02:00
ldestailleur
e45fe1f988 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2025-09-27 15:57:27 +02:00
Dylan Bourdere
56a73c5cd9 fix: PHP warning in mail and card presend (#35474)
* fix: PHP warning in mail and card presend

* phpstan

* fix: PHP warning in mail and card presend
2025-09-26 20:48:54 +02:00
ldestailleur
4a363478ae Clean code with rector 2025-09-18 16:26:38 +02:00
VIAL-GOUTEYRON Quentin
1874deef49 FIX delivery triggers and mail templates: correct inconsistencies in email triggers and templates` (#35264)
* `fix(delivery): correct inconsistencies in email triggers and templates`

**Body:**
- Adjusted email trigger names from `RECEPTION_*` to `SHIPPING_*`.
- Updated parameters and placeholders for shipment email tracking.
- Removed redundant `reception_send` entry in mail templates for shipping.

* `fix(delivery): update email triggers and templates for deliveries`

**Body:**
- Replaced email trigger `SHIPPING_SENTBYMAIL` with `DELIVERY_SENTBYMAIL`.
- Updated template references from `shipping_*` to `delivery_*` for consistency.
- Modified tracking ID format from `shi` to `del` in `card.php`.
- Added `MailToSendDelivery` language entry for email labels.
- Adjusted mail templates to include `delivery_send` entries.
2025-09-18 13:23:57 +02:00
ldestailleur
6ed764bedf Clean code 2025-09-18 11:40:56 +02:00
ldestailleur
2572847b2a Merge branch '22.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-09-17 18:29:07 +02:00
HENRY Florian
bf5a0c9ce7 fix: php 8 warning (#35363)
* fix: php 8 warning

* fix: php 8 warning

* fix: php 8 warning

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-09-17 18:16:48 +02:00
atm-GregM
e081e3be33 NEW ADD Send mail for reception / Delivery (#34829)
* Send mail for reception

* back pre-commit

* empty reshook
2025-07-31 21:59:35 +02:00
ldestailleur
a0ec0002f6 Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop 2025-03-19 13:47:25 +01:00
ldestailleur
302ab362d5 Fix edit of template with back to page 2025-03-18 17:41:37 +01:00
MDW
2c95fba2ee Qual: Fix phan notices (admin) (#33483)
* Qual: Fix phan notices (accountancy, adherents)

* Qual: Fix phan notices (admin)

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-03-16 20:21:22 +01:00
MDW
988fc75ca2 Qual: Fix phan notices (emailcollector, bookkeeping) (#33375)
* Qual: Fix phan notices (mostly propal)

* Fix some const arguments to Form::select_dolusers()

* Update phan baseline

* Qual: Fix phan notices (propal)

* Qual: Fix phan notices (emailcollector, bookkeeping)
2025-03-10 15:47:55 +01:00
ATM-Lucas
4afb100767 Adding model Mail 2025-01-24 16:52:50 +01:00
Laurent Destailleur
93ec6f9ef7 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-11-19 13:02:26 +01:00
Laurent Destailleur
423cc7b845 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-11-19 12:41:22 +01:00
Laurent Destailleur
023856cf73 FIX #31997 2024-11-19 12:40:23 +01:00
Laurent Destailleur
1386d8c388 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-11-19 04:21:29 +01:00
Laurent Destailleur
e9e1175134 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-11-19 04:04:10 +01:00
Sami Filali
fac36d2376 add hook (#31938) 2024-11-16 14:51:24 +01:00
Frédéric FRANCE
1adc883b56 add baseline exclude for phpstan (#31632)
* add baseline exclude for phpstan

* update

* update

* update

* update

* update

* merge

* restore one filter

* delete old errors

* fix

* fix

* fix

* $moreforfilter can t be empty

* fix

* enable check

* refresh baseline

* add phpdoc

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-04 23:53:20 +01:00
Laurent Destailleur
cb0ab53709 Look and feel v21 2024-10-27 14:08:59 +01:00
Frédéric FRANCE
331c5e9f4b fix phpstan (#31547)
* fix phpstan

* fix phpstan

* fix phpstan
2024-10-25 13:24:10 +02:00
Laurent Destailleur
9dce6c7689 Merge 2024-10-14 01:33:15 +02:00
MDW
099dbd9c1e Qual: Fix notices for htdocs/admin/* (#30982)
* Fix (Possibly)UndeclaredGlobalVariable

* Update phan baseline

* Fix (Possibly)UndeclaredGlobalVariable (2)

* Qual: Fix notices for htdocs/admin/*

# Qual: Fix notices for htdocs/admin/*

Fixes most phan/phpstan noticies for files under htdocs/admin/* and ai.
2024-09-18 03:27:25 +02:00
Laurent Destailleur
5513b573b0 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-07-24 04:06:06 +02:00
Laurent Destailleur
8a257ac93f Fix permission to edit email template - Debug v20 2024-07-23 02:12:46 +02:00
Laurent Destailleur
403fcd234e Debug v20 2024-07-22 21:49:47 +02:00
Frédéric FRANCE
2707475a12 fix phpstan (#30319)
* fix phpstan

* fix phpstan expects int, false given ...

* fix phpstan expects int, true given ...
2024-07-08 21:45:35 +02:00
Alexandre SPANGARO
96afcaa476 Better comments (#30200)
* Fix language

* Fix language

* Fix language

* Fix language

* Fix language

* Fix language

* Fix language

* CI Missing language key

* Update eventorganization.lang

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-30 21:02:50 +02:00
atm-lena
8363d610de llxHeader CSSBody - admin part 1 (#29930)
Co-authored-by: atm-lena <lena.papazian@atm-consulting.fr>
2024-06-08 14:53:14 +02:00
Laurent Destailleur
4655dd4613 css 2024-05-16 15:02:28 +02:00
Laurent Destailleur
6b61b2de81 Debug v20 2024-05-13 20:44:23 +02:00
Laurent Destailleur
7b6b070b7a Fix param in url 2024-05-13 19:11:50 +02:00
Ferran Marcet
13bca5cb1f New: Mail template for contacts (#29415)
* New: Mail template for contacts

* New: Mail template for contacts

* New: Mail template for contacts
2024-04-20 23:14:39 +01:00
Laurent Destailleur
df6c697dfc Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-03-29 11:51:07 +01:00
terhoy
fa250c8f8a Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-03-29 11:45:45 +01:00
Laurent Destailleur
dfa9ed67d0 Fix warnings 2024-03-18 20:52:59 +01:00