2019-01-31 10:44:03 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="es">
|
|
|
|
<body>
|
|
|
|
<section class="container">
|
2019-02-06 09:53:12 +00:00
|
|
|
<!-- Header component -->
|
2019-02-11 09:06:26 +00:00
|
|
|
<report-header :locale="locale"></report-header>
|
2019-02-06 09:53:12 +00:00
|
|
|
<!-- End header component -->
|
2019-01-31 10:44:03 +00:00
|
|
|
<section class="main">
|
|
|
|
<section class="columns">
|
|
|
|
<section class="size50">
|
|
|
|
<section class="size75">
|
|
|
|
<h1 class="title uppercase">{{$t('title')}}</h1>
|
2019-02-04 09:10:57 +00:00
|
|
|
<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('date')}}</td>
|
|
|
|
<th>{{dated()}}</th>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2019-01-31 10:44:03 +00:00
|
|
|
</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>
|
|
|
|
|
2019-02-04 09:10:57 +00:00
|
|
|
<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">{{getBalance(sale)}}</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>
|
2019-01-31 10:44:03 +00:00
|
|
|
</section>
|
2019-02-06 09:53:12 +00:00
|
|
|
<!-- Footer component -->
|
2019-01-31 10:44:03 +00:00
|
|
|
<report-footer id="pageFooter"
|
2019-02-11 09:06:26 +00:00
|
|
|
:left-text="$t('client', [clientId])"
|
2019-02-05 06:58:05 +00:00
|
|
|
:center-text="clientName"
|
|
|
|
:locale="locale">
|
2019-01-31 10:44:03 +00:00
|
|
|
</report-footer>
|
2019-02-06 09:53:12 +00:00
|
|
|
<!-- End footer component -->
|
2019-01-31 10:44:03 +00:00
|
|
|
</section>
|
|
|
|
</body>
|
|
|
|
</html>
|