]> git.plutz.net Git - confetti/blobdiff - templates/view_client.sh
simplify distinction between attendees and clients
[confetti] / templates / view_client.sh
index bbcc09196844497e7cb6b8ef540907be1e9f1ccf..ef214c586214833c639f0ae82b8c7977b7ec82c3 100755 (executable)
@@ -89,7 +89,8 @@ cat <<END_HTML
     $(find "$_DATA/prescriptions/" -name "${id%.vcf}.*.mpx" \
       | while read pfile; do
         printf '%s\t%s\t%s\n'  
-        printf '<li><a href="?p=prescriptions&amp;client=%s" >%s: %s - %s%s</a></li>' \
+        printf '<li><a href="?p=prescriptions&amp;client=%s#%s" >%s: %s - %s%s</a></li>' \
+          "${id}" \
           "${id}" \
           "$(sed -nr 's;^date:(.+)$;\1;p' "$pfile")" \
           "$(sed -nr 's;^indicator:(.+)$;\1;p' "$pfile")" \