salix/services/print/application/template/letter-debtor/index.html

78 lines
2.8 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html lang="es">
<head>
<title>{{_.subject}}</title>
<meta charset="utf8"/>
</head>
<body>
<!-- Header block -->
{{$.header}}
<!-- Header block end -->
<!-- Body block -->
2018-08-06 12:09:37 +00:00
<main>
<div class="columns">
<div class="size50">
<div class="size50">
<h1 style="margin-top:0" class="font extraLarge">EXTRACTO</h1>
2018-08-06 12:09:37 +00:00
<div class="row inline font normal">
<div class="text font gray">CLIENTE:</div>
<div class="control">{{clientId}}</div>
</div>
2018-08-06 12:09:37 +00:00
<div class="row inline font normal">
<div class="text font gray">FECHA:</div>
<div class="control">{{currentDate}}</div>
</div>
</div>
</div>
<div class="size50">
<div class="panel">
2018-08-06 12:09:37 +00:00
<div class="header">Datos de cliente</div>
<p>
2018-08-06 12:09:37 +00:00
<strong>{{clientName}}</strong>
</p>
<div>
2018-08-06 12:09:37 +00:00
{{street}}
</div>
<div>
2018-08-06 12:09:37 +00:00
{{postcode}}, {{city}} ({{province}})
</div>
<div>
2018-08-06 12:09:37 +00:00
{{country}}
</div>
</div>
</div>
</div>
2018-08-06 12:09:37 +00:00
<div class="grid" style="margin-top:20px">
<div class="row header inline">
2018-08-06 12:09:37 +00:00
<div style="width: 15%">Fecha</div>
<div style="width: 40%">Concepto</div>
<div style="width: 15%">Facturado</div>
<div style="width: 15%">Pagado</div>
<div style="width: 15%">Saldo</div>
</div>
2018-08-06 12:09:37 +00:00
{{#lines}}
<div class="row inline">
2018-08-06 12:09:37 +00:00
<div class="font bold" style="width: 15%">{{issued}}&nbsp;</div>
<div class="font bold" style="width: 40%">{{ref}}&nbsp;</div>
<div class="font bold" style="width: 15%">{{debtOut}}&nbsp;</div>
<div class="font bold" style="width: 15%">{{debtIn}}&nbsp;</div>
<div class="font bold" style="width: 15%">{{balance}}&nbsp;</div>
</div>
2018-08-06 12:09:37 +00:00
{{/lines}}
<div class="row last inline">
<div style="width: 55%"><strong>Total</strong></div>
<div style="width: 15%">{{totalDebtOut}}</div>
<div style="width: 15%">{{totalDebtIn}}</div>
<div style="width: 15%">{{totalBalance}}</div>
</div>
</div>
2018-08-06 12:09:37 +00:00
</main>
<!-- Body block end -->
<!-- Footer block -->
{{$.footer}}
<!-- Footer block end -->
</body>
</html>