From: Paul Hänsch Date: Fri, 1 Dec 2023 16:51:58 +0000 (+0100) Subject: default template empty X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=fdfd76d7709e757862985940768b0bf1f85ea68d;p=invoices default template empty --- diff --git a/doclist.sh b/doclist.sh index 460ee46..d3df3e1 100755 --- a/doclist.sh +++ b/doclist.sh @@ -48,6 +48,7 @@ list_status() { [form .invoice .new method=POST [label for=new_type . $(_ Type):] [select #new_type name=type + [option checked] $(for tmpl in "$_EXEC"/tmpl_*/; do tmpl="${tmpl%/}" tmpl="${tmpl##*/}" printf '[option value=%s . %s]' "$tmpl" "$(_ "$tmpl")"