Added some permissions for warehouse

This commit is contained in:
Luca Haid
2024-11-14 11:08:01 +01:00
parent c393d8e6a1
commit 5914ac6320
5 changed files with 36 additions and 13 deletions
@@ -261,7 +261,8 @@ Vue.component('warehouse-article', {
<template v-slot:cheapestsellprice="{ row }">
<template v-for="price in JSON.parse(row.cheapestSellPrice)">
<span v-if="price">{{price.title}}: {{(price.price)}} €</span><br>
<span v-if="price && window.TT_CONFIG['WAREHOUSE_ADMIN'] === true">{{price.title}}: {{(price.price)}} €<br></span>
<span v-if="price && price.title === 'Verkauf'">{{(price.price)}} €</span>
</template>
</template>