Jump to content

Where is PDF invoice template defined


Valoilmio

Recommended Posts

I need to get the addresses_tab higher in the (css?) space? 

i already managed to move the delivery and billing address to more left and make the delivery address only include the name /address part. but still few lines too low in the screen

 

to be able to fit nicely into post office envelope with screen opening. 

need to remove 2 lines from the red area 

but cannot find place what to edit.

 

problem in css.jpg

Link to comment
Share on other sites

2 hours ago, tuk66 said:

I would shrunk the logo height in the /pdf/header.tpl template. Or just use smaller logo.

yes tested also this -> it changes the logo and makes it smaller but the space reservation is still the same: 
Tried this <img src="{$logo_path}" style="width:{$width_logo}px; height:{$height_logo}px;" />
By removing {$height_logo} and adding manual px sizes. 

No effect, still the receiver text stays in same location.

Link to comment
Share on other sites

So it can cause the right column with three rows. This is /pdf/header.tpl.

<table style="width: 100%">
<tr>
	<td style="width: 50%">
		{if $logo_path}
			<img src="{$logo_path}" style="width:{$width_logo}px; height:{$height_logo}px;" />
		{/if}
	</td>
	<td style="width: 50%; text-align: right;">
		<table style="width: 100%">
			<tr>
				<td style="font-weight: bold; font-size: 14pt; color: #444; width: 100%;">{if isset($header)}{$header|escape:'html':'UTF-8'|upper}{/if}</td>
			</tr>
			<tr>
				<td style="font-size: 14pt; color: #9E9F9E">{$date|escape:'html':'UTF-8'}</td>
			</tr>
			<tr>
				<td style="font-size: 14pt; color: #9E9F9E">{$title|escape:'html':'UTF-8'}</td>
			</tr>
		</table>
	</td>
</tr>
</table>

 

Link to comment
Share on other sites

Yes. tried also to remove 1 line and all lines on right of the page -> no effect. still the same space reservation. there is somewhere a space reservation for this header.tpl file. ??
Tried both, logo pixel change and lines but no change

 

Also tried to totally empty header.tpl and no effect. so the header part is somewhere reserved xxxx pixels, but cannot find where.

 

 

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