3da8abcfef
To test: 1) Login to OPAC --> You personal details. 2) Ensure it says 'ZIP/Postal Code' under Main Address, Alternate Address and Alternate Contact 3) Login to Staff interface --> Go to a member's page (ie koha/members/memberentry.pl) --> Details. 4) Ensure it says 'ZIP/Postal Code' under Alternate address and Alternative contact 5) Click Edit 6) Ensure it says 'ZIP/Postal Code' under Main Address, Alternate Address and Alternate Contact Signed-off-by: Barry Cannon <bc@interleaf.ie> Signed-off-by: Mark Tompsett <mtompset@hotmail.com> NOTE: Tested together with second patch. Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
112 lines
5.4 KiB
HTML
112 lines
5.4 KiB
HTML
<fieldset class="rows" id="memberentry_altaddress">
|
|
<legend id="alt_contact_lgd">Alternate contact</legend><ol>
|
|
[% UNLESS noaltcontactsurname %]
|
|
<li>
|
|
[% IF ( mandatoryaltcontactsurname ) %]
|
|
<label for="altcontactsurname" class="required">
|
|
[% ELSE %]
|
|
<label for="altcontactsurname">
|
|
[% END %]
|
|
Surname:</label>
|
|
<input type="text" name="altcontactsurname" id="altcontactsurname" value="[% altcontactsurname %]" />
|
|
[% IF ( mandatoryaltcontactsurname ) %]<span class="required">Required</span>[% END %]
|
|
</li>
|
|
[% END %]
|
|
[% UNLESS noaltcontactfirstname %]
|
|
<li>
|
|
[% IF ( mandatoryaltcontactfirstname ) %]
|
|
<label for="altcontactfirstname" class="required">
|
|
[% ELSE %]
|
|
<label for="altcontactfirstname">
|
|
[% END %]
|
|
First name:</label>
|
|
<input type="text" name="altcontactfirstname" id="altcontactfirstname" value="[% altcontactfirstname %]" />
|
|
[% IF ( mandatoryaltcontactfirstname ) %]<span class="required">Required</span>[% END %]
|
|
</li>
|
|
[% END %]
|
|
[% UNLESS noaltcontactaddress1 %]
|
|
<li>
|
|
[% IF ( mandatoryaltcontactaddress1 ) %]
|
|
<label for="altcontactaddress1" class="required">
|
|
[% ELSE %]
|
|
<label for="altcontactaddress1">
|
|
[% END %]
|
|
Address:</label>
|
|
<input type="text" name="altcontactaddress1" id="altcontactaddress1" value="[% altcontactaddress1 %]" size="40" />
|
|
[% IF ( mandatoryaltcontactaddress1 ) %]<span class="required">Required</span>[% END %]
|
|
</li>
|
|
[% END %]
|
|
[% UNLESS noaltcontactaddress2 %]
|
|
<li>
|
|
[% IF ( mandatoryaltcontactaddress2 ) %]
|
|
<label for="altcontactaddress2" class="required">
|
|
[% ELSE %]
|
|
<label for="altcontactaddress2">
|
|
[% END %]
|
|
Address 2:</label>
|
|
<input type="text" name="altcontactaddress2" id="altcontactaddress2" value="[% altcontactaddress2 %]" size="40" />
|
|
[% IF ( mandatoryaltcontactaddress2 ) %]<span class="required">Required</span>[% END %]
|
|
</li>
|
|
[% END %]
|
|
[% UNLESS noaltcontactzipcode %]
|
|
<li>
|
|
[% IF ( mandatoryaltcontactzipcode ) %]
|
|
<label for="altcontactzipcode" class="required">
|
|
[% ELSE %]
|
|
<label for="altcontactzipcode">
|
|
[% END %]
|
|
ZIP/Postal code:</label>
|
|
<input type="text" name="altcontactzipcode" id="altcontactzipcode" value="[% altcontactzipcode %]" size="5" />
|
|
[% IF ( mandatoryaltcontactzipcode ) %]<span class="required">Required</span>[% END %]
|
|
</li>
|
|
[% END %]
|
|
[% UNLESS noaltcontactaddress3 %]
|
|
<li>
|
|
[% IF ( mandatoryaltcontactaddress3 ) %]
|
|
<label for="altcontactaddress3" class="required">
|
|
[% ELSE %]
|
|
<label for="altcontactaddress3">
|
|
[% END %]
|
|
City:</label>
|
|
<input type="text" name="altcontactaddress3" id="altcontactaddress3" value="[% altcontactaddress3 %]" size="20" />
|
|
[% IF ( mandatoryaltcontactaddress3 ) %]<span class="required">Required</span>[% END %]
|
|
</li>
|
|
[% END %]
|
|
[% UNLESS noaltcontactstate %]
|
|
<li>
|
|
[% IF ( mandatoryaltcontactstate ) %]
|
|
<label for="altcontactstate" class="required">
|
|
[% ELSE %]
|
|
<label for="altcontactstate">
|
|
[% END %]
|
|
State:</label>
|
|
<input type="text" name="altcontactstate" id="altcontactstate" value="[% altcontactstate %]" size="20" />
|
|
[% IF ( mandatoryaltcontactstate ) %]<span class="required">Required</span>[% END %]
|
|
</li>
|
|
[% END %]
|
|
[% UNLESS noaltcontactcountry %]
|
|
<li>
|
|
[% IF ( mandatoryaltcontactcountry ) %]
|
|
<label for="altcontactcountry" class="required">
|
|
[% ELSE %]
|
|
<label for="altcontactcountry">
|
|
[% END %]
|
|
Country:</label>
|
|
<input type="text" name="altcontactcountry" id="altcontactcountry" value="[% altcontactcountry %]" size="20" />
|
|
[% IF ( mandatoryaltcontactcountry ) %]<span class="required">Required</span>[% END %]
|
|
</li>
|
|
[% END %]
|
|
[% UNLESS noaltcontactphone %]
|
|
<li>
|
|
[% IF ( mandatoryaltcontactphone ) %]
|
|
<label for="altcontactphone" class="required">
|
|
[% ELSE %]
|
|
<label for="altcontactphone">
|
|
[% END %]
|
|
Phone:</label>
|
|
<input type="text" name="altcontactphone" id="altcontactphone" value="[% altcontactphone %]" />
|
|
[% IF ( mandatoryaltcontactphone ) %]<span class="required">Required</span>[% END %]
|
|
</li>
|
|
[% END %]
|
|
</ol>
|
|
</fieldset>
|