show warehouse reference to admin

This commit is contained in:
omair saleh
2022-01-21 19:09:02 +08:00
parent 950b3d168a
commit a36adc7ca5
3 changed files with 3 additions and 3 deletions
@@ -76,7 +76,7 @@
<h6 class="no-margin"><b>Order Date:</b> {{order.created_at}}</h6>
</div>
<div class="col-12 col-sm-auto">
<h6 class="no-margin"><b>Warehouse:</b> {{order.warehouse.name}} {{$store.getters.isAdmin ?? order.warehouse.reference}}</h6>
<h6 class="no-margin"><b>Warehouse:</b> {{order.warehouse.name}} {{$store.getters.isAdmin ? order.warehouse.reference : ''}}</h6>
</div>
<div class="col col-sm" v-if="$store.getters.isAdmin">
<a :href="route('customer.profile', order.company_module.marking)">