mirror of
https://gitlab.com/omair-personal/exchange.git
synced 2026-08-19 12:34:13 +00:00
Merge branch 'master' of gitlab.com:CIEFWorldwideSdnBhd/exchange into integration/book-supplier
# Conflicts: # resources/assets/js/pages/admin/booking/supplierBooking.vue
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div>
|
||||
<ul class="nav navbar-nav">
|
||||
<li class="nav-item dropdown">
|
||||
<!-- <li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle" href="#" role="button"
|
||||
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
{{ locales[locale] }}
|
||||
@@ -12,11 +12,11 @@
|
||||
{{ value }}
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
<li><a class="nav-link" href="#" role="button">Update Rate</a></li>
|
||||
<li><a class="nav-link" href="#" role="button">Complete Order</a></li>
|
||||
<li><a class="nav-link" href="#" role="button">Transaction History</a></li>
|
||||
<li><a class="nav-link" href="#" role="button">Upload Supplier Bank Slip to System</a></li>
|
||||
</li> -->
|
||||
<li v-if="(user && role == 'admin')"><a class="nav-link" href="#" role="button">Update Rate</a></li>
|
||||
<li v-if="(user && role == 'admin')"><a class="nav-link" href="#" role="button">Complete Order</a></li>
|
||||
<li v-if="(user && role == 'admin')"><a class="nav-link" href="#" role="button">Transaction History</a></li>
|
||||
<li v-if="(user && role == 'admin')"><a class="nav-link" href="#" role="button">Upload Supplier Bank Slip to System</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</template>
|
||||
@@ -28,7 +28,9 @@ import { loadMessages } from '~/plugins/i18n'
|
||||
export default {
|
||||
computed: mapGetters({
|
||||
locale: 'lang/locale',
|
||||
locales: 'lang/locales'
|
||||
locales: 'lang/locales',
|
||||
user: 'auth/user',
|
||||
role: 'auth/role'
|
||||
}),
|
||||
|
||||
methods: {
|
||||
|
||||
Reference in New Issue
Block a user