Fix the URL to invoices from payment index
This commit is contained in:
parent
d4ef6c3254
commit
93a95d77d0
|
@ -70,7 +70,7 @@
|
||||||
{{- if eq .Type "P" -}}
|
{{- if eq .Type "P" -}}
|
||||||
<a href="{{ companyURI "/expenses/"}}{{ .DocumentSlug }}">{{ .InvoiceNumber }}</a>
|
<a href="{{ companyURI "/expenses/"}}{{ .DocumentSlug }}">{{ .InvoiceNumber }}</a>
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
<a href="{{ companyURI "/invoice/"}}{{ .DocumentSlug }}">{{ .InvoiceNumber }}</a>
|
<a href="{{ companyURI "/invoices/"}}{{ .DocumentSlug }}">{{ .InvoiceNumber }}</a>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
</td>
|
</td>
|
||||||
|
|
Loading…
Reference in New Issue