Show payments in negative in the index
This commit is contained in:
parent
93a95d77d0
commit
e3d1e1fd1d
|
@ -86,7 +86,7 @@
|
||||||
{{ . }}
|
{{ . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
</td>
|
</td>
|
||||||
<td class="numeric">{{ .Total | formatPrice }}</td>
|
<td class="numeric">{{- if eq .Type "P" -}}-{{ end }}{{ .Total | formatPrice }}</td>
|
||||||
<td class="invoice-download">
|
<td class="invoice-download">
|
||||||
{{ if .OriginalFileName }}
|
{{ if .OriginalFileName }}
|
||||||
<a href="{{ companyURI "/payments/"}}{{ .Slug }}/download/{{.OriginalFileName}}"
|
<a href="{{ companyURI "/payments/"}}{{ .Slug }}/download/{{.OriginalFileName}}"
|
||||||
|
|
Loading…
Reference in New Issue