Commit Graph

270 Commits

Author SHA1 Message Date
William Mead
72aec91064 NEW shipment signed status update (#30928)
* Added event message

* Added CommonSignedObject trait. Updated LibStatut method. Removed unnecessary properties.

* Added SHIPPING_MODIFY notification

* Refactored to use setSignedStatus method

* Updated PHPDoc. Removed unnecessary properties. Added contributor details.

* Added signed status to shipping list

* Added signed status to fetch method

* Fixed type

* Added signed status to notification message

* Updated EN localization

* Fixed static property

* Added event message localization

* Updated EN localization

* Updated PHPDoc

* Added signed status for use in tooltip

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-13 03:09:53 +02:00
William Mead
fb6677010d NEW contract signed status update (#30779)
* Moved signed status constants to array dictionary

* Added getLibSignedStatus & getSignedStatusLocalisedArray methods

* Updated fetch & create methods for signed_status

* Added signed status to status badge

* Updated signed_status module builder field

* Added object context signed status for action trigger

* Added signed status to contract list

* Fixed signed status for contract list

* Added sign, unsign, confirm_sign, confirm_unsign actions. Added sign button.

* Fixed old contract without signed status

* Added contract modify notification

* Added contract signed status update

* Updated EN localizations

* Fixed contract notification administration

* Fixed notification message

* Fixed contract status badge

* Fixed langs

* Fixed langs key

* Fixed duplicate localization
2024-09-10 03:04:49 +02:00
William Mead
30805c68da NEW intervention signed status update (#30629)
* Added confirm_sign, confirm_unsign, sign & unsign actions. Added sign-unsign button.

* Updated create & fetch methods with signed_status

* Added EN localization

* Added intervention signed notification

* Added intervention signed auto event. Updated EN localization. Fixed trigger.

* Cleaned code

* Added signed label to status badge

* Cleaned code

* Added signed statues dictionary. Added method to get signed status label badge.

* Added signed status to intervention list

* Added sign localizations

* Added sign confirm select. Refactored signed statuses dictionary.

* Added method to get localized signed statuses arrray. Refactored code. Added EN localization.

* Fixed signed status update

* Cleaned code

* Updated EN localization

* Cleaned code

* Changed sign workflow to exclude only drafts

* Added signed status change with online sign

* Improved signed status workflow

* Removed db structure changes

* Updated action trigger to FICHINTER_MODIFY

* Updated EN localizations

* Refactored to use FICHINTER_MODIFY trigger with localized context message. Added STATUS_SIGNED_RECEIVER_ONLINE signed status. Updated EN localizations.

* Added STATUS_SIGNED_RECEIVER_ONLINE signed status. Cleaned Ecode.

* Fixed undeclared constant

* Added contributor details

* Updated notification logic to use object context to pass signature status

* Refactored to make use of object context for event notification. Cleaned code.

* Fixed deprecated method

* Cleaned code
2024-08-27 07:01:03 +02:00
Laurent Destailleur
c54a97e923 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-06-24 01:47:18 +02:00
boudet jean pascal
da4f526f77 test status contact (#30098)
* test status contact

* Update notify.class.php

Signed-off-by: Laurent Destailleur <eldy@destailleur.fr>

---------

Signed-off-by: Laurent Destailleur <eldy@destailleur.fr>
Co-authored-by: jpb <jean-pascal.boudet@atm-consulting>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-06-22 16:07:46 +02:00
Florent Poinsaut
495b6f0440 NEW Supplier Order canceled notification (#26882)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-05-25 14:38:35 +02:00
Laurent Destailleur
e9f7a1996f Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-05-03 18:18:39 +02:00
Laurent Destailleur
4fef808efa Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-05-03 18:16:58 +02:00
Laurent Destailleur
1c81155a9a Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2024-05-03 18:13:21 +02:00
Marc de Lima Lucio
3258b00e16 FIX: notification: error 500 in fixed emails due to a bad copy/paste (#29580) 2024-05-03 18:12:55 +02:00
Laurent Destailleur
07fb11e08e Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-05-02 13:24:33 +02:00
Laurent Destailleur
594280e1df Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-05-02 13:22:47 +02:00
Laurent Destailleur
36873b9fe7 Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2024-05-02 13:20:04 +02:00
Laurent Destailleur
fdb63a6540 Fix related to #29580 2024-05-02 13:06:48 +02:00
Laurent Destailleur
d9278f8580 Fix phan 2024-04-22 15:17:38 +02:00
Laurent Destailleur
d4b7332c76 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-04-22 14:24:14 +02:00
Laurent Destailleur
6303bceecd Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-04-22 14:19:59 +02:00
Laurent Destailleur
c454729f90 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-04-22 14:19:30 +02:00
Laurent Destailleur
79353a6cbb Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2024-04-22 14:17:06 +02:00
Florian Mortgat
54caae51e0 FIX 16.0 - the e-mail templates configured in the notification module are not used if the recipient is a fixed e-mail address (#29407) 2024-04-20 22:44:26 +01:00
Laurent Destailleur
4b1dba0764 Fix replyto and from is not the same. 2024-04-02 14:06:03 +02:00
MDW
a27b730090 Final elseif conditions is always true, optimize 2024-03-31 01:03:30 +01:00
Laurent Destailleur
25d2d52dd8 Debug v20 2024-03-19 16:04:11 +01:00
Laurent Destailleur
442d921ad7 Code comment 2024-03-19 15:55:37 +01:00
Jon Bendtsen
cc0afd1558 Merge branch 'develop' into new_thirdparty_notification_api 2024-03-19 00:03:34 +01:00
Laurent Destailleur
3d02ca0fdc Debug v20 2024-03-16 13:41:24 +01:00
Jon Bendtsen
2f7d6afc6e escaping type and reorder the field order to reduce line length 2024-03-16 10:57:53 +01:00
Jon Bendtsen
158622dfb9 looking in git blame it seems people insert this for far less changes 2024-03-16 10:08:19 +01:00
Jon Bendtsen
bc68755c40 creating notification in database 2024-03-16 09:45:55 +01:00
Jon Bendtsen
e90d35870b there is no trigger available + indent fix 2024-03-16 00:15:40 +01:00
Jon Bendtsen
8d1d1666bf also based on update bank account 2024-03-15 23:51:57 +01:00
Jon Bendtsen
d28835ef7d adding 2 new notification triggers, Order and Invoice cancellation 2024-03-15 20:56:12 +01:00
Jon Bendtsen
5eaa6c84f1 missing one 2024-03-14 18:30:19 +01:00
Jon Bendtsen
18f3e3d20d to remove php-stan complaints 2024-03-14 18:20:37 +01:00
Jon Bendtsen
5970524872 adding some publics and avoid asking for data we don't use 2024-03-13 23:51:49 +01:00
Jon Bendtsen
b3d660cbcb a few more public values that PHPstan complains about missing 2024-03-13 23:47:34 +01:00
Jon Bendtsen
2a63c527c8 delete and fetch notifications. Based on companybankaccount.class.php 2024-03-13 23:09:47 +01:00
Laurent Destailleur
9b288e349e Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-02-18 17:20:16 +01:00
Laurent Destailleur
e38e9618ac Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-02-18 17:14:03 +01:00
Laurent Destailleur
ebe68c9075 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2024-02-18 17:06:36 +01:00
Florian Mortgat
6e5fd5eb58 FIX: notification module: for supplier orders (any of the 3 triggers), user can choose an e-mail template in conf, but the conf is not used when sending the notification (#28216) 2024-02-18 16:31:12 +01:00
Laurent Destailleur
4501872f17 Clean code with rector 2 2024-01-05 04:33:58 +01:00
Frédéric FRANCE
61b79fda17 avoid phpstan error with phpdoc 2023-12-06 15:46:39 +01:00
Laurent Destailleur
54e6de0d7f Fix with php-cs-fixer 2023-12-04 12:04:36 +01:00
Florent Poinsaut
f9a09bf09a FIX Email text supplier order bis (#26884) 2023-11-28 11:41:26 +01:00
Florent Poinsaut
3cd3f0da3f FIX email text for supplier order (#26880)
* Fix email text for supplier order

* Update other.lang

* Update other.lang

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2023-11-28 11:29:57 +01:00
Laurent Destailleur
de96af8543 Fix warning php8.2 2023-11-27 11:24:19 +01:00
lvessiller-opendsi
3dd502b38f NEW subject and message paramaeters on notification hook (#26625) 2023-11-16 23:27:50 +01:00
Florent Poinsaut
82fdfb03ca Use fetch_project method in email (#26284) 2023-10-20 10:53:14 +02:00
William Mead
b3ce1af29d NEW Added notification on closed intervention 2023-10-05 12:11:39 +02:00