X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=templates%2Ftherapy.html.sh;h=0c91487cee322764b670f06608a124cf98d7f1fe;hp=cb3cf26850a0183e2360ce79f7d25f834eb3769e;hb=b0ab910afe1f7fec143a23e96c72e4f9a66db2bf;hpb=fdfc261b61998249782240ecb0d40a10d44936a9 diff --git a/templates/therapy.html.sh b/templates/therapy.html.sh index cb3cf26..0c91487 100755 --- a/templates/therapy.html.sh +++ b/templates/therapy.html.sh @@ -15,127 +15,251 @@ # 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 + cat < -

Behandlungen

+
+ + + + + + + + + +
+EOF +} -
-

Flrbrlprrf Zoidberg

- < zur Patientenliste - Gemeinsame Betriebskrankenkasse der Gesellschaften der Textilgruppe Hof -
+t_session(){ + session_n="$1" -
-

Verordnung

- -
    -
  • 6x MT
  • -
  • 6x Fango
  • -
- ??? - -
+ sid=session${session_n} - + if [ "$tpy[${sid}_sigset]" = pos ]; then + sig=neg + sigcheck=checked + elif [ "$tpy[${sid}_sigset]" = neg ]; then + sig=pos + unset sigcheck + elif [ "$tpy[${sid}_signature]" = pos ]; then + sig=neg + sigcheck=checked + else + sig=pos + unset sigcheck + fi - -