Merge pull request 'hotfix-change minus' (!1782) from hotfix-refundTicket into master
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #1782
Reviewed-by: Javi Gallego <jgallego@verdnatura.es>
This commit is contained in:
Carlos Satorres 2023-10-06 05:02:51 +00:00
commit b8321c12c3
1 changed files with 2 additions and 2 deletions

View File

@ -114,8 +114,8 @@ module.exports = Self => {
for (const service of services) {
await models.TicketService.create({
description: service.description,
quantity: service.quantity,
price: - service.price,
quantity: - service.quantity,
price: service.price,
taxClassFk: service.taxClassFk,
ticketFk: refundTicket.id,
ticketServiceTypeFk: service.ticketServiceTypeFk,