Ver código fonte

[backend] Cron : correction bug attach fichier de commandes (mail producteurs)

dev
Guillaume 4 anos atrás
pai
commit
ce458f0540
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      backend/controllers/CronController.php

+ 1
- 1
backend/controllers/CronController.php Ver arquivo

@@ -228,7 +228,7 @@ class CronController extends BackendController
'idProducer' => $producer->id,
'key' => '64ac0bdab7e9f5e48c4d991ec5201d57'
]);
$mail->attach(Yii::getAlias('@app/web/pdf/Orders-' . $date . '-' . $producer->id . '.pdf'));
$mail->attach(Yii::getAlias('@app/web/pdf/Commandes-' . $date . '-' . $producer->id . '.pdf'));
} else {
$subject = '[distrib] Aucune commande';
}

Carregando…
Cancelar
Salvar