diff --git a/src/pages/Monitor/SalesOrdersTable.vue b/src/pages/Monitor/SalesOrdersTable.vue index bb7da98b6..f0c389aa6 100644 --- a/src/pages/Monitor/SalesOrdersTable.vue +++ b/src/pages/Monitor/SalesOrdersTable.vue @@ -5,7 +5,8 @@ import { useI18n } from 'vue-i18n'; import FetchData from 'components/FetchData.vue'; import WorkerDescriptorProxy from 'src/pages/Worker/Card/WorkerDescriptorProxy.vue'; import CustomerDescriptorProxy from 'src/pages/Customer/Card/CustomerDescriptorProxy.vue'; -import VnPaginate from 'components/ui/VnPaginate.vue'; +import VnSubToolbar from 'src/components/ui/VnSubToolbar.vue'; +import VnTable from 'components/VnTable/VnTable.vue'; import { toDateFormat, toDateTimeFormat } from 'src/filters/date.js'; import { toCurrency } from 'src/filters'; @@ -51,18 +52,21 @@ const columns = computed(() => [ field: 'dated', align: 'left', sortable: true, + cardVisible: true, }, { label: t('salesOrdersTable.client'), name: 'client', align: 'left', sortable: true, + cardVisible: true, }, { label: t('salesOrdersTable.salesPerson'), name: 'salesPerson', align: 'left', sortable: true, + cardVisible: true, }, ]); @@ -119,78 +123,78 @@ const redirectToOrderSummary = (orderId) => { @on-fetch="(data) => (clientsOptions = data)" /> + - redirectToOrderSummary(row.id)" + v-model:selected="selectedRows" > - - redirectToOrderSummary(row.id)" + + - - - {{ t('salesOrdersTable.delete') }} - - - - - - {{ toDateFormat(row.date_send) }} - - {{ toDateTimeFormat(row.date_make) }} - - - - - - {{ row.clientName }} - - - {{ row.agencyName }} - - - - - - {{ row.salesPerson }} - - - {{ toCurrency(row.import) }} - - - + {{ t('salesOrdersTable.delete') }} + - + + + + {{ toDateFormat(row.date_send) }} + + {{ toDateTimeFormat(row.date_make) }} + + + + + + {{ row.clientName }} + + + {{ row.agencyName }} + + + + + + + {{ row.salesPerson }} + + + {{ toCurrency(row.import) }} + + +