X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=templates%2Ftherapy.html.sh;h=eb93553fae7d3ca3163d4165b913f47aefdbc017;hp=f6533f74d3dc0ca9a111ce145f7b7615e65321a6;hb=77b4d29e65e18d7e8abfad0c692574dc4556bc9f;hpb=c8980226006bdd5a9d518e7d3221dc3d527be321 diff --git a/templates/therapy.html.sh b/templates/therapy.html.sh index f6533f7..eb93553 100755 --- a/templates/therapy.html.sh +++ b/templates/therapy.html.sh @@ -23,26 +23,26 @@ t_session_note(){ unset c0 c1 c2 c3 c4 c5 c6 c7 case "$tpy[$color]" in - c000) c0=checked;; - c001) c1=checked;; - c010) c2=checked;; - c011) c3=checked;; - c100) c4=checked;; - c101) c5=checked;; - c110) c6=checked;; + \#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 < - - - - - - - - + + + + + + + + EOF @@ -79,7 +79,7 @@ cat <
- + $(n=1; while [ -n "${tpy[${sid}_note${n}]+x}" ]; do t_session_note $session_n $n n=$(($n+1)) @@ -103,30 +103,29 @@ therapy_sessions(){ cat < - … + --> - EOF } unset c0 c1 c2 c3 c4 c5 c6 c7 case "$tpy[color]" in - c001) c1=checked;; - c010) c2=checked;; - c011) c3=checked;; - c100) c4=checked;; - c101) c5=checked;; - c110) c6=checked;; - c111) c7=checked;; - *) c0=checked;; + \#00A) c1="checked";; + \#0A0) c2="checked";; + \#0AA) c3="checked";; + \#A00) c4="checked";; + \#A0A) c5="checked";; + \#AA0) c6="checked";; + \#FFF) c7="checked";; + *) c0="checked";; esac cat <Behandlungen +

$(l10n therapy)

$client_name

@@ -136,15 +135,26 @@ cat <

$(l10n therapy_prescription)

${mpx[insurance]} + ${mpx[date]} + + + ${mpx[prescno]:+$(l10n presc${mpx[prescno]})} + ${mpx[grouptherapy]:+$(l10n grouptherapy)} + ${mpx[housecall]:+$(l10n housecall)} + ${mpx[report]:+$(l10n report)} +
    - ${mpx[remidy]:+
  • ${mpx[quantity]} ${mpx[remidy]}
  • } - ${mpx[remidy1]:+
  • ${mpx[quantity1]} ${mpx[remidy1]}
  • } + ${mpx[remidy]:+
  • ${mpx[quantity]} ${mpx[remidy]} ${mpx[quantity_weekly]:+($mpx[quantity_weekly] $(l10n weekly))}
  • } + ${mpx[remidy1]:+
  • ${mpx[quantity1]} ${mpx[remidy1]} ${mpx[quantity_weekly1]:+($mpx[quantity_weekly1] $(l10n weekly))}
  • }
+ ${mpx[indicator]:+${mpx[indicator]}} + ${mpx[icd10]:+ ${mpx[icd10]}} + ${mpx[addcontrib]:+