Created
February 24, 2018 06:52
-
-
Save xndrdev/6aeacc427e4ce6fda502fefe25b7e765 to your computer and use it in GitHub Desktop.
Rechnungsblock mit korrekter Lieferadresse erweitert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{extends file="parent:documents/index.tpl"} | |
{block name="document_index_address"} | |
{$smarty.block.parent} | |
{assign var="shippingAddress" value="shipping"} | |
<br /> | |
{$User.$shippingAddress.company}<br /> | |
{$User.$shippingAddress.salutation|salutation} | |
{if {config name="displayprofiletitle"}} | |
{$User.$shippingAddress.title}<br/> | |
{/if} | |
{$User.$shippingAddress.firstname} {$User.$shippingAddress.lastname}<br /> | |
{$User.$shippingAddress.street}<br /> | |
{if {config name=showAdditionAddressLine1}} | |
{$User.$shippingAddress.additional_address_line1}<br /> | |
{/if} | |
{if {config name=showAdditionAddressLine2}} | |
{$User.$shippingAddress.additional_address_line2}<br /> | |
{/if} | |
{if {config name=showZipBeforeCity}} | |
{$User.$shippingAddress.zipcode} {$User.$shippingAddress.city}<br /> | |
{else} | |
{$User.$shippingAddress.city} {$User.$shippingAddress.zipcode}<br /> | |
{/if} | |
{if $User.$shippingAddress.state.shortcode}{$User.$shippingAddress.state.shortcode} - {/if}{$User.$shippingAddress.country.countryen}<br /> | |
{/block} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment