From: Paul Hänsch Date: Tue, 10 Dec 2019 11:12:39 +0000 (+0100) Subject: (re)introduced widget for health insurance X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=377c36c873c55148a6cf66aad6ea9380a145d2ca;p=lobster (re)introduced widget for health insurance --- diff --git a/cards/index.cgi b/cards/index.cgi index 639bb64..6fb7bae 100755 --- a/cards/index.cgi +++ b/cards/index.cgi @@ -21,6 +21,11 @@ edit="$(GET e |PATH)" [ "$order" ] || order=lastname edit="${edit##*/}" +list_hi_companies(){ + sed -rn 's;^X-HEALTH-INSURANCE:([^\;]+)\;.*$;\1;p' ${_DATA}/vcard/*vcf \ + | sort -u +} + { w_filter_diag printf ' [form class="newcard" action="/cards/new_card.sh" method="POST"