}}

{{- define "name-string-last" -}}
  {{- if .full_name -}}
    {{ $nameLast := .full_name }}
    {{ replaceRE "[.]$" "" $nameLast }}
  {{- else -}}
    {{ $nameLast := printf "%s%s%s" .first_name " " .last_name }}
    {{ replaceRE "[.]$" "" $nameLast }}
  {{- end -}}
{{- end -}}

{{- define "name-string-reverse-last" -}}
  {{- if .full_name -}}
    {{ $nameLast := .full_name }}
    {{ replaceRE "[.]$" "" $nameLast }}
  {{- else -}}
    {{ $nameLast := printf "%s%s%s" .last_name ", " .first_name }}
    {{