Added Sender to Preordernotification
This commit is contained in:
@@ -234,6 +234,9 @@ class PreordernotificationController extends mfBaseController {
|
||||
//var_dump($filter);
|
||||
$data = [];
|
||||
$data['preordercampaign_id'] = $campaign_id;
|
||||
$data['sender_email'] = $r->sender_email;
|
||||
$data['sender_name'] = $r->sender_name;
|
||||
$data['sender_replyto'] = $r->sender_replyto;
|
||||
$data['subject'] = $r->subject;
|
||||
$data['body_html'] = $r->body_html;
|
||||
$data['note'] = $r->note;
|
||||
@@ -371,7 +374,7 @@ class PreordernotificationController extends mfBaseController {
|
||||
$this->redirect("Preordernotification", "edit", ['id' => $new_id]);
|
||||
}
|
||||
$notification->sendToPreorder($preorder, $r->testmail_to);
|
||||
$this->layout()->setFlash("Testmail versendet", "success");
|
||||
$this->layout()->setFlash("Test Email erfolgreich versendet", "success");
|
||||
$this->redirect("Preordernotification", "edit", ['id' => $new_id]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user