Corretto incongruenze OrdersCart
This commit is contained in:
@@ -109,12 +109,12 @@
|
||||
<q-list>
|
||||
<q-item
|
||||
:clickable="tools.isManager()"
|
||||
@click="tools.isManager() ? (openlistorders = true) : null"
|
||||
@click="tools.isManager() ? (visuListDisponibili()) : null"
|
||||
>
|
||||
<q-item-section avatar>
|
||||
<q-icon
|
||||
:color="getQtyAvailable() >= 0 ? 'green' : 'blue'"
|
||||
:name="getQtyAvailable() >= 0 ? 'fas fa-store' : 'fas fa-edit'"
|
||||
color="green"
|
||||
name="fas fa-store"
|
||||
/>
|
||||
</q-item-section>
|
||||
|
||||
@@ -146,9 +146,9 @@
|
||||
</q-item-section>
|
||||
</q-item>
|
||||
<q-item
|
||||
v-if="getQtyBookableAvailable() > 0"
|
||||
v-if="getQtyBookableAvailable() > 0 || (myproduct.bookableQty > 0)"
|
||||
:clickable="tools.isManager()"
|
||||
@click="tools.isManager() ? (openlistorders = true) : null"
|
||||
@click="tools.isManager() ? (visuListBookable()) : null"
|
||||
>
|
||||
<q-item-section avatar>
|
||||
<q-icon color="blue" name="fas fa-edit" />
|
||||
@@ -210,7 +210,6 @@
|
||||
class="self-center no-outline"
|
||||
tabindex="0"
|
||||
>
|
||||
Preord.: {{ myorder.quantitypreordered }}
|
||||
</div>
|
||||
</template>
|
||||
</q-field>
|
||||
@@ -298,7 +297,7 @@
|
||||
|
||||
<tbody>
|
||||
<tr
|
||||
v-for="(ordcart, index) of arrordersCart"
|
||||
v-for="(ordcart, index) of listord"
|
||||
:key="index"
|
||||
class="listaev listaev__table"
|
||||
>
|
||||
@@ -347,7 +346,7 @@
|
||||
<td class="text-center">
|
||||
Totali:
|
||||
<span class="totali">{{
|
||||
products.getSumQtyOrderProductInOrdersCart(myproduct._id)
|
||||
sumval
|
||||
}}</span>
|
||||
</td>
|
||||
<td> </td>
|
||||
|
||||
Reference in New Issue
Block a user