From fcc574d19ec7d89deae4f5612bce053f31f99f24 Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Sat, 20 Jan 2024 19:58:54 +0800 Subject: [PATCH] fix typo on borrower section --- src/Components/TransactionPDF/TransactionPDF.tsx | 2 +- src/Components/Types/Types.tsx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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;