7226-testToMaster_2416 #2320

Merged
alexm merged 188 commits from 7226-testToMaster_2416 into master 2024-04-18 05:39:36 +00:00
4 changed files with 7 additions and 12 deletions
Showing only changes of commit 75a4d6947f - Show all commits

View File

@ -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>

View File

@ -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
}
} }
}; };

View File

@ -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

View File

@ -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º