Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

change layout of items table footer rows
(1 viewing) (1) Guest
Support forum for customers who have purchased this product. Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1

TOPIC: change layout of items table footer rows

change layout of items table footer rows 11 years, 7 months ago #39143

Hi, can someone tell me where I can find the file to adjust the width of the items table footer rows in the invoice pdf in particular the label column

see attached image of current invoice, I want to have the labels so they are on one line each

Current layout:

Subtotal: AUD 77.90
Damage
Waiver 5%: AUD 1.25
Coupon
Discount: AUD -3.20
Total GST: AUD 3.45
Total (inc
GST): AUD 75.95

would like it to be:

Subtotal: AUD 77.90
Damage Waiver 5%: AUD 1.25
Coupon Discount: AUD -3.20
Total GST: AUD 3.45
Total (inc GST): AUD 75.95

invoice.jpg


Thanks

PHP Version 5.3.13
Web Server Apache/2
Joomla! Version Joomla! 2.5.7 Stable
Virtuemart 2.0.20b
Last Edit: 11 years, 7 months ago by staceymoran. Reason: add image
The topic has been locked.

Re: change layout of items table footer rows 11 years, 7 months ago #39177

  • maju
  • OFFLINE
  • Posts: 1107
Hello,

You can edit this table in: Invoice Configuration -> Invoice Template -> Items block

For sure edit both: Table Header and Table Row. JCE editor allow me to edit cell properties after click on table cell with right mouse button. There you can set width. If you have not JCE and your editor doesn't allow you to set it, you should be able to edit it in source code. There will be something like this:

<table style="width: 100%;" border="0">
<tbody>
<tr>
<td style="width: 5%;" align="left">{qty}{qty_unit}</td>
<td style="width: 10%;" align="center">{item_image}</td>
<td style="width: 10%;" align="left">{sku}</td>
<td style="width: 35%;" align="left">{name}
<div style="font-size: 70%; text-align: left;">{attributes}</div>
</td>
<td style="width: 10%;" align="right">{price}</td>
<td style="width: 10%;" align="right">{price_notax}</td>
<td style="width: 10%;" align="right">{tax_rate}</td>
<td style="width: 10%;" align="right">{tax_price}</td>
<td style="width: 10%;" align="right">{discount}</td>
<td style="width: 15%;" align="right">{subtotal}</td>
</tr>
</tbody>
</table>


You should be able to modify width for every column. Please, make same widths for Table Header and Table Row for sure.
ARTIO Support Team
The topic has been locked.
  • Page:
  • 1
Přihlášení uživatele Prázdný