diff --git a/src/components/helper/pdf/table/PdfTfoot.tsx b/src/components/helper/pdf/table/PdfTfoot.tsx index 698aa209..a9f209b1 100644 --- a/src/components/helper/pdf/table/PdfTfoot.tsx +++ b/src/components/helper/pdf/table/PdfTfoot.tsx @@ -88,13 +88,17 @@ export const PdfTfoot = ({ const cellStyle = column.key === 'no' - ? [styles.tableCellNo, { flex: column.flex }] + ? [ + styles.tableCellNo, + { flex: column.flex, borderRightWidth: isLastColumn ? 0 : 1 }, + ] : cellData?.align === 'right' ? [ styles.tableCellRight, { flex: column.flex, color: cellData?.color || 'black', + borderRightWidth: isLastColumn ? 0 : 1, }, ] : cellData?.align === 'center' @@ -103,6 +107,7 @@ export const PdfTfoot = ({ { flex: column.flex, color: cellData?.color || 'black', + borderRightWidth: isLastColumn ? 0 : 1, }, ] : isLastColumn