Merge pull request 'test' (!2687) from test into dev
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #2687
Reviewed-by: Alex Moreno <alexm@verdnatura.es>
This commit is contained in:
Alex Moreno 2024-07-05 08:59:39 +00:00
commit 706288f227
1 changed files with 10 additions and 8 deletions

View File

@ -60,6 +60,7 @@ module.exports = Self => {
if (print) await Self.rawSql('CALL vn.collection_printSticker(?,NULL)', [id], myOptions);
for (let ticket of tickets) {
if (ticket.observaciones) {
let observations = ticket.observaciones.split(' ');
for (let observation of observations) {
@ -72,6 +73,7 @@ module.exports = Self => {
}
}
}
}
return getCollection(id, tickets, sales, placements, myOptions);
};