diff --git a/src/Components/TransactionPDF/TransactionPDF.tsx b/src/Components/TransactionPDF/TransactionPDF.tsx index 8a0e020..4ffa732 100644 --- a/src/Components/TransactionPDF/TransactionPDF.tsx +++ b/src/Components/TransactionPDF/TransactionPDF.tsx @@ -210,7 +210,7 @@ export default function TransactionPDF(props: props) { {"\n"} Section:{" "} - {props.transaction.section} + {props.transaction.borrower.section} diff --git a/src/Components/Types/Types.tsx b/src/Components/Types/Types.tsx index b563a58..13a5d98 100644 --- a/src/Components/Types/Types.tsx +++ b/src/Components/Types/Types.tsx @@ -126,6 +126,7 @@ export type TransactionType = { id: number; name: string; course: string; + section: string; }; teacher: { id: number;