0
0
Fork 0

Fix order summary address

This commit is contained in:
Kevin Martinez 2023-12-22 01:01:51 -04:00
parent fdbad9c2cb
commit 3ea1fc775d
1 changed files with 16 additions and 13 deletions

View File

@ -110,15 +110,11 @@ const detailsColumns = ref([
:label="t('order.summary.createdFrom')" :label="t('order.summary.createdFrom')"
:value="entity?.sourceApp" :value="entity?.sourceApp"
/> />
<VnLv :label="t('order.summary.address')"> <VnLv
<template #value> :label="t('order.summary.address')"
<span class="address"> :value="`${entity?.address?.street} - ${entity?.address?.city} (${entity?.address?.province?.name})`"
{{ class="order-summary-address"
`${entity?.address?.street} - ${entity?.address?.city} (${entity?.address?.province?.name})` />
}}
</span>
</template>
</VnLv>
</QCard> </QCard>
<QCard class="vn-one"> <QCard class="vn-one">
<p class="header"> <p class="header">
@ -203,11 +199,18 @@ const detailsColumns = ref([
</template> </template>
</CardSummary> </CardSummary>
</template> </template>
<style lang="scss" scoped> <style lang="scss">
.address { .cardSummary .summaryBody .vn-label-value.order-summary-address {
white-space: normal; .label {
flex-shrink: 0;
} }
.value {
white-space: normal;
}
}
</style>
<style lang="scss" scoped>
.item { .item {
text-align: center; text-align: center;
} }