7226-testToMaster_2416 #2320
|
@ -1,12 +1,12 @@
|
||||||
<email-body v-bind="$props">
|
<email-body v-bind="$props">
|
||||||
<div class="grid-row">
|
<div class="grid-row">
|
||||||
<div class="grid-block vn-px-ml centered">
|
<div class="grid-block vn-px-ml centered">
|
||||||
<h1>{{ $t('title') }} {{ $t('total') }}: {{tickets.length}}</h1>
|
<h1>{{ $t('title') }}</h1>
|
||||||
<hr>
|
<hr>
|
||||||
</div>
|
</div>
|
||||||
<div v-for="ticket in tickets" class="grid-block vn-px-ml">
|
<div v-for="ticket in tickets" class="grid-block vn-px-ml">
|
||||||
<p v-if="ticket.ticketId"><b>{{ $t('ticketId') }}:</b> {{ticket.ticketId}}</p>
|
<p v-if="ticket.ticketId"><b>{{ $t('ticketId') }}:</b> {{ticket.ticketId}}</p>
|
||||||
<p v-if="ticket.description"><b>{{ $t('description') }}:</b> {{ticket.description}}</p>
|
<p v-if="ticket.reason"><b>{{ $t('reason') }}:</b> {{ticket.reason}}</p>
|
||||||
<hr>
|
<hr>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
const Component = require(`vn-print/core/component`);
|
const Component = require(`vn-print/core/component`);
|
||||||
const emailBody = new Component();
|
const emailBody = new Component('email-body');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
name: 'invoice-ticket-closure',
|
name: 'invoice-ticket-closure',
|
||||||
|
@ -7,13 +7,9 @@ module.exports = {
|
||||||
'email-body': emailBody.build(),
|
'email-body': emailBody.build(),
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
ticketId: {
|
tickets: {
|
||||||
type: Number,
|
type: Array,
|
||||||
required: true
|
required: true
|
||||||
},
|
},
|
||||||
description: {
|
|
||||||
type: String,
|
|
||||||
required: true
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
|
|
||||||
subject: Nightly ticket closing process report
|
subject: Nightly ticket closing process report
|
||||||
title: Nightly ticket closing process report
|
title: Nightly ticket closing process report
|
||||||
description: Description
|
reason: Reason
|
||||||
ticketId: Ticket No
|
ticketId: Ticket No
|
|
@ -1,4 +1,4 @@
|
||||||
subject: Informe proceso de cierre de tickets nocturno
|
subject: Informe proceso de cierre de tickets nocturno
|
||||||
title: Informe proceso de cierre de tickets nocturno
|
title: Informe proceso de cierre de tickets nocturno
|
||||||
description: Descripción
|
reason: Motivo
|
||||||
ticketId: Ticket nº
|
ticketId: Ticket nº
|
Loading…
Reference in New Issue