diff --git a/src/pages/Account/AccountAccounts.vue b/src/pages/Account/AccountAccounts.vue
index ba6f50cbc..2b94a88da 100644
--- a/src/pages/Account/AccountAccounts.vue
+++ b/src/pages/Account/AccountAccounts.vue
@@ -4,15 +4,12 @@ import { useRouter } from 'vue-router';
import { useStateStore } from 'stores/useStateStore';
import { toDate } from 'filters/index';
import VnPaginate from 'src/components/ui/VnPaginate.vue';
-import VnSearchbar from 'components/ui/VnSearchbar.vue';
import AccountFilter from './AccountFilter.vue';
import VnLv from 'src/components/ui/VnLv.vue';
import CardList from 'src/components/ui/CardList.vue';
-import CustomerDescriptorProxy from 'src/pages/Customer/Card/CustomerDescriptorProxy.vue';
import VnUserLink from 'src/components/ui/VnUserLink.vue';
import AccountSummary from './Card/AccountSummary.vue';
import { useSummaryDialog } from 'src/composables/useSummaryDialog';
-import { getUrl } from 'src/composables/getUrl';
const stateStore = useStateStore();
const router = useRouter();
@@ -64,7 +61,6 @@ function navigate(event, id) {
{{ row.clientName }}
-
@@ -101,7 +97,6 @@ function navigate(event, id) {
outline
style="margin-top: 15px"
>
-
{{ row.clientName }}
-
diff --git a/src/pages/Account/AccountAlias.vue b/src/pages/Account/AccountAlias.vue
index a479ca330..2b94a88da 100644
--- a/src/pages/Account/AccountAlias.vue
+++ b/src/pages/Account/AccountAlias.vue
@@ -7,7 +7,6 @@ import VnPaginate from 'src/components/ui/VnPaginate.vue';
import AccountFilter from './AccountFilter.vue';
import VnLv from 'src/components/ui/VnLv.vue';
import CardList from 'src/components/ui/CardList.vue';
-import CustomerDescriptorProxy from 'src/pages/Customer/Card/CustomerDescriptorProxy.vue';
import VnUserLink from 'src/components/ui/VnUserLink.vue';
import AccountSummary from './Card/AccountSummary.vue';
import { useSummaryDialog } from 'src/composables/useSummaryDialog';
@@ -62,7 +61,6 @@ function navigate(event, id) {
{{ row.clientName }}
-
@@ -99,7 +97,6 @@ function navigate(event, id) {
outline
style="margin-top: 15px"
>
-
{{ row.clientName }}
-
@@ -99,7 +97,6 @@ function navigate(event, id) {
outline
style="margin-top: 15px"
>
-
{{ row.clientName }}
-
@@ -99,7 +97,6 @@ function navigate(event, id) {
outline
style="margin-top: 15px"
>
-
{{ row.clientName }}
-
@@ -124,7 +122,6 @@ function navigate(event, id) {
outline
style="margin-top: 15px"
>
-
{{ row.clientName }}
-
@@ -99,7 +97,6 @@ function navigate(event, id) {
outline
style="margin-top: 15px"
>
-
{{ row.clientName }}
-
@@ -101,7 +97,6 @@ function navigate(event, id) {
outline
style="margin-top: 15px"
>
-
{
data-key="accountData"
>
-
+ {{ entity }}
@@ -143,7 +140,6 @@ onMounted(async () => {
{{ entity.ticket?.zone?.name }}
-
@@ -155,8 +151,6 @@ onMounted(async () => {
{{ entity.ticketFk }}
-
-
diff --git a/src/pages/Account/Card/AccountDescriptorMenu.vue b/src/pages/Account/Card/AccountDescriptorMenu.vue
index b63c0e5a8..249fd2481 100644
--- a/src/pages/Account/Card/AccountDescriptorMenu.vue
+++ b/src/pages/Account/Card/AccountDescriptorMenu.vue
@@ -5,8 +5,6 @@ import { useQuasar } from 'quasar';
import { useI18n } from 'vue-i18n';
import { useRouter } from 'vue-router';
import { usePrintService } from 'composables/usePrintService';
-import SendEmailDialog from 'components/common/SendEmailDialog.vue';
-import VnConfirm from 'components/ui/VnConfirm.vue';
const $props = defineProps({
account: {
@@ -15,10 +13,8 @@ const $props = defineProps({
},
});
-const router = useRouter();
-const quasar = useQuasar();
const { t } = useI18n();
-const { openReport, sendEmail } = usePrintService();
+const { openReport } = usePrintService();
const account = ref($props.account);
@@ -28,50 +24,6 @@ function openPickupOrder() {
recipientId: account.value.clientFk,
});
}
-
-function confirmPickupOrder() {
- const customer = account.value.client;
- quasar.dialog({
- component: SendEmailDialog,
- componentProps: {
- data: {
- address: customer.email,
- },
- promise: sendPickupOrder,
- },
- });
-}
-
-function sendPickupOrder({ address }) {
- const id = account.value.id;
- const customer = account.value.client;
- return sendEmail(`Accounts/${id}/account-pickup-email`, {
- recipientId: customer.id,
- recipient: address,
- });
-}
-
-function confirmRemove() {
- quasar
- .dialog({
- component: VnConfirm,
- componentProps: {
- title: t('confirmDeletion'),
- message: t('confirmDeletionMessage'),
- promise: remove,
- },
- })
- .onOk(async () => await router.push({ name: 'AccountList' }));
-}
-
-async function remove() {
- const id = account.value.id;
- await axios.delete(`Accounts/${id}`);
- quasar.notify({
- message: t('globals.dataDeleted'),
- type: 'positive',
- });
-}
diff --git a/src/pages/Account/Card/AccountPrivileges.vue b/src/pages/Account/Card/AccountPrivileges.vue
index b74e4a418..f754ddc47 100644
--- a/src/pages/Account/Card/AccountPrivileges.vue
+++ b/src/pages/Account/Card/AccountPrivileges.vue
@@ -10,8 +10,6 @@ import { toDate, toCurrency, toPercentage } from 'filters/index';
import CrudModel from 'components/CrudModel.vue';
import FetchData from 'components/FetchData.vue';
import VnDiscount from 'components/common/vnDiscount.vue';
-import AccountLinesImport from './AccountLinesImport.vue';
-import ItemDescriptorProxy from 'src/pages/Item/Card/ItemDescriptorProxy.vue';
const quasar = useQuasar();
const route = useRoute();
@@ -141,17 +139,6 @@ function onUpdateDiscount(response) {
});
}
-function showImportDialog() {
- quasar
- .dialog({
- component: AccountLinesImport,
- componentProps: {
- ticketId: account.value.ticketFk,
- },
- })
- .onOk(() => accountLinesForm.value.reload());
-}
-
async function saveWhenHasChanges() {
if (accountLinesForm.value.getChanges().updates) {
await accountLinesForm.value.onSubmit();
@@ -221,10 +208,7 @@ async function saveWhenHasChanges() {
- {{ value }}
-
+ {{ value }} {{ row }}
diff --git a/src/pages/Account/Card/AccountSummary.vue b/src/pages/Account/Card/AccountSummary.vue
index 8bd7c01d7..69f46dde8 100644
--- a/src/pages/Account/Card/AccountSummary.vue
+++ b/src/pages/Account/Card/AccountSummary.vue
@@ -9,9 +9,7 @@ import { getUrl } from 'src/composables/getUrl';
import { useSession } from 'src/composables/useSession';
import VnLv from 'src/components/ui/VnLv.vue';
import VnUserLink from 'src/components/ui/VnUserLink.vue';
-import ItemDescriptorProxy from 'src/pages/Item/Card/ItemDescriptorProxy.vue';
import VnTitle from 'src/components/common/VnTitle.vue';
-import CustomerDescriptorProxy from 'src/pages/Customer/Card/CustomerDescriptorProxy.vue';
import axios from 'axios';
import dashIfEmpty from 'src/filters/dashIfEmpty';
@@ -261,7 +259,6 @@ async function changeState(value) {
{{ account.client?.name }}
-
@@ -308,11 +305,7 @@ async function changeState(value) {
color="blue"
>{{ col.value }}
-
+