Atomize model classes

This commit is contained in:
2024-10-11 17:42:21 +02:00
parent 8e7c9a949d
commit 8f0de99634
59 changed files with 432 additions and 356 deletions

View File

@@ -8,10 +8,6 @@ const basketStore = useBasketStore()
function removeFromBasket(basketItem: BasketItemModel) {
basketStore.removeItemFromBasket(basketItem)
}
function editQuantity(basketItem: BasketItemModel) {
// todo
}
</script>
<template>
@@ -31,12 +27,12 @@ function editQuantity(basketItem: BasketItemModel) {
<tr v-for="basketItem in basketStore.itemsInBasket">
<!-- Band name -->
<td>
{{ basketItem.concert.event.band.name }}
{{ basketItem.band.name }}
</td>
<!-- Event name -->
<td>
{{ basketItem.concert.event.name }}
{{ basketItem.event.name }}
</td>
<!-- Quantity -->