UPDATE: Both of these issue is solved in version 5.9.2. Please see post below if you want the patch/code.
Version EspoCRM 5.9.1
After many attempts and failure I manage to Print Multiple Attachment to PDF. Please see this post (if you are curious) for my trial-test, other here is the final code which work good:
This code is to Print2PDF Field type Attachment Multiple
Final Code at the end of the day:
Anyway it look good and working fine. The issue I'm having trouble is it paragraph by paragraph. Is there any way for me to make it in a row format? So at that size, maybe I can get 4 images in a row. That is my first issue.
I did refer to this page but that seem to be for column by column.
https://docs.espocrm.com/user-guide/...to-pdf/#tables
https://docs.espocrm.com/user-guide/...#each-iterator
---
Second issue I'm having is Printing an Event type entity.
I have no issue printing Meetings and Tasks as it is a default field type by using the this code:
But what I'm having trouble is to link to another Entity I call HistoryEvents. I'm not sure what it stopping it from working, I tried a variation of Parent-Child relationship linking and a few Many-to-Many but no luck. Anyone know what I need to do? Obviously this below code doesn't work out of the box:
Version EspoCRM 5.9.1
After many attempts and failure I manage to Print Multiple Attachment to PDF. Please see this post (if you are curious) for my trial-test, other here is the final code which work good:
This code is to Print2PDF Field type Attachment Multiple
Final Code at the end of the day:
Code:
{{#each imagesIds}} {{imageTag width=100 height=100 ./this}} {{/each}}
I did refer to this page but that seem to be for column by column.
https://docs.espocrm.com/user-guide/...to-pdf/#tables
https://docs.espocrm.com/user-guide/...#each-iterator
---
Second issue I'm having is Printing an Event type entity.
I have no issue printing Meetings and Tasks as it is a default field type by using the this code:
Code:
{{#each meetings}} {{name}} {{/each}}
Code:
{{#each historyEvents}} {{name}} {{/each}}
Comment