4548-invoiceIn-pdf #1113
Labels
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix#1113
Loading…
Reference in New Issue
No description provided.
Delete Branch "4548-invoiceIn-pdf"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -0,0 +2,4 @@
module.exports = Self => {
Self.remoteMethodCtx('invoiceInPdf', {
description: 'Returns the delivery note pdf',
Invoice in pdf
@ -0,0 +9,4 @@
arg: 'id',
type: 'number',
required: true,
description: 'The ticket id',
Invoice id?
@ -0,0 +87,4 @@
},
props: {
id: {
type: [Number, String],
type: Number
@ -0,0 +1,4 @@
INSERT INTO `salix`.`ACL` (`model`, `property`, `accessType`, `permission`, `principalType`, `principalId`)
VALUES
('InvoiceIn', 'invoiceInPdf', 'READ', 'ALLOW', 'ROLE', 'administrative'),
('InvoiceIn', 'invoiceInEmail', 'WRITE', 'ALLOW', 'ROLE', 'administrative'),
perque uno te read y l'altre WRITE?
@ -19,3 +19,5 @@ To book: Contabilizar
Total amount: Total importe
Total net: Total neto
Total stems: Total tallos
Show Invoice as PDF: Ver Factura Agrícola como PDF
i minuscula, y per a l'anglés posa que es agricola.