]> git.plutz.net Git - invoices/blobdiff - invoices.cgi
introduce status tag to see whether invoice has already been sent, or paid, etc.
[invoices] / invoices.cgi
index 464d2849ed44d9d4a4247301f0adbd1101a0ed00..bec02be117a48964f1a14c5b2ddb17bd3f5973ab 100755 (executable)
@@ -70,8 +70,8 @@ case $info in
     ;;
   /invoices)
     . "$_EXEC/invoices.sh"
-    { list_invoices
-      printf '[a .new href="/invoices/%s" New]' "$(timeid)"
+    { printf '[a .new href="/invoices/%s" New]' "$(timeid)"
+      list_invoices
     } | yield_page invoices
     ;;
   /invoices/*)