Skip to main content

Edit invoice

More
10 years 8 months ago #225815 by war relics
Edit invoice was created by war relics
-- HikaShop version -- : 2.6.0

Hi,

can you help me to edit my invoice in the correct way?
The lower column is displayed in the wrong width (see the attachment 001)

I would like to see it as attachment 002

Thanks!

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

More
10 years 8 months ago #225818 by nicolas
Replied by nicolas on topic Edit invoice
Hi,

You want to edit the file "invoice" of the view "order" for your backend template via the menu Display>Views.
There you need to change the colspan for the left area by changing the line:
<?php $colspan = 2; ?>
to:
<?php $colspan = 1; ?>

And then changing all the lines:
<td class="key">
to:
<td class="key" colspan="2">

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

More
10 years 8 months ago - 10 years 8 months ago #225872 by war relics
Replied by war relics on topic Edit invoice
Hi,

when i change the colspan i get this: see attachment 003
i add the current invoice script as attachment.
Last edit: 10 years 8 months ago by war relics.

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

More
10 years 8 months ago #225900 by nicolas
Replied by nicolas on topic Edit invoice
Hi,

You also need to add the colspan="2" attribute to the other rows.

So this line:
<td style="border-top:2px solid #B8B8B8;" class="key">
needs to be:
<td style="border-top:2px solid #B8B8B8;" class="key" colspan="2">
for the subtotal.

And this line:
<td class="hikashop_order_tax_title key">
needs to be:
<td class="hikashop_order_tax_title key" colspan="2">
for the taxes.
The following user(s) said Thank You: war relics

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

More
10 years 8 months ago #225960 by war relics
Replied by war relics on topic Edit invoice
Thanks for help! Problem Solved!

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

Time to create page: 0.244 seconds
Powered by Kunena Forum