4548-invoiceIn-pdf #1113
|
@ -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
|
||||
accessType: 'READ',
|
||||
accepts: [
|
||||
{
|
||||
arg: 'id',
|
||||
type: 'number',
|
||||
required: true,
|
||||
description: 'The ticket id',
|
||||
description: 'The invoiceIn id',
|
||||
alexm marked this conversation as resolved
Outdated
joan
commented
Invoice id? Invoice id?
|
||||
http: {source: 'path'}
|
||||
}
|
||||
],
|
||||
|
|
|
@ -87,7 +87,7 @@ module.exports = {
|
|||
},
|
||||
props: {
|
||||
id: {
|
||||
type: [Number, String],
|
||||
type: Number,
|
||||
alexm marked this conversation as resolved
Outdated
joan
commented
type: Number type: Number
|
||||
description: 'The invoice id'
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Invoice in pdf