Changing properties on invoice

Is there any way to change the to From: and To: boxes at the top of the invoice ? I would like to have To: displayed on the left, so that a standard envelope with a “window” for adresses will show the To: address.

Good question, …I would also be interested in the answer to that one.

As far as I know you need to change the templates.

I have managed to create a new php template and customize it to my company needs, but I needed to change the php code.

Yeah, I tried having a look into that. But, theres so much definitions in french :confused:

Looking at the PHP code of Crabe template I saw this one at line 1340:

if (! empty($conf->global->MAIN_INVERT_SENDER_RECIPIENT)).

I tried adding MAIN_INVERT_SENDER_RECIPIENT=1 in Setup->Other and the places of the recipient and the sender were changed.

I think this will solve your problem without editing the template.

Thanks !
So much definitions, but sometimes they make useful things like this for other countries :wink:

Why not use ODT template?

Why creating a whole new template for a small change like this? I think changing a single parameter is better than spending time creating new template.

P.S. In my case I wrote a whole PHP template because of many changes needed.

Yes but in the next update might not run change