38 lines
964 B
PHP
38 lines
964 B
PHP
<?php
|
|
/**
|
|
* @var Order $order
|
|
*/
|
|
$this->setReturnValue([
|
|
'subject' => "[ESTMK] Produktwechsel ".$order->owner->getCompanyOrName(),
|
|
'from_email' => "workspace.admin@xinon.at",
|
|
'from_email_name' => "thetool"
|
|
]);
|
|
|
|
$url_prefix = "http".($_SERVER["HTTPS"] ? "s" : "")."://".$_SERVER["HTTP_HOST"];
|
|
?>
|
|
project: storungen-and-support
|
|
type: Produktwechsel
|
|
status: Neu
|
|
priority: Residential
|
|
Kundenname: <?=str_replace(["\n", "\r"], "", $order->owner->getCompanyOrName())?>
|
|
|
|
Telefon: <?=$order->owner->phone?>
|
|
|
|
e-Mail: <?=$order->owner->email?>
|
|
|
|
Kundennummer: <?=$order->owner->customer_number?>
|
|
|
|
Kunde: <?=str_replace(["\n", "\r"], "", $order->owner->getCompanyOrName())?>
|
|
|
|
|
|
### Neue Produkte:
|
|
<?php foreach($order->products as $product): ?>
|
|
<?=$product->product->name?>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
<?=$url_prefix?><?=self::getUrl("Order", "", ["id" => $order->id])?>
|
|
|
|
|
|
⚠️ Upgradebestellung muss nach der technischen Umstellung in thetool ABGESCHLOSSEN werden.
|