You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Si Chen (JIRA)" <ji...@apache.org> on 2006/06/13 19:36:31 UTC
[jira] Closed: (OFBIZ-21) Add Company logo to PackingSlip.pdf
[ http://issues.apache.org/jira/browse/OFBIZ-21?page=all ]
Si Chen closed OFBIZ-21:
------------------------
Resolution: Fixed
thanks. I committed a slightly modified version in svn r 7787. couple of things to note:
1. I used shipment.getRelatedOne("PrimaryOrderHeader"). I think it's generally better to use the relations defined in entities than to get the primary keys and do another findBy_ yourself.
2. Be very careful with this: UtilValidate.isEmpty() will return a false if something is null, so check for nulls explicitly.
> Add Company logo to PackingSlip.pdf
> -----------------------------------
>
> Key: OFBIZ-21
> URL: http://issues.apache.org/jira/browse/OFBIZ-21
> Project: The Open For Business Project
> Type: Improvement
> Components: order
> Versions: SVN trunk
> Environment: linux
> Reporter: Fred Forester
> Priority: Trivial
> Attachments: packingsliplogo.patch
>
> the first 2 patches add the company logo to PackingSlip.pdf. the 3rd patch reduces the size of the logo by half and puts the contact info on the next row.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira