From 4cff65902ace49b889143b3f1160a7cf6ba01570 Mon Sep 17 00:00:00 2001 From: Sahithi Ammana <112002925+SahithiAmmana@users.noreply.github.com> Date: Sun, 21 Apr 2024 14:30:38 -0400 Subject: [PATCH] Validate file size before upload --- templates/documents/general_upload.html | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/templates/documents/general_upload.html b/templates/documents/general_upload.html index 893ce203400..7e65420b493 100644 --- a/templates/documents/general_upload.html +++ b/templates/documents/general_upload.html @@ -10,8 +10,29 @@ * @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3 *} + +
-
+

{if !empty($error)}{$error|text|nl2br}{/if}

{if (!($patient_id > 0))}