From c3c8a78fd8da2902518e39a4c666269126525e58 Mon Sep 17 00:00:00 2001 From: guillermo Date: Thu, 27 Feb 2025 10:48:17 +0100 Subject: [PATCH] feat: refs #8348 Added grouping --- src/pages/Entry/EntryBuysTableDialog.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/Entry/EntryBuysTableDialog.vue b/src/pages/Entry/EntryBuysTableDialog.vue index 86a9b018f..7a6c4ac43 100644 --- a/src/pages/Entry/EntryBuysTableDialog.vue +++ b/src/pages/Entry/EntryBuysTableDialog.vue @@ -65,7 +65,7 @@ const entriesTableColumns = computed(() => [ ]); function downloadCSV(rows) { - const headers = ['id', 'itemFk', 'name', 'stickers', 'packing', 'comment']; + const headers = ['id', 'itemFk', 'name', 'stickers', 'packing', 'grouping', 'comment']; const csvRows = rows.map((row) => { const buy = row; @@ -77,6 +77,7 @@ function downloadCSV(rows) { item.name || '', buy.stickers, buy.packing, + buy.grouping, item.comment || '', ].join(','); });