Преглед изворни кода

Problème répertoire vues Mailer

master
Guillaume Bourgeois пре 1 година
родитељ
комит
1dac597511
2 измењених фајлова са 4 додато и 4 уклоњено
  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 Прегледај датотеку

@@ -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 Прегледај датотеку

@@ -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…
Откажи
Сачувај