3597-feat(print_deliveryNote): add proforma type #906

Merged
joan merged 5 commits from 3597-ticket_descriptor_proforma into dev 2022-03-23 11:22:59 +00:00
2 changed files with 5 additions and 1 deletions
Showing only changes of commit 4a323d2cfb - Show all commits

View File

@ -281,7 +281,7 @@
<!-- Footer block -->
<report-footer id="pageFooter"
v-bind:company-code="ticket.companyCode"
v-bind:left-text="$t(type) + ' ' + ticket.id"
v-bind:left-text="footerType()"
v-bind:center-text="client.socialName"
v-bind="$props">
</report-footer>

View File

@ -109,6 +109,10 @@ module.exports = {
return phytosanitary.filter((item, index) =>
phytosanitary.indexOf(item) == index
).join(', ');
},
footerType() {
const translatedType = this.$t(this.type);
return `${translatedType} ${this.ticketId}`;
}
},
components: {