Hello, is it possible to access the various elements that make up the program of songs for a celebration in order to indicate the progress of all the songs recorded during the celebration (being able to visualize the name, the drive file for the score and the sound). I have currently created a document template where I can indicate whether or not there is an informed singing program for a celebration. I would like to edit the following information in my document (the place of the song, the title of the song, SECLI code, external link and link to the audio) for each of the songs recorded during the celebration.
I tried with the following code:
{% if messe.singing program%}
<div><strong>List of songs:</strong></div>
<ul>
{% for singing in messe.Programmedechant.getChants ()%}
<li>TITLE {{chant.title}} Score {{chant.external link}} Score {{chant.title}}</li>
{% endfor%</ul>}
{% else%}
<div><strong>No chants</strong></div>
{% endif%}
But I have the following error: calling 'title property on a “App\ Entity\ ChantProgramme” object is not allowed in “__string_template__...”
Can you tell me how I can access the properties of the various songs in the program?
My goal is to be able to generate a document listing this information in order to distribute it to the singers and musicians involved in the celebration.
Thanks in advance.
·