Changed order in subject

This commit is contained in:
Frank Schubert
2021-10-08 15:36:22 +02:00
parent 768b39f67e
commit 5e3e211bf4

View File

@@ -10,9 +10,10 @@
$this->setReturnValue([
'subject' => $order->terminations[0]->building->network->name." - "
.(($order->terminations[0]->building->networksection_id) ? $order->terminations[0]->building->networksection->name : "<kein Bauabschnitt>")." - "
."Verrechnung ab ".date("m", $billing_start)."/".date("Y", $billing_start)
.$order->owner->customer_number." - "
.str_replace("\n", "", str_replace("\r\n", " ", $order->owner->getCompanyOrName()))." - "
."Verrechnung ab ".date("m", $billing_start)."/".date("Y", $billing_start),
.str_replace("\n", "", str_replace("\r\n", " ", $order->owner->getCompanyOrName()))." - ",
'from_email' => TT_OUTGOING_EMAIL,
'from_email_name' => TT_OUTGOING_EMAIL_NAME
]);