@@ -11,7 +11,7 @@ | |||||
<tr><td>Term</td> | <tr><td>Term</td> | ||||
{{range .Estimate.Loans}}<td>{{.Term}} Years</td>{{end}}</tr> | {{range .Estimate.Loans}}<td>{{.Term}} Years</td>{{end}}</tr> | ||||
<tr><td>Amortization</td> | <tr><td>Amortization</td> | ||||
{{range .Estimate.Loans}}<td>{{.Amortization}}</td>{{end}}</tr> | |||||
{{range .Estimate.Loans}}<td>Fixed</td>{{end}}</tr> | |||||
<tr><td>Interest rate</td> | <tr><td>Interest rate</td> | ||||
{{range .Estimate.Loans}}<td>{{.Interest}}%</td>{{end}}</tr> | {{range .Estimate.Loans}}<td>{{.Interest}}%</td>{{end}}</tr> | ||||
<tr><td>Loan payment</td> | <tr><td>Loan payment</td> | ||||
@@ -1,7 +1,9 @@ | |||||
{{define "header"}} | {{define "header"}} | ||||
<header class="heading"> | <header class="heading"> | ||||
{{if .Letterhead}} | |||||
<img src="data:image/png;base64,{{.Letterhead}}" /> | <img src="data:image/png;base64,{{.Letterhead}}" /> | ||||
{{end}} | |||||
<div> | <div> | ||||
<div class="user-info"> | <div class="user-info"> | ||||
@@ -13,7 +15,9 @@ | |||||
{{.User.Address.City}}, {{.User.Address.Region}} {{.User.Address.Zip}} | {{.User.Address.City}}, {{.User.Address.Region}} {{.User.Address.Zip}} | ||||
</small> | </small> | ||||
</div> | </div> | ||||
{{if .Avatar}} | |||||
<img src="data:image/png;base64,{{.Avatar}}" /> | <img src="data:image/png;base64,{{.Avatar}}" /> | ||||
{{end}} | |||||
</div> | </div> | ||||
</header> | </header> | ||||