X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=templates%2Ftherapy.html.sh;h=0c91487cee322764b670f06608a124cf98d7f1fe;hp=d850a70d21a46dab95dbb6317b84182ec33f5446;hb=be911da6c63f2129a62dc50f92b749e0f2bb67ee;hpb=9f2501bc748fa3ef47a6c1870dc462e403ee5d55 diff --git a/templates/therapy.html.sh b/templates/therapy.html.sh index d850a70..0c91487 100755 --- a/templates/therapy.html.sh +++ b/templates/therapy.html.sh @@ -79,7 +79,7 @@ cat <
- + $(n=1; while [ -n "${tpy[${sid}_note${n}]+x}" ]; do t_session_note $session_n $n n=$(($n+1)) @@ -125,46 +125,65 @@ case "$tpy[color]" in esac cat <Behandlungen +

$(l10n therapy)

-
-

$client_name

- < $(l10n prescriptionlist) -
+
+

$client_name

+ < $(l10n prescriptionlist) +
-
-

$(l10n therapy_prescription)

- ${mpx[insurance]} - ${mpx[date]} - -
    - ${mpx[remidy]:+
  • ${mpx[quantity]} ${mpx[remidy]}
  • } - ${mpx[remidy1]:+
  • ${mpx[quantity1]} ${mpx[remidy1]}
  • } -
- - ${mpx[addcontrib]:+ - - } -
+
+

$(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[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]:+ + + } +
+ +
+ + + +
+ +EOF - $(therapy_sessions) +therapy_sessions +cat < @@ -175,7 +194,7 @@ cat < - + WARNING: Background Image not available! @@ -191,27 +210,27 @@ cat <= 800 ){ sx=Math.floor(cscaleW * (x - canvas.offsetLeft)) sy=Math.floor(cscaleH * (y - canvas.offsetTop)) } else { - sx=Math.floor(cscaleW * (x - canvas.offsetLeft + body.scrollLeft)) - sy=Math.floor(cscaleH * (y - canvas.offsetTop + body.scrollTop)) + sx=Math.floor(cscaleW * (x - canvas.offsetLeft + window.pageXOffset)) + sy=Math.floor(cscaleH * (y - canvas.offsetTop + window.pageYOffset)) } - image.beginPath() - image.arc( sx, sy, 5, 0, 2 * Math.PI ) - image.fill() - image.closePath() + image.lineTo( sx, sy ) + image.stroke() - image_serialize += " circle " + sx + "," + sy + " " + (sx-5) + "," + sy + image_serialize += " " + sx + "," + sy } } @@ -221,21 +240,24 @@ cat <