[ 
https://issues.apache.org/jira/browse/OFBIZ-4715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13219934#comment-13219934
 ] 

Jacopo Cappellato commented on OFBIZ-4715:
------------------------------------------

Hi Markus,

if the variable name "postalAddress" will cause conflicts you can use a 
different name that still makes sense and it is generic.

And after thinking more about this, I would suggest also to change the names of 
the generic screens in the following way (or similar):
postalAddress       ---> postalAddressHtmlFormatter
postalAddressPdf    ---> postalAddressPdfFormatter

then the name of the input "postalAddress" variable (i.e. the GenericValue that 
contains the postal address) could be renamed:

postalAddress   ---> postalAddressFormatter_postalAddress (or similar)

I hope it helps
                
> Invoice PDF and Contact Information show Region Code instead of Country Code 
> before the Zip Code
> ------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-4715
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4715
>             Project: OFBiz
>          Issue Type: Bug
>          Components: party, specialpurpose/ecommerce
>    Affects Versions: SVN trunk
>            Reporter: Markus M. May
>            Assignee: Jacopo Cappellato
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: 
> OFBIZ-4715-add-locale-for-country-and-remove-countryGeo-if-not-us.patch, 
> OFBIZ-4715-add-postal-address-formatting-to-fo-ftls.patch, 
> OFBIZ-4715-initial-commit.patch, OFBIZ-4715-initial-commit.patch
>
>
> The Invoice PDF and the Contact Information in the Party application show the 
> Region Code instead of the Country Code before the Zip Code. This will be 
> fine for the US, here in Germany it is rather unusual. 
> I propose to avoid this by removing the Region Code if the country is 
> different then US.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to