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 () {
-