Fix order process

This commit is contained in:
2024-10-21 14:57:03 +02:00
parent 18a7814747
commit b1b731f3d3
17 changed files with 212 additions and 213 deletions

View File

@@ -1,6 +1,6 @@
<script setup lang="ts">
import actionDialog from '@/components/basics/actionDialog.vue';
import { useBasketStore } from '@/stores/basketStore';
import { useBasketStore } from '@/stores/basket.store';
import outlinedButton from '@/components/basics/outlinedButton.vue';
import { ModelRef, ref } from 'vue';
import { useAccountStore } from '@/stores/account.store';
@@ -43,14 +43,12 @@ async function doOrder() {
max-width="800"
persistent
>
<v-row>
<v-col>
<v-list class="pa-0">
<v-list-subheader>
{{ $t('account.address', accountStore.userAccount.addresses.length) }}
</v-col>
</v-row>
<v-row>
<v-col>
</v-list-subheader>
<v-list-item>
<v-radio-group
v-model="basketStore.usedAddress"
:error="addressError"
@@ -62,17 +60,13 @@ async function doOrder() {
/>
</v-radio-group>
</v-col>
</v-row>
</v-list-item>
<v-row>
<v-col>
<v-list-subheader>
{{ $t('account.payment', accountStore.userAccount.payments.length) }}
</v-col>
</v-row>
<v-row>
<v-col>
</v-list-subheader>
<v-list-item>
<v-radio-group
v-model="basketStore.usedPayment"
>
@@ -83,8 +77,8 @@ async function doOrder() {
:error="paymentError"
/>
</v-radio-group>
</v-col>
</v-row>
</v-list-item>
</v-list>
<template #actions>
<outlined-button