4548-invoiceIn-pdf #1113

Merged
joan merged 22 commits from 4548-invoiceIn-pdf into dev 2022-11-03 07:48:43 +00:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 59e66e1f49 - Show all commits

View File

@ -2,14 +2,14 @@ const {Report} = require('vn-print');
module.exports = Self => {
Self.remoteMethodCtx('invoiceInPdf', {
description: 'Returns the delivery note pdf',
description: 'Returns the invoiceIn pdf',
alexm marked this conversation as resolved Outdated
Outdated
Review

Invoice in pdf

Invoice in pdf
accessType: 'READ',
accepts: [
{
arg: 'id',
type: 'number',
required: true,
description: 'The ticket id',
description: 'The invoiceIn id',
alexm marked this conversation as resolved Outdated
Outdated
Review

Invoice id?

Invoice id?
http: {source: 'path'}
}
],

View File

@ -87,7 +87,7 @@ module.exports = {
},
props: {
id: {
type: [Number, String],
type: Number,
alexm marked this conversation as resolved Outdated
Outdated
Review

type: Number

type: Number
description: 'The invoice id'
}
}