Ver código fonte

Use images in PDF only if the user has uploaded them

master
Immanuel Onyeka 1 ano atrás
pai
commit
0313364069
2 arquivos alterados com 5 adições e 1 exclusões
  1. +1
    -1
      views/report/comparison.tpl
  2. +4
    -0
      views/report/header.tpl

+ 1
- 1
views/report/comparison.tpl Ver arquivo

@@ -11,7 +11,7 @@
<tr><td>Term</td>
{{range .Estimate.Loans}}<td>{{.Term}} Years</td>{{end}}</tr>
<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>
{{range .Estimate.Loans}}<td>{{.Interest}}%</td>{{end}}</tr>
<tr><td>Loan payment</td>


+ 4
- 0
views/report/header.tpl Ver arquivo

@@ -1,7 +1,9 @@
{{define "header"}}
<header class="heading">

{{if .Letterhead}}
<img src="data:image/png;base64,{{.Letterhead}}" />
{{end}}

<div>
<div class="user-info">
@@ -13,7 +15,9 @@
{{.User.Address.City}}, {{.User.Address.Region}} {{.User.Address.Zip}}
</small>
</div>
{{if .Avatar}}
<img src="data:image/png;base64,{{.Avatar}}" />
{{end}}
</div>

</header>


Carregando…
Cancelar
Salvar