From 03133640698287fc9761bad9747141de789f7f1a Mon Sep 17 00:00:00 2001 From: Immanuel Onyeka Date: Tue, 5 Dec 2023 17:36:42 -0500 Subject: [PATCH] Use images in PDF only if the user has uploaded them --- views/report/comparison.tpl | 2 +- views/report/header.tpl | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/views/report/comparison.tpl b/views/report/comparison.tpl index 0777e03..3d271d6 100644 --- a/views/report/comparison.tpl +++ b/views/report/comparison.tpl @@ -11,7 +11,7 @@ Term {{range .Estimate.Loans}}{{.Term}} Years{{end}} Amortization -{{range .Estimate.Loans}}{{.Amortization}}{{end}} +{{range .Estimate.Loans}}Fixed{{end}} Interest rate {{range .Estimate.Loans}}{{.Interest}}%{{end}} Loan payment diff --git a/views/report/header.tpl b/views/report/header.tpl index 0fba230..31e89c3 100644 --- a/views/report/header.tpl +++ b/views/report/header.tpl @@ -1,7 +1,9 @@ {{define "header"}}
+{{if .Letterhead}} +{{end}}
+{{if .Avatar}} +{{end}}