Skip to content

Commit

Permalink
Fix: to not allow user to pick future date for DOB (openemr#7379)
Browse files Browse the repository at this point in the history
  • Loading branch information
riyagori1203 committed May 26, 2024
1 parent 7febeb9 commit c06a6ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interface/new/new_comprehensive.php
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ function end_group()
</div>
<label class='col-form-label col-md-1 mb-2'><?php echo xlt('D.O.B.'); ?>:</label>
<div class="col-md-5 mb-2">
<input type='entry' size='11' class='datepicker form-control' name='i<?php echo attr($i); ?>subscriber_DOB' id='i<?php echo attr($i); ?>subscriber_DOB' value='<?php echo attr($result3['subscriber_DOB'] ?? ''); ?>' />
<input type='entry' size='11' class='datepicker-past form-control' name='i<?php echo attr($i); ?>subscriber_DOB' id='i<?php echo attr($i); ?>subscriber_DOB' value='<?php echo attr($result3['subscriber_DOB'] ?? ''); ?>' />
</div>
<label class='col-form-label col-md-1 required'><?php echo xlt('Group Number'); ?>:</label>
<div class="col-md-5 mb-2">
Expand Down

0 comments on commit c06a6ae

Please sign in to comment.