kohabug 2164 - display of guarantor relationship

When editing a child or professional patron, display
the drop-down of relationship types only if at least
one relationship type is defined by the borrowerRelationship
syspref.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
Galen Charlton 2008-05-28 12:08:47 -05:00 committed by Joshua Ferraro
parent a101cd2d82
commit 94d3d63f3a
1 changed files with 2 additions and 0 deletions

View File

@ -265,6 +265,7 @@
<!--/TMPL_UNLESS-->
<!--TMPL_IF Name="showguarantor"--><input type="hidden" name="guarantorid" value="<!-- TMPL_VAR NAME="guarantorid" -->" />
<li><label for="">Guarantor: </label>
<!-- TMPL_IF name="relshiploop" -->
<select name="relationship" id="relationship" >
<!-- TMPL_LOOP name="relshiploop" -->
<!-- TMPL_IF name="selected" -->
@ -274,6 +275,7 @@
<!-- /TMPL_IF -->
<!-- /TMPL_LOOP -->
</select>
<!-- /TMPL_IF -->
<input name="contactname" id="contactname" type="text" size="20" value="<!-- TMPL_VAR NAME="contactname" -->" />
<input name="contactfirstname" id="contactfirstname" type="text" size="20" value="<!-- TMPL_VAR NAME="contactfirstname" -->" />
<!-- TMPL_IF NAME="guarantorid"-->