agg
This commit is contained in:
@@ -321,6 +321,75 @@
|
|||||||
|
|
||||||
<div>
|
<div>
|
||||||
<q-list>
|
<q-list>
|
||||||
|
<q-item
|
||||||
|
v-if="
|
||||||
|
cosa === shared_consts.PROD.BOTTEGA ||
|
||||||
|
(cosa === shared_consts.PROD.GAS &&
|
||||||
|
products.getQtyAvailable(myproduct) > 0)
|
||||||
|
"
|
||||||
|
:clickable="tools.isManager()"
|
||||||
|
@click="
|
||||||
|
tools.isManager() &&
|
||||||
|
myproduct.QuantitaOrdinateInAttesa &&
|
||||||
|
myproduct.QuantitaOrdinateInAttesa > 0
|
||||||
|
? visuListDisponibili()
|
||||||
|
: null
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<q-item-section avatar>
|
||||||
|
<q-icon color="green" name="fas fa-store" />
|
||||||
|
</q-item-section>
|
||||||
|
|
||||||
|
<q-item-section>
|
||||||
|
<q-item-label class="subtit_prod">
|
||||||
|
{{ t('ecomm.available') }}
|
||||||
|
</q-item-label>
|
||||||
|
<q-item-label>
|
||||||
|
<span class="prod_disp">
|
||||||
|
{{ products.getQtyAvailable(myproduct) }}
|
||||||
|
</span>
|
||||||
|
<div class="prod_qtywarn">
|
||||||
|
<div
|
||||||
|
v-if="
|
||||||
|
tools.isManager() && !!myproduct.QuantitaOrdinateInAttesa
|
||||||
|
"
|
||||||
|
>
|
||||||
|
{{
|
||||||
|
t('ecomm.qta_in_attesa', {
|
||||||
|
qty: myproduct.QuantitaOrdinateInAttesa,
|
||||||
|
})
|
||||||
|
}}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</q-item-label>
|
||||||
|
</q-item-section>
|
||||||
|
<q-item-section
|
||||||
|
v-if="
|
||||||
|
tools.isManager() &&
|
||||||
|
products.getQtyBloccataAvailable(myproduct) > 0
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<q-item-section avatar>
|
||||||
|
<q-icon
|
||||||
|
name="fas fa-store"
|
||||||
|
style="padding-right: 16px !important"
|
||||||
|
/>
|
||||||
|
</q-item-section>
|
||||||
|
<q-item-section
|
||||||
|
v-if="
|
||||||
|
tools.isManager() &&
|
||||||
|
products.getQtyBloccataAvailable(myproduct) > 0
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<q-item-label> {{ t('ecomm.bloccati') }}: </q-item-label>
|
||||||
|
<q-item-label>
|
||||||
|
<span class="text-black q-ml-xs text-h8">
|
||||||
|
{{ products.getQtyBloccataAvailable(myproduct) }}</span
|
||||||
|
>
|
||||||
|
</q-item-label>
|
||||||
|
</q-item-section>
|
||||||
|
</q-item-section>
|
||||||
|
</q-item>
|
||||||
<q-item
|
<q-item
|
||||||
v-if="
|
v-if="
|
||||||
products.getQtyBookableAvailable(myproduct) > 0 ||
|
products.getQtyBookableAvailable(myproduct) > 0 ||
|
||||||
|
|||||||
Reference in New Issue
Block a user