Sfoglia il codice sorgente

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

dev
Guillaume 4 anni fa
parent
commit
ce458f0540
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      backend/controllers/CronController.php

+ 1
- 1
backend/controllers/CronController.php Vedi 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…
Annulla
Salva