From 2ee48a53e2deb73c8b0b270d4201d153b158e609 Mon Sep 17 00:00:00 2001 From: robert Date: Wed, 24 Jan 2024 09:59:27 +0100 Subject: [PATCH] refs #6222 fix(ticket): step-two --- db/changes/{240402 => 240403}/00-saleComponent.sql | 2 +- modules/ticket/front/basic-data/step-two/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename db/changes/{240402 => 240403}/00-saleComponent.sql (99%) diff --git a/db/changes/240402/00-saleComponent.sql b/db/changes/240403/00-saleComponent.sql similarity index 99% rename from db/changes/240402/00-saleComponent.sql rename to db/changes/240403/00-saleComponent.sql index 2e1021000..ea2b9c399 100644 --- a/db/changes/240402/00-saleComponent.sql +++ b/db/changes/240403/00-saleComponent.sql @@ -585,5 +585,5 @@ END$$ DELIMITER ; TRUNCATE TABLE `vn`.`ticketUpdateAction`; -INSERT INTO `vn`.`ticketUpdateAction` (id, description, code) VALUES(1, 'Cambiar los precios en el ticket', 'renewPrice'); +INSERT INTO `vn`.`ticketUpdateAction` (id, description, code) VALUES(1, 'Cambiar los precios en el ticket', 'renewPrices'); INSERT INTO `vn`.`ticketUpdateAction` (id, description, code) VALUES(2, 'Convertir en manĂ¡', 'mana'); \ No newline at end of file diff --git a/modules/ticket/front/basic-data/step-two/index.js b/modules/ticket/front/basic-data/step-two/index.js index 9717d1ea4..4818137fa 100644 --- a/modules/ticket/front/basic-data/step-two/index.js +++ b/modules/ticket/front/basic-data/step-two/index.js @@ -25,7 +25,7 @@ class Controller extends Component { loadDefaultTicketAction() { const isSalesAssistant = this.aclService.hasAny(['salesAssistant']); - this.ticket.option = isSalesAssistant ? 'mana' : 'buyerDiscount'; + this.ticket.option = isSalesAssistant ? 'mana' : 'renewPrices'; } onStepChange() {