What do you exactly need to print?
Announcement
Collapse
No announcement yet.
One more problem with pdf template
Collapse
X
-
I have to manage participants of a Jazz Workshop. These participants are stored in ESPOCRM as contacts. Every enrolled participant needs a contract (what I already configured with success) and the teachers need lists of these participants sorted by instrument.
So I have search queries regarding the different instruments and these result in contact lists ordered by instrument. Now I want to output these ordered contacts in PDF to print.
Comment
-
Example, to explain how printing related records works.
You have the entity type 'JazzWorkshop'.
JazzWorkshop has a relationship many-to-many with Contact, named 'participants'. Important: Link-Multiple field should be checked for the relationship.
Contact has a field Instrument.
PDF Template for JazzWorkshop entity type:
Code:{{#each participants}} <div>Name: {{name}}, Instrument: {{instrument}}</div> {{/each}}
Name: Miles Davis, Instrument: Trumpet
Name: John Coltrane, Instrument: Saxophone
I don't know your design, so can't give you an exact answer how to compose a template.
If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.
Comment
-
My participants are directly in Contact, I do not have another entity like JazzWorkshop, because my database ist exclusively for interested persons in participating the workshop. So I used the Contacts for every interested to store, like an adress book. For those, who finally are enrolled I have a checkbox and this way I am able to show only enrolled, if I want.
Is to print a list not possible from the entity Contacts directly?
Comment
-
Unfortunately no. You can print from contact list view, when you select search result and print selected records. But in this case there will a new page for each contact.If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.
Comment
-
Putting "<!-- {{#each itemList}} -->" in Code View worked for me. It didn't strip anything.
Can you provide your template code?
طراحی سایت
ثبت دامنه
هاست لینوکس
میزبانی وب
سئوی سایت
طراحی سایت شرکتی
طراحی سایت فروشگاهی
تبلیغات گوگل
میزبانی وب میزبانی سایت هاست لینوکس هاست بلیط هواپیما ثبت دامنه ثبت دامنه ارزان طراحی سایت سئوی سایت طراحی سایت فروشگاهی طراحی سایت شرکتی تبلیغات گوگل طراحی سایت صنعتی طراحی سایت نماینده مجلس بازاریابی شبکه های اجتماعی طراحی سایت پزشکی طراحی سایت ارزان طراحی سایت بیمارستان طراحی سایت مدرسه سئوکار طراحی سایت آموزشگاه طراحی سایت آژانس مسافرتی طراحی لوگو طراحی سایت کارخانه طراحی پورتال سازمانی هزینه طراحی سایت کارشناس تولید محتوا طراحی سایت خبری تبلیغات اینترنتی طراحی سایت هتل طراحی سایت رستوران طراحی سایت املاک طراحی سایت دانشگاه طراحی سایت سازمانی طراحی سایت کلینیک
Last edited by siavash82ir; 11-14-2019, 12:06 PM.
Comment
Comment