X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=templates%2Fedit_prescription.sh;h=8ac9bb7e5c6cef68d9f1d530cbb96370f2a7e34b;hp=d4dce32e36f9c50f8a065a48af86ec47c5e6996a;hb=32be1b8e73becaf528205136995261c3f03bae30;hpb=18ecf2c0b034e25c418a83ecb1adefb9f3f04cd8 diff --git a/templates/edit_prescription.sh b/templates/edit_prescription.sh index d4dce32..8ac9bb7 100755 --- a/templates/edit_prescription.sh +++ b/templates/edit_prescription.sh @@ -15,58 +15,135 @@ # You should have received a copy of the GNU Affero General Public License # along with Confetti. If not, see . +check(){ [ "$1" = "$2" ] && printf checked} +[ -z $mpx[presctype] ] && mpx[presctype]=doctor_compulsory + cat < + + + + + + + + + +
+ + + + + + + + +
+ + + +
+ + + + + + +
+ +
- + +
- - +
+ + +
- + +
+ +
+

$(l10n therapy_prescription)

- - + + + + +
+ + + +

$(l10n prescription_by_catalogue)

- + - +
+ - +
+ - +
+ - +
+ - +
+ - +
+ - +
+ +
+
- - - + + + + + + + + + + +
+

- + +
- - - - + +

+
+

+ + +

+
+
+ + + +
END_HTML