WIP: fix: add ? on not sure values #923

Draft
pablone wants to merge 1 commits from fixEntrySummary into dev
1 changed files with 9 additions and 4 deletions

View File

@ -207,13 +207,13 @@ const fetchEntryBuys = async () => {
<template #value> <template #value>
<span class="link"> <span class="link">
{{ entry.travel.ref }} {{ entry.travel.ref }}
<TravelDescriptorProxy :id="entry.travel.id" /> <TravelDescriptorProxy :id="entry.travel?.id" />
</span> </span>
</template> </template>
</VnLv> </VnLv>
<VnLv <VnLv
:label="t('entry.summary.travelAgency')" :label="t('entry.summary.travelAgency')"
:value="entry.travel.agency?.name" :value="entry.travel?.agency?.name"
/> />
<VnLv :label="t('shipped')" :value="toDate(entry.travel.shipped)" /> <VnLv :label="t('shipped')" :value="toDate(entry.travel.shipped)" />
<VnLv <VnLv
@ -238,7 +238,7 @@ const fetchEntryBuys = async () => {
</QCard> </QCard>
<QCard class="vn-one"> <QCard class="vn-one">
<router-link <router-link
:to="{ name: 'TravelSummary', params: { id: entry.travel.id } }" :to="{ name: 'TravelSummary', params: { id: entry?.travel?.id } }"
class="header header-link" class="header header-link"
> >
{{ t('Travel data') }} {{ t('Travel data') }}
@ -259,6 +259,11 @@ const fetchEntryBuys = async () => {
v-model="entry.isBooked" v-model="entry.isBooked"
:disable="true" :disable="true"
/> />
<QCheckbox
:label="t('entry.summary.raid')"
v-model="entry.isRaid"
:disable="true"
/>
<QCheckbox <QCheckbox
:label="t('entry.summary.excludedFromAvailable')" :label="t('entry.summary.excludedFromAvailable')"
v-model="entry.isExcludedFromAvailable" v-model="entry.isExcludedFromAvailable"
@ -304,7 +309,7 @@ const fetchEntryBuys = async () => {
<span>{{ row.item.itemType.code }}</span> <span>{{ row.item.itemType.code }}</span>
</QTd> </QTd>
<QTd> <QTd>
<span>{{ row.item.id }}</span> <span>{{ row.item?.id }}</span>
</QTd> </QTd>
<QTd> <QTd>
<span>{{ row.item.size }}</span> <span>{{ row.item.size }}</span>