From: Paul Hänsch Date: Mon, 28 Mar 2022 10:45:33 +0000 (+0200) Subject: allow quarter hours input X-Git-Url: http://git.plutz.net/?p=invoices;a=commitdiff_plain;h=8383d6e4dee56e69569f930e9e5d374ae0bdedcc allow quarter hours input --- diff --git a/invoices.sh b/invoices.sh index a1ec233..b99d8f2 100755 --- a/invoices.sh +++ b/invoices.sh @@ -174,7 +174,7 @@ $({ sed 1d "invoices/$id"; printf 'time= work= hours=\n'; } \ %s] ] [td [textarea name=work %s] ] - [td [input type=number name=hours value="%.2g" step=any] ] + [td [input type=number name=hours value="%g" step=any] ] [td %s] ]' "$(UNSTRING "${time#time=}" |HTML)" \ "$(UNSTRING "${work#work=}" |HTML)" \