Code:
<table border="1" width="100%" cellspacing="0" cellpadding="5"> <tbody> <tr> <th>№</th> <th>Name</th> <th>Unit</th> <th>Quantity</th> </tr> <tr iterate="{{serviceScopes}}" {{#if isGroup}} style="font-weight: bold;" {{/if}} > <td>{{code}}</td> <td>{{name}}</td> <td>q</td> <td>{{quantityInAct}}</td> </tr> </tbody> </table>
After PDF template saving this code transforms to :
Code:
<tr iterate="{{serviceScopes}}" {{#if="" isgroup}}style="font-weight: bold;" {{="" if}}=""> <td>{{code}}</td> <td>{{name}}</td> <td>q</td> <td>{{quantityInAct}}</td> </tr>
Comment