Revert "Export system"

This reverts commit a79c4ec5ee.
This commit is contained in:
Darko Gjorgjijoski
2026-06-11 08:36:05 +02:00
parent ed5103e54d
commit c9d623a0dd
59 changed files with 715 additions and 4883 deletions

View File

@@ -12,14 +12,7 @@
</BaseBreadcrumb>
<template #actions>
<div class="flex items-center justify-end space-x-4">
<BaseCsvExportButton
v-show="customerStore.totalCustomers"
v-if="userStore.hasAbilities(abilities.VIEW_CUSTOMER)"
url="/api/v1/customers/export"
:params="exportParams"
/>
<div class="flex items-center justify-end space-x-5">
<BaseButton
v-show="customerStore.totalCustomers"
variant="primary-outline"
@@ -213,7 +206,6 @@ import abilities from '@/scripts/admin/stub/abilities'
import CustomerDropdown from '@/scripts/admin/components/dropdowns/CustomerIndexDropdown.vue'
import AstronautIcon from '@/scripts/components/icons/empty/AstronautIcon.vue'
import BaseCsvExportButton from '@/scripts/components/BaseCsvExportButton.vue'
const companyStore = useCompanyStore()
const dialogStore = useDialogStore()
@@ -231,12 +223,6 @@ let filters = reactive({
phone: '',
})
const exportParams = computed(() => ({
display_name: filters.display_name,
contact_name: filters.contact_name,
phone: filters.phone,
}))
const showEmptyScreen = computed(
() => !customerStore.totalCustomers && !isFetchingInitialData.value
)