From 4bbf0f29d5d0621efaccbbd19716479d0f60be22 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Sat, 29 Jun 2024 00:07:09 +0200 Subject: [PATCH] feat: #7648 handle EntryList --- src/pages/Entry/EntryList.vue | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/src/pages/Entry/EntryList.vue b/src/pages/Entry/EntryList.vue index e5d37900c..c6c99a651 100644 --- a/src/pages/Entry/EntryList.vue +++ b/src/pages/Entry/EntryList.vue @@ -12,6 +12,8 @@ import { useStateStore } from 'stores/useStateStore'; import { toDate } from 'src/filters/index'; import { useSummaryDialog } from 'src/composables/useSummaryDialog'; import RightMenu from 'src/components/common/RightMenu.vue'; +// import { useVnConfirm } from 'composables/useVnConfirm'; +// const { openConfirmationModal } = useVnConfirm(); const stateStore = useStateStore(); const router = useRouter(); @@ -29,6 +31,21 @@ const redirectToCreateView = () => { onMounted(async () => { stateStore.rightDrawer = true; }); +import { useQuasar } from 'quasar'; +// import EntryBuys from './Card/EntryBuys.vue'; +import EntryBuysTableDialog from './EntryBuysTableDialog.vue'; + +const quasar = useQuasar(); + +const printBuys = (rowId) => { + // router.push({ path: `/entry/${rowId}/buys` }); + quasar.dialog({ + component: EntryBuysTableDialog, + componentProps: { + id: rowId, + }, + }); +};