96 lines
4.4 KiB
HTML
96 lines
4.4 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="es">
|
|
<body>
|
|
<section class="container" id="report">
|
|
<!-- Header component -->
|
|
<report-header :locale="locale"></report-header>
|
|
<!-- End header component -->
|
|
<section class="main">
|
|
<section class="columns">
|
|
<section class="size50">
|
|
<section class="size75">
|
|
<h1 class="title uppercase">{{$t('title')}}</h1>
|
|
<table class="row-oriented">
|
|
<tbody>
|
|
<tr>
|
|
<td class="font gray uppercase">{{$t('clientId')}}</td>
|
|
<th>{{clientId}}</th>
|
|
</tr>
|
|
<tr>
|
|
<td class="font gray uppercase">{{$t('ticketId')}}</td>
|
|
<th>{{ticketId}}</th>
|
|
</tr>
|
|
<tr>
|
|
<td class="font gray uppercase">{{$t('date')}}</td>
|
|
<th>{{dated()}}</th>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</section>
|
|
</section>
|
|
<section class="size50">
|
|
<section class="panel">
|
|
<section class="header">{{$t('clientData')}}</section>
|
|
<section class="body">
|
|
<h3 class="uppercase">{{clientName}}</h3>
|
|
<section>
|
|
{{street}}
|
|
</section>
|
|
<section>
|
|
{{postcode}}, {{city}} ({{province}})
|
|
</section>
|
|
<section>
|
|
{{country}}
|
|
</section>
|
|
</section>
|
|
</section>
|
|
</section>
|
|
</section>
|
|
|
|
<table class="column-oriented">
|
|
<thead>
|
|
<tr>
|
|
<th>{{$t('date')}}</th>
|
|
<th>{{$t('concept')}}</th>
|
|
<th class="number">{{$t('invoiced')}}</th>
|
|
<th class="number">{{$t('payed')}}</th>
|
|
<th class="number">{{$t('balance')}}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr v-for="sale in sales" :key="sale.id">
|
|
<td>{{toISOString(sale.issued)}}</td>
|
|
<td>{{sale.ref}}</td>
|
|
<td class="number">{{sale.debtOut}}</td>
|
|
<td class="number">{{sale.debtIn}}</td>
|
|
<td class="number">{{a}}</td>
|
|
</tr>
|
|
</tbody>
|
|
<tfoot>
|
|
<!-- <tr>
|
|
<td></td>
|
|
<td></td>
|
|
<td class="number"><strong class="pull-left">Total</strong> {{getTotalDebtOut()}}</td>
|
|
<td class="number">{{getTotalDebtIn()}}</td>
|
|
<td class="number">{{totalBalance}}</td>
|
|
</tr> -->
|
|
</tfoot>
|
|
</table>
|
|
|
|
<div class="panel" style="text-align:center;background-color:red">
|
|
<div class="header">Firma digital</div>
|
|
<img width="200" src="http://windows.verdnatura.es/signatures/tickets/1161229.png"/>
|
|
<section>{{dmsCreated}}</section>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<!-- Footer component -->
|
|
<report-footer id="pageFooter"
|
|
:left-text="$t('ticket', [ticketId])"
|
|
:center-text="clientName"
|
|
:locale="locale">
|
|
</report-footer>
|
|
<!-- End footer component -->
|
|
</section>
|
|
</body>
|
|
</html> |