Browse Source

Merge branch 'hotfix/hotfix_1411'

master
Guillaume Bourgeois 1 year ago
parent
commit
35077d03e4
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      common/logic/Document/Document/Service/DocumentManager.php
  2. +2
    -2
      common/logic/User/UserProducer/Service/UserProducerBuilder.php

+ 2
- 2
common/logic/Document/Document/Service/DocumentManager.php View File

@@ -128,8 +128,8 @@ class DocumentManager extends AbstractManager

$email = \Yii::$app->mailer->compose(
[
'html' => 'sendDocument-html',
'text' => 'sendDocument-text'
'html' => '@common/mail/sendDocument-html',
'text' => '@common/mail/sendDocument-text'
], [
'document' => $document
])

+ 2
- 2
common/logic/User/UserProducer/Service/UserProducerBuilder.php View File

@@ -127,8 +127,8 @@ class UserProducerBuilder extends AbstractBuilder
if($user && $user->email && strlen($user->email) > 0) {
\Yii::$app->mailer->compose(
[
'html' => 'creditLimitReminder-html',
'text' => 'creditLimitReminder-text'
'html' => '@common/mail/creditLimitReminder-html',
'text' => '@common/mail/creditLimitReminder-text'
],
[
'user' => $user,

Loading…
Cancel
Save