Commit graph

16 commits

Author SHA1 Message Date
Chl a7532db483 Execute the hook only for customer invoices
With the introduction of supplier invoice templates in Dolibarr 16, with the
same hook but different table, this module tried to load the customer invoice
having the same id than the supplier invoice template being treated. This could
result in severe information disclosure.

Fixes gh-10
2024-03-13 18:29:27 +01:00
Chl d3bac76b2e CSRF-protect the form + update the version
Fix #8
2023-12-17 00:22:26 +01:00
Chl cdde859aea Correct the module's family
CRM -> Financial, with the invoice module.
2023-06-05 12:39:50 +02:00
Chl faa3ff6a02 Preparing 0.3.2 release 2021-12-05 02:09:37 +01:00
Chl 224e82f9fa Default choice for body format (auto/txt/html) in module's setup
Enhancement for issue #1
2021-12-05 02:04:18 +01:00
Chl 1e694ef51d [DB upgrade] Adding a field to select the mail's body format
Technical reminder about the DB upgrade :
There doesn't seem to be an easy and reusable way to give CMail both
parts of an text+html email, so we rework the database schema to have
a simple 'body' field with a 'body_ishtml' switch, following CMail
interface.

Enhancement from issue #1
2021-12-05 02:01:00 +01:00
Chl c9bed07a53 v. 0.3.1 2021-07-17 19:33:39 +02:00
Chl 6cfa45fb1b fix for the 0.2.7 "hacky way" :) 2021-07-17 19:27:07 +02:00
Chl b5bc4bca93 v. 0.3.0 : customization form for each recurring invoice 2021-03-23 15:27:33 +01:00
Chl 3f14164994 Allow some mail customization for each template via note_private 2021-02-20 00:32:15 +01:00
Chl 36a17c4590 First try at removing lang specifications from email template 2021-02-19 02:48:14 +01:00
Chl 98ffff0f30 version increment 2021-02-19 02:28:54 +01:00
Chl 766e500b17 email template's type corrected to 'facture_send' 2020-01-13 22:42:44 +01:00
Chl 0c6fd5aa04 We now have a range of registered ids 2019-08-03 23:48:23 +02:00
Chl 77c86bcb13 No setup page at the moment 2019-08-03 19:08:07 +02:00
Chl 4a56e8b1c0 Renaming from sendfacrecmail to sendrecurringinvoicebymail
Since Dolibarr 10.0 just came out, this module may (at last) become
useful. Let's use a more easily understandable name for it.
2019-08-03 19:08:07 +02:00
Renamed from core/modules/modsendfacrecmail.class.php (Browse further)