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

'idProducer' => $producer->id, 'idProducer' => $producer->id,
'key' => '64ac0bdab7e9f5e48c4d991ec5201d57' '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 { } else {
$subject = '[distrib] Aucune commande'; $subject = '[distrib] Aucune commande';
} }

Loading…
Cancel
Save