]> git.plutz.net Git - invoices/blobdiff - invoices.sh
allow quarter hours input
[invoices] / invoices.sh
index a1ec2339be82ce4e994d215282a221b5fe01b663..b99d8f2431b4a9b6e0b465acd3992b4a34f24794 100755 (executable)
@@ -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)" \