7199-devToTest_2316 #2287

Merged
alexm merged 169 commits from 7199-devToTest_2316 into test 2024-04-11 06:25:23 +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">
<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>

View File

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

View File

@ -1,5 +1,4 @@
subject: Nightly ticket closing process report
title: Nightly ticket closing process report
description: Description
reason: Reason
ticketId: Ticket No

View File

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