...
Info |
---|
Sie können die angegebenen Parameter auf eigene Gefahr nutzen, um den Inhalt ihrer Dokumente & E-Mails zu individualisieren. Testen Sie in jedem Fall jede Änderung vorab im Testsystem. Bei Fragen wenden Sie sich bitte an den SecuTix Support. Achtung: Nicht alle angegebenen Parameter funktionieren in allen Dokumenten. Bitte prüfen Sie ihr Dokument nach der Bearbeitung unbedingt im Testsystem! |
Typ | Dokument | Inhalt | Parameter | Beschreibung | |||
---|---|---|---|---|---|---|---|
Alle E-Mails | Absendername | {$document.metadata.fromContact.setDisplayName("your_sender_email_address")} | Als Absendername wird standardmäßig der externe Name der Institution verwendet. Dieser kann mit der angegebenen Variable überschrieben werden. | Dokumente | Alle Dokumente | Adresse in Kopfzeile | |
Code Block |
---|
#* Customization for Address Salutation*#
{#macro (showDeliveryAddressForInvoice $document $showContactNb)
}{
#*
We first try to check if there is a address associated with invoice shipment. If yes, then use this one.
*#
}{#if($document.docShipment && $document.docShipment.actualContactAddress && $document.docShipment.actualContactAddress.formattedAddress.addressLines.size()!=0)
}{#if($showContactNb == "true" && $document.docShipment.contact)
}{$document.docShipment.contact.contactNumber}
{#end
}{#if ($document.docShipment.contact.structure.structureName)
}{$document.docShipment.contact.structure.structureName
}
{#end
}{#if ($document.docShipment.contact.addressSalutation && !$document.docShipment.contact.structure.structureName)
}{$document.docShipment.contact.addressSalutation
}
{#end
}{#if ($document.docShipment.contact.firstName)
}{$document.docShipment.contact.firstName
}{#end
}{#if ($document.docShipment.contact.lastName)
}{$document.docShipment.contact.lastName
}{#end
}
{#showAddress($document.docShipment.actualContactAddress $document.locale)
}{
#*
If there is no shipment contact address, then use main address of contact.
*#
}{#elseif($document.contact && $document.contact.mainAddress.rawFormattedAddress.addressLines.size()!=0)
}{#if($showContactNb == "true")
}{$document.contact.contactNumber}
{#end
}{#if ($document.contact.structure.structureName)
}{$document.contact.structure.structureName
}
{#end
}{#if ($document.contact.addressSalutation && !$document.contact.structure.structureName)
}{$document.contact.addressSalutation
}
{#end
}{#if ($document.contact.firstName)
}{$document.contact.firstName
}{#end
}{#if ($document.contact.lastName)
}{$document.contact.lastName
}{#end
}
{#showAddress($document.contact.mainAddress $document.locale)
}{#elseif($document.contact && $document.contact.displayName)
}{#if($showContactNb == "true")
}{$document.contact.contactNumber}
{#end
}{#if ($document.contact.structure.structureName)
}{$document.contact.structure.structureName
}
{#end
}{$document.contact.displayName}{
#end}{#if($document.contact.financialInfo.legalInformation && !$ $document.contact.financialInfo.legalInformation.isEmpty())}
{#showLegalInfo($document.contact.financialInfo.legalInformation)}{
#elseif($document.contact.structure)} {#showLegalInfo($document.contact.structure.financialInfo.legalInformation)}{#end}{
#end}{#macro (showShortAddress $address $locale)
}{#foreach ($addressLine in $address.rawFormattedAddress.addressLines)}{
}{$addressLine
}{#if($counter < $address.formattedAddress.addressLines.size())
}
{#end
}{#end
}{#end}{#end}
|
ersetzt den Standard Adressblock mit einem angepassten, indem die Anrede in einer eigenen Zeile steht.
Vorher:
Nacher:"href="https://#joinParts($document.order.ticketUris)&ticketSupport=ETICKET&"
Link in der Bestellbestätigungsmail zum direkten herunterladen des e-Tickets