2020-01-09 08:01:17 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html v-bind:lang="locale">
|
|
|
|
<head>
|
|
|
|
<meta name="viewport" content="width=device-width">
|
|
|
|
<meta name="format-detection" content="telephone=no">
|
|
|
|
<title>{{ $t('subject') }}</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<table class="grid">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<!-- Empty block -->
|
|
|
|
<div class="grid-row">
|
|
|
|
<div class="grid-block empty"></div>
|
|
|
|
</div>
|
|
|
|
<!-- Header block -->
|
|
|
|
<div class="grid-row">
|
|
|
|
<div class="grid-block">
|
|
|
|
<email-header v-bind="$props"></email-header>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- Block -->
|
|
|
|
<div class="grid-row">
|
|
|
|
<div class="grid-block vn-pa-lg">
|
|
|
|
<h1>{{ $t('title') }}</h1>
|
|
|
|
<p>{{$t('dear')}},</p>
|
|
|
|
<p v-html="$t('description', [dated])"></p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- Block -->
|
|
|
|
<div class="grid-row">
|
|
|
|
<div class="grid-block vn-pa-lg">
|
|
|
|
<table class="column-oriented">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>{{$t('buyer')}}</th>
|
|
|
|
<th class="number">{{$t('percentage')}}</th>
|
|
|
|
<th class="number">{{$t('dwindle')}}</th>
|
|
|
|
<th class="number">{{$t('total')}}</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tr v-for="waste in wastes" v-bind:key="waste.buyer">
|
|
|
|
<td class="font gray">{{waste.buyer}}</td>
|
2020-01-20 06:39:11 +00:00
|
|
|
<td class="number">{{(waste.percentage / 100) | percentage(2, 2, locale)}}</td>
|
2020-01-09 08:01:17 +00:00
|
|
|
<td class="number">{{waste.dwindle | currency('EUR', locale)}}</td>
|
|
|
|
<td class="number">{{waste.total | currency('EUR', locale)}}</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2020-01-16 12:39:32 +00:00
|
|
|
<p v-html="$t('wasteDetailLink')"></p>
|
|
|
|
<div class="external-link vn-pa-sm vn-m-md">
|
|
|
|
<a href="https://salix.verdnatura.es/#!/item/waste" target="_blank">
|
|
|
|
https://salix.verdnatura.es/#!/item/waste
|
|
|
|
</a>
|
|
|
|
</div>
|
2020-01-09 08:01:17 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-01-16 12:39:32 +00:00
|
|
|
|
2020-01-09 08:01:17 +00:00
|
|
|
<!-- Footer block -->
|
|
|
|
<div class="grid-row">
|
|
|
|
<div class="grid-block">
|
|
|
|
<email-footer v-bind="$props"></email-footer>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- Empty block -->
|
|
|
|
<div class="grid-row">
|
|
|
|
<div class="grid-block empty"></div>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</body>
|
|
|
|
</html>
|