Menu

SuiteCRM Master Classes 2018

Welcome, Guest
Username: Password: Remember me

TOPIC: Trying to get quote pdf templates to work

Trying to get quote pdf templates to work 4 days 20 hours ago #66062

  • nikos
  • nikos's Avatar
  • Offline
  • Junior Member
  • Posts: 34
  • Karma: 0
Hi,

I am trying to make a simple (?) quote templete but can't seem to make it work
As posted here the pdf template system can not handle multiple times the same field.. I have reported a bug but until it get answered I am trying to find a workarouind for this but can't get it to work.

What am I trying to do: We are selling software and hardware and (mainly) for the hardware we need to display the specs on the quote. I created a custom field that works OK for this.

What layout I am trying to use: We are using the group quote template as a base

What the layout should like like:
Product name 2 (using custom field to avoid bug reported above)
Product specs (using custom field)
<pagebreak>

Product name | qty | price | Total price

The problem is that the pdf template won't display "Product name2 and product specs" but displays the raw field code eg $aos_products_specs_c

If I put $aos_products_specs_c inside the table it works OK.

What am I doing wrong?
The administrator has disabled public write access.

Trying to get quote pdf templates to work 4 days 16 hours ago #66069

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 5865
  • Thank you received: 908
  • Karma: 216
I don't remember if I already recommended this to you on another thread or not...

But have you tried customizing the code to get full control, once and for all, of how things get substituted?

stackoverflow.com/a/28793261/1189711

Try to make your changes upgrade-safe, and if you can't, make sure you save a copy of your changes so you can re-apply them after upgrades.
The administrator has disabled public write access.

Trying to get quote pdf templates to work 4 days 16 hours ago #66073

  • nikos
  • nikos's Avatar
  • Offline
  • Junior Member
  • Posts: 34
  • Karma: 0
Hi,

Thanks for the reply.
I didn't quite get it though. I am not trying to use any contisions in this template.
I just don't understand why if I put the field under the name (once) it works and if I put it anywhere else in the template it does not work

Kind Regards
The administrator has disabled public write access.

Trying to get quote pdf templates to work 4 days 15 hours ago #66079

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 5865
  • Thank you received: 908
  • Karma: 216
It's just the place where you can try and find out...

I don't have time to go in-depth into every issue, and neither does the developer team. That's why I try to stimulate the Community to look for bugs and propose fixes themselves. But I understand not everybody is a developer, and many smaller companies don't have any developers working for them, so it's not always possible....
The administrator has disabled public write access.

Trying to get quote pdf templates to work 4 days 14 hours ago #66086

  • nikos
  • nikos's Avatar
  • Offline
  • Junior Member
  • Posts: 34
  • Karma: 0
I understand that but even the bugs (I report) are not fixed :-(
I wouldn;t even mention it if was not a basic feature.
Maybe I am doing something wrong. But it seems very strange and not logical at all that if I put a variable in one position it works and if I put it in an other place it works.
The administrator has disabled public write access.
Time to create page: 0.056 seconds
Powered by Kunena Forum