changes
This commit is contained in:
@@ -5,8 +5,7 @@ const props = defineProps({
|
||||
transaction__code: String,
|
||||
});
|
||||
|
||||
const { $exportpdf, $getdata, $snackbar, $store } = useNuxtApp();
|
||||
const { dealer } = $store;
|
||||
const { $exportpdf, $getdata, $snackbar } = useNuxtApp();
|
||||
const txn = ref(null);
|
||||
const txndetails = ref(null);
|
||||
const showModal = ref(null);
|
||||
@@ -83,7 +82,7 @@ onMounted(async () => {
|
||||
class="column is-narrow is-flex is-align-items-center is-gap-2"
|
||||
>
|
||||
<button
|
||||
v-if="txn?.phase === 4 && !dealer && $getEditRights('edit', { code: 'transaction', category: 'topmenu' })"
|
||||
v-if="txn?.phase === 4 && $getEditRights('edit', { code: 'transaction', category: 'topmenu' })"
|
||||
@click="openChangeCustomerModal"
|
||||
class="button is-link"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user