#5858 - zoneCollisions #1853
|
@ -1,16 +1,24 @@
|
||||||
<email-body v-bind="$props">
|
<!DOCTYPE html>
|
||||||
<div class="grid-row">
|
<html v-bind:lang="$i18n.locale">
|
||||||
<div class="grid-block vn-pa-ml">
|
<head>
|
||||||
<table cellspacing="10">
|
<meta name="viewport" content="width=device-width" />
|
||||||
<tr>
|
<meta name="format-detection" content="telephone=no" />
|
||||||
<th>{{ $t('postalCode') }}</th>
|
</head>
|
||||||
<th>{{ $t('zoneFk') }}</th>
|
|
||||||
<th>{{ $t('price') }}</th>
|
<body>
|
||||||
<th>{{ $t('zone') }}</th>
|
<table class="grid column-oriented">
|
||||||
<th>{{ $t('warehouse') }}</th>
|
<thead>
|
||||||
<th>Salix</th>
|
<tr>
|
||||||
</tr>
|
<th>{{ $t('postalCode') }}</th>
|
||||||
<tr v-for="zone in zoneCollisions">
|
<th>{{ $t('zoneFk') }}</th>
|
||||||
|
<th>{{ $t('price') }}</th>
|
||||||
|
<th>{{ $t('zone') }}</th>
|
||||||
|
<th>{{ $t('warehouse') }}</th>
|
||||||
|
<th></th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr v-for="zone in zoneCollisions">
|
||||||
<td>{{ zone.zn.name }}</td>
|
<td>{{ zone.zn.name }}</td>
|
||||||
<td>{{ zone.zoneFk }}</td>
|
<td>{{ zone.zoneFk }}</td>
|
||||||
<td>{{ zone.z.price }}</td>
|
<td>{{ zone.z.price }}</td>
|
||||||
|
@ -22,13 +30,13 @@
|
||||||
'/location?q=%7B%22search%22:%22'+
|
'/location?q=%7B%22search%22:%22'+
|
||||||
zone.zn.name+
|
zone.zn.name+
|
||||||
'%22%7D'">
|
'%22%7D'">
|
||||||
'https://salix.verdnatura.es/#!/zone/'+
|
https://salix.verdnatura.es/#!/zone/
|
||||||
{{zone.zoneFk}}+
|
{{zone.zoneFk}}
|
||||||
'/location?q=%7B%22search%22:%22'+
|
/location?q=%7B%22search%22:%22
|
||||||
{{zone.zn.name}}+
|
{{zone.zn.name}}
|
||||||
'%22%7D</a></td>
|
%22%7D</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</tbody>
|
||||||
</div>
|
</table>
|
||||||
</div>
|
</body>
|
||||||
</email-body>
|
</html>
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
const Component = require(`vn-print/core/component`);
|
const Component = require(`vn-print/core/component`);
|
||||||
const emailBody = new Component('email-body');
|
const emailHeader = new Component('email-header');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
name: 'zone-included',
|
name: 'zone-included',
|
||||||
components: {
|
components: {
|
||||||
'email-body': emailBody.build(),
|
'email-header': emailHeader.build(),
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
zoneCollisions: {type: Array, required: true}
|
zoneCollisions: {type: Array, required: true}
|
||||||
|
|
Loading…
Reference in New Issue