Backend en NODE.js para generar tablas en HTML y posteriormente con ese DOM crear PDFs, con geaders, contenido de las tablas y headers de tablas en cada pagina, footer de paginacion.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

34 lines
999 B

<!-- <tfoot>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td class="bolder"=>TOTAL QTY</td>
<td class="bolder" style="font-size:17px;"><%= InvoiceDetail.length %></td>
<th colspan="2" style="text-align: right;">TOTAL USD $</th>
<td class="bolder" style="font-size:17px;"><%= InvoiceHeader.TotalInvoiceValueMonetaryAmount %></td>
</tr>
</tfoot> -->
</table>
<table width="100%">
<tr>
<td width="60%">&nbsp;</td>
<td width="40%">
<table width="100%" style="text-align:right">
<tr class="bolder">
<td>Total Qty:</td>
<td style="font-size:18px"><%
var TotalWeight=0;
InvoiceDetail.forEach((item)=> { TotalWeight=TotalWeight+item.WeightValue }); %>
<%= TotalWeight.toString().substring(0,7) %>
</td>
<td>TOTAL USD$:</td>
<td style="font-size:18px"><%= InvoiceHeader.TotalInvoiceValueMonetaryAmount %></td>
</tr>
</table>
</td>
</tr>
</table>
</html>