From 963b73e7b0258af2ced7b3f942ac4fcc4ee70c78 Mon Sep 17 00:00:00 2001 From: M_Kececi Date: Fri, 19 Jun 2026 23:47:43 +0300 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- ui/src/pages/OrderPriceList.vue | 60 +++++++++++++++++++++++++-------- 1 file changed, 46 insertions(+), 14 deletions(-) diff --git a/ui/src/pages/OrderPriceList.vue b/ui/src/pages/OrderPriceList.vue index f1492a1..3492d20 100644 --- a/ui/src/pages/OrderPriceList.vue +++ b/ui/src/pages/OrderPriceList.vue @@ -1606,6 +1606,7 @@ async function printVisibleRows () { const stamp = exportFileStamp() const title = `Fiyat_Listesi-${stamp}` const cols = visibleColumns.value + const pageSize = cols.length > 34 ? 'A0 landscape' : cols.length > 26 ? 'A1 landscape' : cols.length > 18 ? 'A2 landscape' : 'A3 landscape' const generatedAt = new Date().toLocaleString('tr-TR') const body = filteredRows.value.map((row) => `${cols.map((c) => { if (c.name === 'image') { @@ -1622,30 +1623,31 @@ async function printVisibleRows () { return `${escapeHtml(exportCell(row, c))}` }).join('')}`).join('') const headerCols = cols.map((c) => `${escapeHtml(c.label || 'Gorsel')}`).join('') + const colgroup = cols.map((c) => ``).join('') const html = `${escapeHtml(title)} + ${colgroup}${body}
Fiyat Listesi
@@ -1667,7 +1670,22 @@ async function printVisibleRows () {
-