Small changes to int billing email layout
This commit is contained in:
@@ -23,9 +23,13 @@
|
|||||||
.$order->owner->customer_number." - "
|
.$order->owner->customer_number." - "
|
||||||
.str_replace("\n", "", str_replace("\r\n", " ", $order->owner->getCompanyOrName()));
|
.str_replace("\n", "", str_replace("\r\n", " ", $order->owner->getCompanyOrName()));
|
||||||
*/
|
*/
|
||||||
$subject .= $order->terminations[0]->building->network->name." - "
|
|
||||||
.$order->owner->customer_number." - "
|
if(is_array($order->terminations) && count($order->terminations)) {
|
||||||
.str_replace("\n", "", str_replace("\r\n", " ", $order->owner->getCompanyOrName()));
|
$subject .= $order->terminations[0]->building->network->name." - ";
|
||||||
|
}
|
||||||
|
|
||||||
|
$subject .= $order->owner->customer_number." - "
|
||||||
|
.str_replace("\n", "", str_replace("\r\n", " ", $order->owner->getCompanyOrName()));
|
||||||
|
|
||||||
$this->setReturnValue([
|
$this->setReturnValue([
|
||||||
'subject' => $subject,
|
'subject' => $subject,
|
||||||
|
|||||||
Reference in New Issue
Block a user