Jump to content

Invoice details


Budrys

Recommended Posts

Hello.

 

I want to make changes on my invoice template.

 

I have that code:

        <th class="product header-right small" width="{$layout.unit_price_tax_excl.width}%">{l s='Unit Price' pdf='true'} <br /> {l s='(Tax excl.)' pdf='true'}</th>
        <th class="product header-right small" width="{$layout.unit_price_tax_excl.width}%">{l s='Unit Price' pdf='true'} <br /> {l s='(Tax incl.)' pdf='true'}</th>
        <th class="product header small" width="{$layout.quantity.width}%">{l s='Qty' pdf='true'}</th>
        <th class="product header-right small" width="{$layout.total_tax_excl.width}%">{l s='Total' pdf='true'} <br /> {l s='(Tax incl.)' pdf='true'}</th>

 

Where could I change width of cells? I see that variables $layout.unit_price_tax_excl.width, $layout.quantity.width. Where are they setup?

Link to comment
Share on other sites

  • 2 months later...
On 2/12/2020 at 2:50 PM, Budrys said:

Hello.

 

I want to make changes on my invoice template.

 

I have that code:

        <th class="product header-right small" width="{$layout.unit_price_tax_excl.width}%">{l s='Unit Price' pdf='true'} <br /> {l s='(Tax excl.)' pdf='true'}</th>
        <th class="product header-right small" width="{$layout.unit_price_tax_excl.width}%">{l s='Unit Price' pdf='true'} <br /> {l s='(Tax incl.)' pdf='true'}</th>
        <th class="product header small" width="{$layout.quantity.width}%">{l s='Qty' pdf='true'}</th>
        <th class="product header-right small" width="{$layout.total_tax_excl.width}%">{l s='Total' pdf='true'} <br /> {l s='(Tax incl.)' pdf='true'}</th>

 

Where could I change width of cells? I see that variables $layout.unit_price_tax_excl.width, $layout.quantity.width. Where are they setup?

$layout.unit_price_tax_excl.width - 10 

This way you would be subtracting 10. You are testing

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...