0
When I add the field {payments2} to the pdf template, I cannot generate the pdf for the invoice any more as I get a white page. I have the paypal plugin installed.
Responses (4)
-
Accepted Answer
-
Accepted Answer
0I don't think I did any changes yet. This is the content:
<tr><td>
{duedate}
</td>
<td >
{description}
</td>
<td >
{payment_status}
</td>
<td align="right" style="text-align:right;">
<a href="/{payment_link}" target="_parent" class="btn btn-info btn-mini"><i class="icon-arrow-right icon-white"></i> Pay now</a>
</td>
<td align="right" style="text-align:right;">
{amount}
</td>
</tr>
I have noticed that {payment_status} is not listed in the available tokens list on the right, so I also tried getting rid of it with no luck.
Also invoices are not linked to any user. -
Accepted Answer
-
Accepted Answer
0Sorry I meant Contacts not invoices. The contact to whom this invoice is related is not linked to any user.
Anyway this is the key:
the place where you call this code is also correct? (inside a table)
The code was inside divs. I have adapted my pending payment code to this and now it works like a charm
Thank you very much!!
Your Reply
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »