Show payments in negative in the index

This commit is contained in:
jordi fita mas 2024-08-21 11:34:26 +02:00
parent 93a95d77d0
commit e3d1e1fd1d
1 changed files with 1 additions and 1 deletions

View File

@ -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}}"