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