PDF Vorlage html Beispiel

Hier ein kleines Beispiel

<table class="bordered" style="width: 100%; border-collapse: collapse">
   <tbody>
      <tr>
         <th align="left">Anrede
         </th>
         <th align="left">Kontakte Name
         </th>
         <th align="left">Telefonnummer
         </th>
      </tr>
      <tr iterate="{{contacts}}">
         <td>{{salutationName}}</td>
         <td>{{name}}</td>
         <td>{{phoneNumber}}</td>
      </tr>
   </tbody>
</table>

Wichtig:

Zeile 11

Es heißt nun in EspoCrm „iterate“ zur Anzeige aller Datensätze einer bestimmten Entität.