| <#-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| <#escape x as x?xml> |
| |
| <fo:block text-align="left"> |
| <#if logoImageUrl?has_content><fo:external-graphic src="<@ofbizContentUrl>${logoImageUrl}</@ofbizContentUrl>" overflow="hidden" height="40px" content-height="scale-to-fit" content-width="2.00in"/></#if> |
| </fo:block> |
| |
| <fo:block font-size="8pt"> |
| <fo:block>${companyName}</fo:block> |
| <#if postalAddress??> |
| <#if postalAddress?has_content> |
| ${setContextField("postalAddress", postalAddress)} |
| ${screens.render("component://party/widget/partymgr/PartyScreens.xml#postalAddressPdfFormatter")} |
| </#if> |
| <#else> |
| <fo:block>${uiLabelMap.CommonNoPostalAddress}</fo:block> |
| <fo:block>${uiLabelMap.CommonFor}: ${companyName}</fo:block> |
| </#if> |
| |
| <#if sendingPartyTaxId?? || phone?? || email?? || website?? || eftAccount??> |
| <fo:list-block provisional-distance-between-starts=".5in"> |
| <#if sendingPartyTaxId??> |
| <fo:list-item> |
| <fo:list-item-label> |
| <fo:block>${uiLabelMap.PartyTaxId}:</fo:block> |
| </fo:list-item-label> |
| <fo:list-item-body start-indent="body-start()"> |
| <fo:block>${sendingPartyTaxId}</fo:block> |
| </fo:list-item-body> |
| </fo:list-item> |
| </#if> |
| <#if phone??> |
| <fo:list-item> |
| <fo:list-item-label> |
| <fo:block>${uiLabelMap.CommonTelephoneAbbr}:</fo:block> |
| </fo:list-item-label> |
| <fo:list-item-body start-indent="body-start()"> |
| <fo:block><#if phone.countryCode??>${phone.countryCode}-</#if><#if phone.areaCode??>${phone.areaCode}-</#if>${phone.contactNumber!}</fo:block> |
| </fo:list-item-body> |
| </fo:list-item> |
| </#if> |
| <#if email??> |
| <fo:list-item> |
| <fo:list-item-label> |
| <fo:block>${uiLabelMap.CommonEmail}:</fo:block> |
| </fo:list-item-label> |
| <fo:list-item-body start-indent="body-start()"> |
| <fo:block>${email.infoString!}</fo:block> |
| </fo:list-item-body> |
| </fo:list-item> |
| </#if> |
| <#if website??> |
| <fo:list-item> |
| <fo:list-item-label> |
| <fo:block>${uiLabelMap.CommonWebsite}:</fo:block> |
| </fo:list-item-label> |
| <fo:list-item-body start-indent="body-start()"> |
| <fo:block>${website.infoString!}</fo:block> |
| </fo:list-item-body> |
| </fo:list-item> |
| </#if> |
| <#if eftAccount??> |
| <fo:list-item> |
| <fo:list-item-label> |
| <fo:block>${uiLabelMap.CommonFinBankName}:</fo:block> |
| </fo:list-item-label> |
| <fo:list-item-body start-indent="body-start()"> |
| <fo:block>${eftAccount.bankName!}</fo:block> |
| </fo:list-item-body> |
| </fo:list-item> |
| <fo:list-item> |
| <fo:list-item-label> |
| <fo:block>${uiLabelMap.CommonRouting}:</fo:block> |
| </fo:list-item-label> |
| <fo:list-item-body start-indent="body-start()"> |
| <fo:block>${eftAccount.routingNumber!}</fo:block> |
| </fo:list-item-body> |
| </fo:list-item> |
| <fo:list-item> |
| <fo:list-item-label> |
| <fo:block>${uiLabelMap.CommonBankAccntNrAbbr}:</fo:block> |
| </fo:list-item-label> |
| <fo:list-item-body start-indent="body-start()"> |
| <fo:block>${eftAccount.accountNumber!}</fo:block> |
| </fo:list-item-body> |
| </fo:list-item> |
| </#if> |
| </fo:list-block> |
| </#if> |
| </fo:block> |
| </#escape> |