refs #6222 fix(ticket): step-two #1948
|
@ -585,5 +585,5 @@ END$$
|
||||||
DELIMITER ;
|
DELIMITER ;
|
||||||
|
|
||||||
TRUNCATE TABLE `vn`.`ticketUpdateAction`;
|
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');
|
INSERT INTO `vn`.`ticketUpdateAction` (id, description, code) VALUES(2, 'Convertir en maná', 'mana');
|
|
@ -25,7 +25,7 @@ class Controller extends Component {
|
||||||
|
|
||||||
loadDefaultTicketAction() {
|
loadDefaultTicketAction() {
|
||||||
const isSalesAssistant = this.aclService.hasAny(['salesAssistant']);
|
const isSalesAssistant = this.aclService.hasAny(['salesAssistant']);
|
||||||
this.ticket.option = isSalesAssistant ? 'mana' : 'buyerDiscount';
|
this.ticket.option = isSalesAssistant ? 'mana' : 'renewPrices';
|
||||||
}
|
}
|
||||||
|
|
||||||
onStepChange() {
|
onStepChange() {
|
||||||
|
|
Loading…
Reference in New Issue