Hello everyone,
I have a small problem when creating PDF templates.
I have created the following template:
-------
<table class=“bordered” style=“width: 100%; border-collapse: collapse;”>
<tbody>
<tr>
<td>Cost 100 km</td>
<td>km old</td>
<td>km new</td>
</tr>
{{#each renaultConsumption}}
<tr>
<td>{{kosten100Km}}</td>
<td>{{kMAlt}}</td>
<td>{{kMNew}}</td>
</tr>
{{/each}}
</tbody>
</table>
-------
Everything works wonderfully. But when I want to change the code, EspoCrm simply formats it unbreakable:
-------
{{#each renaultConsumption}}
{{/each}}
<table class=“bordered” style=“width: 100%; border-collapse: collapse;”>
<tbody>
<tr>
<td>Cost 100 km</td>
<td>km old</td>
<td>km new</td>
</tr><tr>
<td>{{kosten100Km}}</td>
<td>{{kMAlt}}</td>
<td>{{kMNew}}</td>
</tr></tbody>
</table>
-------
This makes the code unbreakable for a change.
Do I have to edit my code in a different editor and save it there every time before saving?
What might I be doing wrong?
Is there another solution?
Thanks in advance for your help.
P.S. By the way, EspoCrm is the best I have ever used for my administrations. Thanks again to the team for this first-class work.
I have a small problem when creating PDF templates.
I have created the following template:
-------
<table class=“bordered” style=“width: 100%; border-collapse: collapse;”>
<tbody>
<tr>
<td>Cost 100 km</td>
<td>km old</td>
<td>km new</td>
</tr>
{{#each renaultConsumption}}
<tr>
<td>{{kosten100Km}}</td>
<td>{{kMAlt}}</td>
<td>{{kMNew}}</td>
</tr>
{{/each}}
</tbody>
</table>
-------
Everything works wonderfully. But when I want to change the code, EspoCrm simply formats it unbreakable:
-------
{{#each renaultConsumption}}
{{/each}}
<table class=“bordered” style=“width: 100%; border-collapse: collapse;”>
<tbody>
<tr>
<td>Cost 100 km</td>
<td>km old</td>
<td>km new</td>
</tr><tr>
<td>{{kosten100Km}}</td>
<td>{{kMAlt}}</td>
<td>{{kMNew}}</td>
</tr></tbody>
</table>
-------
This makes the code unbreakable for a change.
Do I have to edit my code in a different editor and save it there every time before saving?
What might I be doing wrong?
Is there another solution?
Thanks in advance for your help.
P.S. By the way, EspoCrm is the best I have ever used for my administrations. Thanks again to the team for this first-class work.
Comment