Edit invoice

  • Posts: 34
  • Thank you received: 0
8 years 10 months ago #225815

-- 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!

Attachments:

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
8 years 10 months ago #225818

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.

  • Posts: 34
  • Thank you received: 0
8 years 10 months ago #225872

Hi,

when i change the colspan i get this: see attachment 003
i add the current invoice script as attachment.

Attachments:
Last edit: 8 years 10 months ago by war relics.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
8 years 10 months ago #225900

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.

  • Posts: 34
  • Thank you received: 0
8 years 10 months ago #225960

Thanks for help! Problem Solved!

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

Time to create page: 0.064 seconds
Powered by Kunena Forum