Budrys Posted February 12, 2020 Share Posted February 12, 2020 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 More sharing options...
annieruci Posted May 1, 2020 Share Posted May 1, 2020 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now