diff --git a/sql/develop.sql b/sql/develop.sql index 5dd19ad4cadefdca89d486d20b58c449b55e5068..f624090f68664a1f651cad01ff8c699d432e599b 100644 --- a/sql/develop.sql +++ b/sql/develop.sql @@ -519,6 +519,9 @@ INSERT INTO status (id, label_status, is_system, img_filename, maarch_module, ca DELETE FROM status WHERE id = 'FRZ'; INSERT INTO status (id, label_status, is_system, img_filename, maarch_module, can_be_searched, can_be_modified) VALUES ('FRZ', 'PJ gelée', 'Y', 'fa-pause', 'apps', 'Y', 'Y'); +DELETE FROM status WHERE id = 'SEND_MASS'; +INSERT INTO status (id, label_status, is_system, img_filename, maarch_module, can_be_searched, can_be_modified) VALUES ('SEND_MASS', 'Pour publipostage', 'Y', 'fa-mail-bulk', 'apps', 'Y', 'Y'); + DELETE FROM status WHERE id = 'SIGN'; INSERT INTO status (id, label_status, is_system, img_filename, maarch_module, can_be_searched, can_be_modified) VALUES ('SIGN', 'PJ signée', 'Y', 'fa-check', 'apps', 'Y', 'Y'); diff --git a/src/app/attachment/controllers/AttachmentController.php b/src/app/attachment/controllers/AttachmentController.php index 5a041096353ab23fb340c73dfe9a33629f007a9f..da0a5517dfcfd5331b3ad68adf3f63ef6fb28735 100644 --- a/src/app/attachment/controllers/AttachmentController.php +++ b/src/app/attachment/controllers/AttachmentController.php @@ -361,6 +361,10 @@ class AttachmentController 'value' => $contactForMailing['address_id'], 'type' => 'integer' ]); + array_push($dataValue, [ + 'column' => 'in_signature_book', + 'value' => 'true', + ]); $params = [ 'res_id' => $aArgs['resIdMaster'],