X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=invoices.cgi;h=674da890ab8e2911bf6a685277bfec2337f1bcbc;hb=ac0e0282a64b4b03fd1e8be053a5e916713144d5;hp=464d2849ed44d9d4a4247301f0adbd1101a0ed00;hpb=53de77e6d3528e016290821c5d1186788cf361e3;p=invoices diff --git a/invoices.cgi b/invoices.cgi index 464d284..674da89 100755 --- a/invoices.cgi +++ b/invoices.cgi @@ -40,7 +40,7 @@ case $info in . "$_EXEC/cgilite/file.sh" FILE "$_EXEC/invoices.css" ;; - /clients) + /clients|/clients/) . "$_EXEC/clients.sh" { list_clients printf '[a .new href="/clients/%s" New]' "$(timeid)" @@ -54,7 +54,7 @@ case $info in . "$_EXEC/clients.sh" update_client ;; - /senders) + /senders|/senders/) . "$_EXEC/senders.sh" { list_senders printf '[a .new href="/senders/%s" New]' "$(timeid)" @@ -68,10 +68,10 @@ case $info in . "$_EXEC/senders.sh" update_sender ;; - /invoices) + /invoices|/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/*)