From 84e562e22c5cc64dd70a71b5b1b9adf650568a09 Mon Sep 17 00:00:00 2001 From: rstubryan Date: Tue, 16 Dec 2025 13:56:48 +0700 Subject: [PATCH] refactor(FE-364): Refine PDF table cell styles and header alignment --- .../export/PurchasesPerSupplierExport.tsx | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/components/pages/report/logistic-stock/export/PurchasesPerSupplierExport.tsx b/src/components/pages/report/logistic-stock/export/PurchasesPerSupplierExport.tsx index 5ed06e84..cd4603ba 100644 --- a/src/components/pages/report/logistic-stock/export/PurchasesPerSupplierExport.tsx +++ b/src/components/pages/report/logistic-stock/export/PurchasesPerSupplierExport.tsx @@ -51,6 +51,15 @@ const pdfStyles = StyleSheet.create({ backgroundColor: '#F5F5F5', }, tableCell: { + flex: 1, + borderRightWidth: 1, + borderRightColor: '#000000', + borderRightStyle: 'solid', + padding: 4, + fontSize: 8, + textAlign: 'left', + }, + tableCellNo: { flex: 1, borderRightWidth: 1, borderRightColor: '#000000', @@ -104,6 +113,7 @@ const pdfStyles = StyleSheet.create({ borderBottomColor: '#000000', borderBottomStyle: 'solid', paddingVertical: 12, + textAlign: 'center', }, tableCellRight: { flex: 1, @@ -342,7 +352,7 @@ const createPDFDocument = ( : {}, ]} > - + {index + 1}