Ver código fonte

Merge branch 'hotfix/hotfix_1411'

master
Guillaume Bourgeois 1 ano atrás
pai
commit
35077d03e4
2 arquivos alterados com 4 adições e 4 exclusões
  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 Ver arquivo

@@ -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 Ver arquivo

@@ -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,

Carregando…
Cancelar
Salvar