diff --git a/src/pages/Ticket/Card/TicketSale.vue b/src/pages/Ticket/Card/TicketSale.vue index f179257f7..3e89e96bf 100644 --- a/src/pages/Ticket/Card/TicketSale.vue +++ b/src/pages/Ticket/Card/TicketSale.vue @@ -476,6 +476,7 @@ onUnmounted(() => (stateStore.rightDrawer = false)); :ticket-config="ticketConfig" @get-mana="getMana()" @update-discounts="updateDiscount" + @re-calculated-price="resetChanges" /> { const calculateSalePrice = async () => { if (!props.sales) return; + console.log('CALLED'); await axios.post(`Sales/recalculatePrice`, props.sales); notify(t('globals.dataSaved'), 'positive'); + emit('reCalculatedPrice', props.sales); }; const changeMultipleDiscount = () => {