change the url variable for customer profile from id to marking

This commit is contained in:
omair saleh
2021-06-17 12:01:38 +08:00
parent 786cff10fd
commit d36e1bd72e
2 changed files with 2 additions and 2 deletions
@@ -23,7 +23,7 @@
<div class="col" v-if="$store.getters.isAdmin">
<div class="font-heading fs-10 muted all-caps">Marking</div>
<div class="font-heading fs-12">
<a :href="route('customer.profile', item.company.id)">{{this.item.company.reference}}</a>
<a :href="route('customer.profile', item.company.reference)">{{this.item.company.reference}}</a>
</div>
</div>
<div class="col-auto">
@@ -9,7 +9,7 @@
</div>
<div class="col-3 text-right pull-right">
<button type="button" @click="viewCompany()" class="btn btn-xs btn-info fs-11"><i class="fa fa-angle-down"></i></button>
<a :href="route('customer.profile', item.id)">
<a :href="route('customer.profile', item.reference)">
<button type="button" class="btn btn-xs btn-primary fs-11">View</button>
</a>
</div>