Skip to content

Commit

Permalink
bug fix by visolveemr - clearing copay entry field after save value
Browse files Browse the repository at this point in the history
  • Loading branch information
bradymiller committed Sep 17, 2009
1 parent 8814925 commit cfa084c
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions interface/patient_file/encounter/copay.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,15 @@ function getInsuranceCompanies($pid) {
?>
<html>
<head>
<script type="text/javascript">
function cleartext(atrib)
{
document.copay_form.code.value=document.copay_form.codeH.value;
document.copay_form.codeH.value="";
}
</script>


<?php html_header_show();?>
<link rel="stylesheet" href="<?php echo $css_header;?>" type="text/css">
</head>
Expand All @@ -40,9 +49,11 @@ function getInsuranceCompanies($pid) {
<dt><span class=title><?php xl('Copay','e'); ?></span></dt>

<br>
<span class='text'><?php xl('$','e'); ?> </span><input type='entry' name='code' value='' size='5' />
<input type=hidden name=code>
<span class='text'><?php xl('$','e'); ?> </span><input type='entry' name='codeH' value='' size='5' />

<input type="SUBMIT" value="<?php xl('Save','e');?>" onclick="cleartext('clear')"><br><br>

<input type="SUBMIT" value="<?php xl('Save','e'); ?>"><br><br>

<div<?php if ($GLOBALS['simplified_copay']) echo " style='display:none;'"; ?>>
<input type="RADIO" name="payment_method" value="cash" checked><?php xl('cash','e'); ?>
Expand Down

0 comments on commit cfa084c

Please sign in to comment.