add fixtures
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Vicent Llopis 2023-01-11 12:38:37 +01:00
parent caff537f2e
commit 9042eaaf9f
2 changed files with 5 additions and 1 deletions

View File

@ -2760,6 +2760,10 @@ INSERT INTO `salix`.`url` (`appName`, `environment`, `url`)
('lilium', 'dev', 'http://localhost:8080/#/'),
('salix', 'dev', 'http://localhost:5000/#!/');
INSERT INTO `vn`.`report` (`id`, `name`, `paperSizeFk`, `method`)
VALUES
(3, 'invoice', NULL, 'InvoiceOuts/{reference}/invoice');
INSERT INTO `vn`.`payDemDetail` (`id`, `detail`)
VALUES
(1, 1);

View File

@ -141,7 +141,7 @@ module.exports = Self => {
'invoice',
?,
account.myUser_getId(),
JSON_OBJECT('reference', ?),
JSON_OBJECT('refFk', ?),
'normal'
);`;
await models.InvoiceOut.rawSql(query, [1 /* vPrinterFk */, invoiceOut.ref], myOptions);