Welcome, Guest
Username: Password: Remember me

TOPIC: Changing properties on invoice

Changing properties on invoice 1 year 3 months ago #23011

  • FatMax
  • FatMax's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
  • Karma: 0
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.
The administrator has disabled public write access.

Re:Changing properties on invoice 1 year 2 months ago #23013

  • mickrich
  • mickrich's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
  • Karma: 0
Good question, ...I would also be interested in the answer to that one.
The administrator has disabled public write access.

Re:Changing properties on invoice 1 year 2 months ago #23015

  • vihren
  • vihren's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 18
  • Karma: 0
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.
Last Edit: 1 year 2 months ago by vihren.
The administrator has disabled public write access.

Re:Changing properties on invoice 1 year 2 months ago #23016

  • FatMax
  • FatMax's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
  • Karma: 0
Yeah, I tried having a look into that. But, theres so much definitions in french :/
The administrator has disabled public write access.

Re:Changing properties on invoice 1 year 2 months ago #23023

  • vihren
  • vihren's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 18
  • Karma: 0
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.
The administrator has disabled public write access.

Re:Changing properties on invoice 1 year 2 months ago #23126

  • HubZ
  • HubZ's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 79
  • Thank you received: 1
  • Karma: 0
Thanks !
So much definitions, but sometimes they make useful things like this for other countries ;)
The administrator has disabled public write access.

Re:Changing properties on invoice 1 year 2 months ago #23127

  • ndrosis
  • ndrosis's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 149
  • Thank you received: 21
  • Karma: 9
Why not use ODT template?
The administrator has disabled public write access.

Re:Changing properties on invoice 1 year 2 months ago #23130

  • vihren
  • vihren's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 18
  • Karma: 0
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.
The administrator has disabled public write access.

Re:Changing properties on invoice 1 year 2 months ago #23131

  • ndrosis
  • ndrosis's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 149
  • Thank you received: 21
  • Karma: 9
Yes but in the next update might not run change
Last Edit: 1 year 2 months ago by ndrosis.
The administrator has disabled public write access.
Time to create page: 0.088 seconds