Skip to content

Commit

Permalink
fix: reduce 'maxlength' of 'per_refill' to '9' since it stored as 'IN…
Browse files Browse the repository at this point in the history
…T' (max value is '2147483647') (#7315)
  • Loading branch information
tackyunicorn committed Apr 3, 2024
1 parent 0054dda commit 24905d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/prescription/general_edit.html
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@
    # {xlt t='of tablets'}:
</div>
<div class="col">
<input class="input-sm form-control" type="text" id="per_refill" name="per_refill" size="2" maxlength="10" value="{$prescription->per_refill|attr}" />
<input class="input-sm form-control" type="text" id="per_refill" name="per_refill" size="2" maxlength="9" value="{$prescription->per_refill|attr}" />
</div>
{/if}
</div>
Expand Down

0 comments on commit 24905d5

Please sign in to comment.