diff --git a/src/pages/Monitor/MonitorClientsActions.vue b/src/pages/Monitor/MonitorClientsActions.vue index 52195f7f4..1173ee119 100644 --- a/src/pages/Monitor/MonitorClientsActions.vue +++ b/src/pages/Monitor/MonitorClientsActions.vue @@ -1,5 +1,4 @@ @@ -27,14 +23,20 @@ onUnmounted(() => (stateStore.leftDrawer = true)); - + - + diff --git a/src/pages/Monitor/MonitorTickets.vue b/src/pages/Monitor/MonitorTickets.vue index 57ba00e57..764388c56 100644 --- a/src/pages/Monitor/MonitorTickets.vue +++ b/src/pages/Monitor/MonitorTickets.vue @@ -1,27 +1,477 @@ - - - (provinceOpts = data)" + /> + (stateOpts = data)" + /> + (zoneOpts = data)" + /> + + + - - - + + + + + {{ t('salesTicketsTable.noVerifiedData') }} + + + {{ t('salesTicketsTable.purchaseRequest') }} + + + {{ t('salesTicketsTable.notVisible') }} + + + {{ t('salesTicketsTable.clientFrozen') }} + + + {{ t('salesTicketsTable.risk') }}: {{ row.risk }} + + + {{ t('salesTicketsTable.componentLack') }} + + + {{ t('salesTicketsTable.tooLittle') }} + + + + + + + {{ row.id }} + + + + + + + {{ row.nickname }} + + + + + + {{ row.userName }} + + + + + + + {{ formatShippedDate(row.shippedDate) }} + + + + + + + {{ row.refFk }} + + + + {{ row.state }} + + + + + + + {{ t('salesTicketsTable.isFragile') }} + + + + + + {{ row.zoneName }} + + + + + + + {{ toCurrency(row.totalWithVat) }} + + + + diff --git a/src/pages/Monitor/SalesClientsTable.vue b/src/pages/Monitor/SalesClientsTable.vue index ed6695d1f..b481f490a 100644 --- a/src/pages/Monitor/SalesClientsTable.vue +++ b/src/pages/Monitor/SalesClientsTable.vue @@ -106,42 +106,41 @@ const columns = computed(() => [ - - + + - - - - - {{ row.salesPerson }} - - - - - - {{ row.clientName }} - - - - - + + + + {{ row.salesPerson }} + + + + + + {{ row.clientName }} + + + + diff --git a/src/pages/Monitor/SalesOrdersTable.vue b/src/pages/Monitor/SalesOrdersTable.vue index dc723e541..b86579994 100644 --- a/src/pages/Monitor/SalesOrdersTable.vue +++ b/src/pages/Monitor/SalesOrdersTable.vue @@ -5,7 +5,7 @@ import WorkerDescriptorProxy from 'src/pages/Worker/Card/WorkerDescriptorProxy.v import CustomerDescriptorProxy from 'src/pages/Customer/Card/CustomerDescriptorProxy.vue'; import VnTable from 'components/VnTable/VnTable.vue'; -import { toDateFormat, toDateTimeFormat } from 'src/filters/date.js'; +import { toDateFormat } from 'src/filters/date.js'; import { toCurrency } from 'src/filters'; import { useVnConfirm } from 'composables/useVnConfirm'; import axios from 'axios'; @@ -103,100 +103,96 @@ const openTab = (id) => window.open(`#/order/${id}/summary`, '_blank', 'noopener, noreferrer'); - - - - - + + + + {{ t('salesOrdersTable.delete') }} + + + + + - {{ t('salesOrdersTable.delete') }} - - - - - - {{ toDateFormat(row.date_send) }} - - - - - - {{ row.date_make }} - - - - - - {{ row.clientName }} - - - {{ row.agencyName }} - - + {{ toDateFormat(row.date_send) }} + + + + + + {{ row.date_make }} + + + + + + {{ row.clientName }} + + + {{ row.agencyName }} + + - - - - {{ row.salesPerson }} - - - {{ toCurrency(row.import) }} - - - - + + + + {{ row.salesPerson }} + + + {{ toCurrency(row.import) }} + + + diff --git a/src/pages/Monitor/SalesTicketsTable.vue b/src/pages/Monitor/SalesTicketsTable.vue deleted file mode 100644 index b617266ef..000000000 --- a/src/pages/Monitor/SalesTicketsTable.vue +++ /dev/null @@ -1,588 +0,0 @@ - - - - (workersActiveOptions = data)" - /> - (provincesOptions = data)" - /> - (statesOptions = data)" - /> - (zonesOptions = data)" - /> - redirectToTicketSummary(row.id)" - > - - - - - - - - {{ t('salesTicketsTable.noVerifiedData') }} - - - {{ t('salesTicketsTable.purchaseRequest') }} - - - {{ t('salesTicketsTable.notVisible') }} - - - {{ t('salesTicketsTable.clientFrozen') }} - - - {{ t('salesTicketsTable.risk') }}: {{ row.risk }} - - - {{ t('salesTicketsTable.componentLack') }} - - - {{ t('salesTicketsTable.tooLittle') }} - - - - - - - {{ row.id }} - - - - - - - {{ row.nickname }} - - - - - - {{ row.userName }} - - - - - - - {{ formatShippedDate(row.shippedDate) }} - - - - - - - {{ row.refFk }} - - - - {{ row.state }} - - - - - - - {{ t('salesTicketsTable.isFragile') }} - - - - - - {{ row.zoneName }} - - - - - - - {{ toCurrency(row.totalWithVat) }} - - - - -