Aggiungi il codice alla cassa in automatico

This commit is contained in:
Surya Paolo
2023-12-18 15:21:12 +01:00
parent aaa1f619a5
commit 6d4f3f9f0b
14 changed files with 145 additions and 59 deletions

View File

@@ -10,17 +10,15 @@
</q-btn>
</div>
<div class="col-6" style="text-align: right">
<span v-if="myTotalPrice" class="text-grey q-mr-xs">Totale:</span> <span
class="text-subtitle1 q-mr-sm "> {{ myTotalPrice ? myTotalPrice.toFixed(2) : 0 }}</span>
<span v-if="myTotalPrice" class="text-grey q-mr-xs">Totale:</span> <span class="text-subtitle1 q-mr-sm "> {{
myTotalPrice ? myTotalPrice.toFixed(2) : 0 }}</span>
</div>
</div>
<q-separator></q-separator>
<div id="mybody">
<div v-for="(rec, index) in ordersCart" :key="index" class="col">
<CSingleCart
:order="rec.order"
:showall="false">
<CSingleCart :order="rec.order" :showall="false">
</CSingleCart>
</div>
@@ -29,10 +27,13 @@
{{ $t('ecomm.carrello_vuoto') }}
</div>
<div v-else style="text-align: center">
<q-btn
rounded icon="fas fa-shopping-cart" color="green" :label="$t('ecomm.btn_cassa')" class="q-mb-sm" to="/checkout"
@click="closecart"></q-btn>
<div class="text-center">
<q-btn rounded icon="fas fa-shopping-cart" color="primary" :label="$t('ecomm.btn_cassa')"
class="q-mb-sm" to="/checkout">
</q-btn>
</div>
</div>
</div>
</div>
</template>