diff --git a/src/pages/Monitor/Ticket/MonitorTickets.vue b/src/pages/Monitor/Ticket/MonitorTickets.vue index 05aee1607..ef03ec20d 100644 --- a/src/pages/Monitor/Ticket/MonitorTickets.vue +++ b/src/pages/Monitor/Ticket/MonitorTickets.vue @@ -26,6 +26,7 @@ const provinceOpts = ref([]); const stateOpts = ref([]); const zoneOpts = ref([]); const DepartmentOpts = ref([]); +const PayMethodOpts = ref([]); const ItemPackingTypeOpts = ref([]); const stateStore = useStateStore(); const { viewSummary } = useSummaryDialog(); @@ -223,7 +224,16 @@ const columns = computed(() => [ label: t('salesTicketsTable.payMethod'), name: 'payMethod', align: 'left', - columnFilter: false, + columnFilter: { + component: 'select', + url: 'PayMethods', + attrs: { + options: PayMethodOpts.value, + optionValue: 'id', + optionLabel: 'name', + dense: true, + }, + }, }, { label: t('salesTicketsTable.total'), @@ -244,11 +254,8 @@ const columns = computed(() => [ align: 'left', columnFilter: { component: 'select', - url: 'Departments', attrs: { options: DepartmentOpts.value, - optionValue: 'name', - optionLabel: 'name', dense: true, }, }, @@ -364,6 +371,15 @@ const openTab = (id) => auto-load @on-fetch="(data) => (DepartmentOpts = data)" /> +