Browse Source

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

refactoring
Guillaume 4 years ago
parent
commit
ce458f0540
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      backend/controllers/CronController.php

+ 1
- 1
backend/controllers/CronController.php View File

@@ -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';
}

Loading…
Cancel
Save