Styling PDF Invoice - Joom Donation

  • channing meyer
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
1 year 7 months ago - 1 year 7 months ago #158133 by channing meyer
Styling PDF Invoice - Joom Donation was created by channing meyer
Hi JD Folk:
We are trying to style the invoice that is sent to donor when they make payment.  We want to avoid going into the php files to make these changes. 

1. Spacing is strange and it goes on for two pages (see below).  We used the [DONATION_DETAIL] field tag.   See sample below and full invoice attached.

2. In another test we used all the individual tags, however if a field was not filled out, it would simply show the tag e.g. [ADDRESS2].

Thank you for your assistance.

Channing

The invoice appears like this:
First Name customer name


Last Name customer last name


Organization
company name


Address
444 some street



City name of city

ETC.

 
  • Last edit: 1 year 7 months ago by channing meyer. Reason: correction

    Please Log in or Create an account to join the conversation.

    More
    1 year 7 months ago #158256 by Mr. Dam
    Replied by Mr. Dam on topic Styling PDF Invoice - Joom Donation
    Hi,
    You can modify the invoice layout through Configuration page of Joom Donation, by this way, you can reduce the space between lines in the invoice.
    Thanks
    Dam

    Please Log in or Create an account to join the conversation.

    • Mediterranean Sea and Cost Foundation
    • Offline
    • New Member
    • New Member
    More
    1 year 5 months ago #159166 by Mediterranean Sea and Cost Foundation
    Replied by Mediterranean Sea and Cost Foundation on topic Styling PDF Invoice - Joom Donation
    Hi, I'm also trying to style the PDF invoice but in Configuration page I cannot find the way to change how the DONATION DETAILS is formatted. I also try in the media/com_jdonation/assets/css/style.css but I was not able to make any changes.
    Infact Donation Details are shown as a very long list with too much space between lines
    Thank for your help
    Federica

    Please Log in or Create an account to join the conversation.

    More
    1 year 5 months ago #159186 by Mr. Dam
    Replied by Mr. Dam on topic Styling PDF Invoice - Joom Donation
    Hi,
    Instead of using tag [DONATION_DETAIL] as current, you can use separated tags like [CITY], [STATE], [ADDRESS], [FIRST_NAME], [LAST_NAME]..etc and Joom Donation will replace data of donation records in invoice content. Thus, you will have nicer invoice layout
    Thanks
    Dam

    Please Log in or Create an account to join the conversation.

    Moderators: Mr. DamDũng Nguyễn Việt