diff --git a/src/components/pages/report/logistic-stock/export/PurchasesPerSupplierExport.tsx b/src/components/pages/report/logistic-stock/export/PurchasesPerSupplierExport.tsx index c16b261d..0281b22f 100644 --- a/src/components/pages/report/logistic-stock/export/PurchasesPerSupplierExport.tsx +++ b/src/components/pages/report/logistic-stock/export/PurchasesPerSupplierExport.tsx @@ -57,6 +57,7 @@ const pdfStyles = StyleSheet.create({ borderRightStyle: 'solid', padding: 4, fontSize: 8, + textAlign: 'center', }, tableCellLast: { flex: 1, @@ -72,6 +73,11 @@ const pdfStyles = StyleSheet.create({ fontSize: 8, fontWeight: 'bold', backgroundColor: '#F5F5F5', + borderBottomWidth: 1, + borderBottomColor: '#000000', + borderBottomStyle: 'solid', + paddingVertical: 12, + textAlign: 'center', }, tableCellHeaderCenter: { flex: 1, @@ -94,14 +100,10 @@ const pdfStyles = StyleSheet.create({ fontWeight: 'bold', backgroundColor: '#F5F5F5', textAlign: 'right', - }, - tableCellHeaderRightLast: { - flex: 1, - padding: 4, - fontSize: 8, - fontWeight: 'bold', - backgroundColor: '#F5F5F5', - textAlign: 'right', + borderBottomWidth: 1, + borderBottomColor: '#000000', + borderBottomStyle: 'solid', + paddingVertical: 12, }, tableCellHeaderLast: { flex: 1, @@ -109,14 +111,10 @@ const pdfStyles = StyleSheet.create({ fontSize: 8, fontWeight: 'bold', backgroundColor: '#F5F5F5', - }, - tableCellHeaderCenterLast: { - flex: 1, - padding: 4, - fontSize: 8, - fontWeight: 'bold', - backgroundColor: '#F5F5F5', - textAlign: 'center', + borderBottomWidth: 1, + borderBottomColor: '#000000', + borderBottomStyle: 'solid', + paddingVertical: 12, }, tableCellRight: { flex: 1, @@ -136,12 +134,6 @@ const pdfStyles = StyleSheet.create({ fontSize: 8, textAlign: 'center', }, - tableCellRightLast: { - flex: 1, - padding: 4, - fontSize: 8, - textAlign: 'right', - }, tableCellCenterLast: { flex: 1, padding: 4, @@ -153,44 +145,6 @@ const pdfStyles = StyleSheet.create({ borderBottomColor: '#000000', borderBottomStyle: 'solid', }, - totalRow: { - backgroundColor: '#F5F5F5', - borderTopWidth: 1, - borderTopColor: '#000000', - borderTopStyle: 'solid', - }, - totalCell: { - flex: 1, - borderRightWidth: 1, - borderRightColor: '#000000', - borderRightStyle: 'solid', - padding: 4, - fontSize: 8, - fontWeight: 'bold', - }, - totalCellRight: { - flex: 1, - borderRightWidth: 1, - borderRightColor: '#000000', - borderRightStyle: 'solid', - padding: 4, - fontSize: 8, - fontWeight: 'bold', - textAlign: 'right', - }, - totalCellRightLast: { - flex: 1, - padding: 4, - fontSize: 8, - fontWeight: 'bold', - textAlign: 'right', - }, - totalCellLast: { - flex: 1, - padding: 4, - fontSize: 8, - fontWeight: 'bold', - }, supplierSection: { marginBottom: 10, },