]> git.plutz.net Git - invoices/commitdiff
default template empty
authorPaul Hänsch <paul@plutz.net>
Fri, 1 Dec 2023 16:51:58 +0000 (17:51 +0100)
committerPaul Hänsch <paul@plutz.net>
Fri, 1 Dec 2023 16:51:58 +0000 (17:51 +0100)
doclist.sh

index 460ee46d823a08fb0d7acb5cc1f63b5e5044ad22..d3df3e1c611cb37b450d67fa856bbe64c60f1547 100755 (executable)
@@ -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")"