Fix for Bug 5020 - on patron record sex should be gender
Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com> Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
parent
fa7d6a0435
commit
f1ecfc7669
|
|
@ -48,7 +48,7 @@
|
|||
[% END %]
|
||||
<li><span class="label">Initials: </span>[% initials %]</li>
|
||||
<li><span class="label">Date of birth:</span>[% dateofbirth %]</li>
|
||||
<li><span class="label">Sex:</span>[% sex %]</li>[% END %]
|
||||
<li><span class="label">Gender:</span>[% IF ( sex == 'F' ) %]Female[% ELSIF ( sex == 'M' ) %]Male[% ELSE %][% sex %][% END %]</li>[% END %]
|
||||
[% IF ( printethnicityline ) %]
|
||||
<li><span class="label">Ethnicity:</span>[% ethnicity %]</li>
|
||||
<li><span class="label">Ethnicity notes: </span>[% ethnotes %]</li>
|
||||
|
|
|
|||
|
|
@ -212,7 +212,9 @@ function validate1(date) {
|
|||
[% END %]
|
||||
<li><span class="label">Initials: </span>[% initials %]</li>
|
||||
<li><span class="label">Date of birth:</span>[% dateofbirth %]</li>
|
||||
<li><span class="label">Sex:</span>[% sex %]</li>[% END %]
|
||||
<li><span class="label">Gender:</span>
|
||||
[% IF ( sex == 'F' ) %]Female[% ELSIF ( sex == 'M' ) %]Male[% ELSE %][% sex %][% END %]
|
||||
</li>[% END %]
|
||||
[% IF ( printethnicityline ) %]
|
||||
<li><span class="label">Ethnicity:</span>[% ethnicity %]</li>
|
||||
<li><span class="label">Ethnicity notes: </span>[% ethnotes %]</li>
|
||||
|
|
|
|||
|
|
@ -209,7 +209,7 @@
|
|||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Sex</td>
|
||||
<td>Gender</td>
|
||||
<td><input type="radio" name="Line" value="sex" /></td>
|
||||
<td><input type="radio" name="Column" value="sex" /></td>
|
||||
<td>
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ Card Number:</th><td>[% cardnumber %]</td></tr>
|
|||
<caption>Identity Details</caption>
|
||||
<tr><th scope="row">DoB:</th><td> [% IF ( dateofbirth ) %][% dateofbirth %][% ELSE %] [% END %]</td></tr>
|
||||
|
||||
<tr><th scope="row">Sex:</th><td>[% IF ( sex ) %][% sex %][% ELSE %] [% END %]</td></tr></table>
|
||||
<tr><th scope="row">Gender:</th><td>[% IF ( sex ) %][% sex %][% ELSE %] [% END %]</td></tr></table>
|
||||
|
||||
[% IF ( contactname ) %]
|
||||
<table>
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@
|
|||
<fieldset class="brief">
|
||||
<ol>
|
||||
<li><label for="dob">Date of Birth: </label> <input id="dob" type="text" size="10" value="[% BORROWER_INF.dateofbirth %]" name="dateofbirth" /></li>
|
||||
<li><label for="sex">Sex: </label> <select name="sex" id="sex"><option></option>
|
||||
<li><label for="sex">Gender: </label> <select name="sex" id="sex"><option></option>
|
||||
[% IF ( BORROWER_INF.sex == 'F' ) %]<option value="F" selected="selected">Female</option>[% ELSE %]<option value="F">Female</option>[% END %]
|
||||
[% IF ( BORROWER_INF.sex == 'M' ) %]<option value="M" selected="selected">Male</option>[% ELSE %]<option value="M">Male</option>[% END %]
|
||||
</select></li>
|
||||
|
|
@ -126,7 +126,7 @@
|
|||
<legend>Personal Information</legend>
|
||||
<ol>
|
||||
<li><span class="label">Date of Birth:</span> [% BORROWER_INF.dateofbirth %]</li>
|
||||
<li><span class="label">Sex:</span>
|
||||
<li><span class="label">Gender:</span>
|
||||
[% IF ( sex == 'F' ) %]Female[% END %]
|
||||
[% IF ( sex == 'M' ) %]Male[% END %]
|
||||
</li>
|
||||
|
|
|
|||
Loading…
Reference in New Issue