Carrello con scontistica aggiornata
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="q-pa-xs q-gutter-xs">
|
||||
<div v-if="order && order.product" class="q-pa-xs q-gutter-xs">
|
||||
|
||||
<div v-if="order.product" class="row items-center justify-evenly no-wrap">
|
||||
<div class="col-2 text-h6 ellipsis">
|
||||
@@ -31,7 +31,8 @@
|
||||
<div v-if="isApplicatoSconto()">
|
||||
<span class="ordine_scontato_barrato">€ {{ (order.price * order.quantity).toFixed(2) }}</span>
|
||||
</div>
|
||||
€ {{ order.TotalPriceProduct ? order.TotalPriceProduct.toFixed(2) : 0 }}
|
||||
<span v-if="isApplicatoSconto()" class="ordine_scritta_sconto">{{ $t('ecomm.sconto_applicato') }}</span>
|
||||
<span :class="isApplicatoSconto() ? 'ordine_scontato_nuovo' : ''">€ {{ order.TotalPriceProduct ? order.TotalPriceProduct.toFixed(2) : 0 }}</span>
|
||||
</div>
|
||||
<div class="col-1">
|
||||
<q-btn v-if="!nomodif" icon="fas fa-times" color="negative" round size="xs" @click="removeFromCard">
|
||||
|
||||
Reference in New Issue
Block a user