2019-11-27 15:00:42 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html v-bind:lang="locale">
|
|
|
|
<body>
|
|
|
|
<table class="grid">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<!-- Header block -->
|
|
|
|
<div class="grid-row">
|
|
|
|
<div class="grid-block">
|
|
|
|
<report-header v-bind="$props"></report-header>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- Block -->
|
|
|
|
<div class="grid-row">
|
|
|
|
<div class="grid-block">
|
|
|
|
<div class="columns">
|
|
|
|
<div class="size50">
|
2019-11-28 07:30:36 +00:00
|
|
|
<h1 class="title uppercase">{{$t('title')}}</h1>
|
|
|
|
<div class="size75">
|
2019-11-27 15:00:42 +00:00
|
|
|
<table class="row-oriented">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
2019-11-28 07:30:36 +00:00
|
|
|
<td class="font gray">{{$t('Client')}}</td>
|
2019-11-27 15:00:42 +00:00
|
|
|
<th>{{client.id}}</th>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2019-11-28 07:30:36 +00:00
|
|
|
<td class="font gray">{{$t('From')}}</td>
|
2019-11-27 15:00:42 +00:00
|
|
|
<th>{{from | date('%d-%m-%Y')}}</th>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2019-11-28 07:30:36 +00:00
|
|
|
<td class="font gray">{{$t('To')}}</td>
|
2019-11-27 15:00:42 +00:00
|
|
|
<th>{{to | date('%d-%m-%Y')}}</th>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="size50">
|
|
|
|
<div class="panel">
|
|
|
|
<div class="header">{{$t('clientData')}}</div>
|
|
|
|
<div class="body">
|
|
|
|
<h3 class="uppercase">{{client.socialName}}</h3>
|
|
|
|
<div>
|
|
|
|
{{client.street}}
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
{{client.postcode}}, {{client.city}} ({{client.province}})
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
{{client.country}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<table class="column-oriented">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
2020-02-11 12:25:41 +00:00
|
|
|
<th>{{$t('Code')}}</th>
|
2019-11-27 15:00:42 +00:00
|
|
|
<th class="number">{{$t('Quantity')}}</th>
|
|
|
|
<th>{{$t('Concept')}}</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
2020-02-11 12:25:41 +00:00
|
|
|
<tbody>
|
|
|
|
<template v-for="sale in sales">
|
|
|
|
<tr class="font bold">
|
|
|
|
<td>{{sale.itemFk}}</td>
|
|
|
|
<td class="number">{{Math.trunc(sale.subtotal)}}</td>
|
|
|
|
<td>{{sale.concept}}</td>
|
|
|
|
</tr>
|
|
|
|
<tr class="description">
|
|
|
|
<td class="centered">
|
|
|
|
<div v-if="sale.value5">
|
|
|
|
<strong class="font gray">{{sale.tag5}}</strong>
|
|
|
|
<span>{{sale.value5}}</span>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td class="centered">
|
|
|
|
<div v-if="sale.value6">
|
|
|
|
<strong class="font gray">{{sale.tag6}}</strong>
|
|
|
|
<span>{{sale.value6}}</span>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td class="centered">
|
|
|
|
<div v-if="sale.value7">
|
|
|
|
<strong class="font gray">{{sale.tag7}}</strong>
|
|
|
|
<span>{{sale.value7}}</span>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</template>
|
2019-11-27 15:00:42 +00:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- Footer block -->
|
|
|
|
<div class="grid-row">
|
|
|
|
<div class="grid-block">
|
|
|
|
<report-footer id="pageFooter"
|
|
|
|
v-bind:left-text="$t('client', [client.id])"
|
|
|
|
v-bind:center-text="client.socialName"
|
|
|
|
v-bind="$props">
|
|
|
|
</report-footer>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</body>
|
|
|
|
</html>
|