diff --git a/src/plugins/pricelist/components/CalculationTable.vue b/src/plugins/pricelist/components/CalculationTable.vue index 20ce327..d4d6dff 100644 --- a/src/plugins/pricelist/components/CalculationTable.vue +++ b/src/plugins/pricelist/components/CalculationTable.vue @@ -607,12 +607,6 @@ export default defineComponent({ name: 'CalculationTable', components: { PriceTable, Ingredients }, setup() { - onBeforeMount(() => { - store.actions.getDrinks(); - store.actions.getExtraIngredients(); - store.actions.getDrinkTypes(); - }); - const columns = [ { name: 'name', diff --git a/src/plugins/pricelist/components/Drink.vue b/src/plugins/pricelist/components/Drink.vue deleted file mode 100644 index 86cb7a5..0000000 --- a/src/plugins/pricelist/components/Drink.vue +++ /dev/null @@ -1,187 +0,0 @@ - - - - - Neues Getränk - - - - Getränkinformationen - - - - - - - - - - - - - - Preise - - - - - - - - - - - - - - - - - - Zutaten - - - - - - - - - - - - - - - diff --git a/src/plugins/pricelist/components/ExtraIngredients.vue b/src/plugins/pricelist/components/ExtraIngredients.vue new file mode 100644 index 0000000..c214feb --- /dev/null +++ b/src/plugins/pricelist/components/ExtraIngredients.vue @@ -0,0 +1,146 @@ + + + + + + Editere Extrazutaten {{ actualExtraIngredient.name }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/plugins/pricelist/pages/MainPage.vue b/src/plugins/pricelist/pages/MainPage.vue index 861457b..369903b 100644 --- a/src/plugins/pricelist/pages/MainPage.vue +++ b/src/plugins/pricelist/pages/MainPage.vue @@ -21,9 +21,10 @@