X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=templates%2Ftherapy.html.sh;h=84f9cbe81595654dbee001f38898a5649841b737;hp=cb3cf26850a0183e2360ce79f7d25f834eb3769e;hb=da08149f6cdeb8fea9cc89fde75e4aab84cbcfd8;hpb=fdfc261b61998249782240ecb0d40a10d44936a9 diff --git a/templates/therapy.html.sh b/templates/therapy.html.sh index cb3cf26..84f9cbe 100755 --- a/templates/therapy.html.sh +++ b/templates/therapy.html.sh @@ -15,128 +15,204 @@ # You should have received a copy of the GNU Affero General Public License # along with Confetti. If not, see . +t_session_note(){ + session_n="$1" + note_n="$2" + + color=session${session_n}_note${note_n}_color + unset c0 c1 c2 c3 c4 c5 c6 c7 + + case "$tpy[$color]" in + \#888) c0=checked;; + \#00A) c1=checked;; + \#0A0) c2=checked;; + \#0AA) c3=checked;; + \#A00) c4=checked;; + \#A0A) c5=checked;; + \#AA0) c6=checked;; + *) c7=checked;; + esac + +if [ "$note_n" -eq 1 -o -n "${tpy[session${session_n}_note${note_n}]}" ]; then + printf '' +else + printf '' +fi cat < -

Behandlungen

- -
-

Flrbrlprrf Zoidberg

- < zur Patientenliste - Gemeinsame Betriebskrankenkasse der Gesellschaften der Textilgruppe Hof -
- -
-

Verordnung

- -
    -
  • 6x MT
  • -
  • 6x Fango
  • -
- ??? - -
+
+ + + + + + + + + +
+EOF +} -