Преглед на файлове

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…
Отказ
Запис