{{ define "title" -}} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.expensesIndexPage*/ -}} {{( pgettext "Expenses" "title" )}} {{- end }} {{ define "breadcrumbs" -}} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.expensesIndexPage*/ -}} {{- end }} {{ define "content" }} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.expensesIndexPage*/ -}}
{{ with .Filters }} {{ template "select-field" .Contact }} {{ template "input-field" .FromDate }} {{ template "input-field" .ToDate }} {{ template "input-field" .InvoiceNumber }} {{ template "tags-field" .Tags | addTagsAttr (print `data-conditions="` .TagsCondition.Name `-field"`) }} {{ template "toggle-field" .TagsCondition }} {{ end }}
{{ with .Expenses }} {{- range . }} {{- end }} {{ else }} {{ end }}
{{( pgettext "All" "expense" )}} {{( pgettext "Contact" "title" )}} {{( pgettext "Invoice Date" "title" )}} {{( pgettext "Invoice Number" "title" )}} {{( pgettext "Tags" "title" )}} {{( pgettext "Amount" "title" )}} {{( pgettext "Download" "title" )}} {{( pgettext "Actions" "title" )}}
{{ .InvoicerName }} {{ .InvoiceDate|formatDate }} {{ .InvoiceNumber }} {{- range $index, $tag := .Tags }} {{- if gt $index 0 }}, {{ end -}} {{ . }} {{- end }} {{ .Amount | formatPrice }} {{ if .OriginalFileName }} {{ end }}
{{( gettext "No expenses added yet." )}}
{{- end }}