Koha/koha-tmpl/intranet-tmpl/prog/fr/members/memberentryC.tmpl
2007-07-02 09:15:40 +00:00

661 lines
28 KiB
Cheetah

<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
<title>Koha &rsaquo; Adhérent, gestion des Enfants</title>
<script type="text/javascript" src="<!-- TMPL_VAR NAME='themelang' -->/includes/members.js"></script>
<!-- TMPL_INCLUDE NAME="calendar.inc" -->
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
<!-- TMPL_INCLUDE NAME="menus.inc" -->
<!-- TMPL_INCLUDE NAME="menu-members.inc" -->
<!-- TMPL_IF NAME="add" -->
<h1>
Inscription d'un enfant (étape <!-- TMPL_VAR NAME="step" -->) <!-- TMPL_VAR NAME="surname" --> <!-- TMPL_VAR name="firstname" -->
</h1>
<!-- TMPL_ELSE -->
<h1 >
Modification de l'adhérent enfant <!-- TMPL_VAR NAME="surname" --> <!-- TMPL_VAR name="firstname" -->
</h1>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="check_member" -->
<!-- TMPL_IF NAME="step_2" -->
<p>
<form name="form_double">
<div id="problem">
Doublon suspecté <a href="javascript:Dopop('borrowers_details.pl?borrowernumber=<!--TMPL_VAR NAME="check_member"-->');" class="borrowers_button">Details</a> Doublon ? <a href="/cgi-bin/koha/members/memberentry.pl?borrowernumber=<!--TMPL_VAR NAME="check_member"-->&category_type=<!--TMPL_VAR NAME="check_categorytype"-->" class="borrowers_button">Oui</a> &nbsp;&nbsp;&nbsp; Non, n'en est pas un
<INPUT type="checkbox" <!-- TMPL_IF NAME="checked"--> checked <!--/TMPL_IF--> name="answernodouble" >
</div>
</form>
</p>
<!--/TMPL_IF-->
<!--/TMPL_IF-->
<!-- TMPL_IF Name="nok" -->
<h1>ERREUR</h1>
<div id="problem">
<p>Le(s) champ(s) suivant(s) es(son)t incorrect(s). Prière de le(s) corriger</p>
<!-- TMPL_IF NAME="ERROR_login_exist" -->
<p>Identifiant/mot de passe existant déjà</p>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="ERROR_age_limitations" -->
Adhérent trop jeune ou trop vieux pour cette catégorie
<!-- /TMPL_IF -->
</div>
<!-- /TMPL_IF -->
<!--############################################################FORMULAIRE 1 #######################################-->
<!-- TMPL_IF NAME="step_1"-->
<form name="form" action="/cgi-bin/koha/members/memberentry.pl" method="post">
<!-- field always hidden in different form (1,2,3) -->
<input type="hidden" name="BorrowerMandatoryField" value="<!--TMPL_VAR NAME="BorrowerMandatoryField"-->">
<input type="hidden" name="FormFieldList" value="cardnumber|title|surname|firstname|dateofbirth|initials|othernames|select_city|sort1|sort2">
<input type="hidden" name="category_type" value="<!-- TMPL_VAR name="category_type" -->">
<input type="hidden" name="type" value="borrowers">
<input type="hidden" name="step" value="<!-- TMPL_VAR NAME="step" -->">
<input type="hidden" name="updtype" value="<!-- TMPL_VAR NAME="updtype" -->">
<input type="hidden" name="guarantorid" value="<!-- TMPL_VAR NAME="guarantorid" -->">
<input type="hidden" name="select_roadtype" value="<!-- TMPL_VAR NAME="select_roadtype" -->">
<input type="hidden" name="destination" value="<!-- TMPL_VAR NAME="destination" -->" />
<input type="hidden" name="check_member" value="<!-- TMPL_VAR NAME="check_member" -->" />
<input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->">
<input type="hidden" name="nodouble" value="<!-- TMPL_VAR NAME="nodouble" -->"/>
<!-- input from form 2 -->
<input type="hidden" name="contacttitle" size="20" value="<!-- TMPL_VAR NAME="contacttitle" -->">
<input type="hidden" name="contactname" value="<!-- TMPL_VAR NAME="contactname" -->">
<input type="hidden" name="contactfirstname" value="<!-- TMPL_VAR NAME="contactfirstname" -->">
<input type="hidden" name="branchcode" value="<!-- TMPL_VAR NAME="branchcode" -->">
<input type="hidden" name="streetnumber" value="<!-- TMPL_VAR NAME="streetnumber" -->">
<input type="hidden" name="streettype" value="<!-- TMPL_VAR NAME="streettype" -->">
<input type="hidden" name="address" value="<!-- TMPL_VAR NAME="address" -->">
<input type="hidden" name="address2" value="<!-- TMPL_VAR NAME="address2" -->">
<input type="hidden" name="zipcode" value="<!-- TMPL_VAR NAME="zipcode" -->">
<input type="hidden" name="city" value="<!-- TMPL_VAR NAME="city" -->">
<input type="hidden" name="relationship" value="<!-- TMPL_VAR NAME="relationship" -->">
<input type="hidden" name="phone" value="<!-- TMPL_VAR NAME="phone" -->" >
<input type="hidden" name="phonepro" value="<!-- TMPL_VAR NAME="phonepro" -->" >
<input type="hidden" name="mobile" size="10" value="<!-- TMPL_VAR NAME="mobile" -->" >
<input type="hidden" name="email" value="<!-- TMPL_VAR NAME="email" -->" >
<input type="hidden" name="emailpro" value="<!-- TMPL_VAR NAME="emailpro" -->" >
<input type="hidden" name="B_email" value="<!-- TMPL_VAR NAME="B_email" -->" >
<input type="hidden" name="B_phone" value="<!-- TMPL_VAR NAME="B_phone" -->" >
<input type="hidden" name="fax" value="<!-- TMPL_VAR NAME="fax" -->" >
<!-- input from form3 -->
<input type="hidden" name="dateenrolled" value="<!-- TMPL_VAR NAME="dateenrolled" -->">
<input type="hidden" name="dateexpiry" value="<!-- TMPL_VAR NAME="dateexpiry" -->">
<textarea style="display:none;" name="opacnote" cols="70" rows="3"><!-- TMPL_VAR NAME="opacnote"--></textarea>
<textarea style="display:none;" name="borrowernotes" cols="70" rows="3"><!-- TMPL_VAR NAME="borrowernotes" --></textarea>
<input type="hidden" name="userid" value="<!-- TMPL_VAR NAME="userid" -->">
<input type="hidden" name="password" value="<!-- TMPL_VAR NAME="password" -->">
<input type="hidden" name="debarred" value="<!-- TMPL_VAR NAME="debarred" -->" />
<input type="hidden" name="lost" value="<!-- TMPL_VAR NAME="lost" -->" />
<input type="hidden" name="gonenoaddress" value="<!-- TMPL_VAR NAME="gonenoaddress" -->" />
<!-- TMPL_IF NAME="opadd" -->
<input type="hidden" name="op" value="add">
<!-- TMPL_ELSE -->
<input type="hidden" name="op" value="modify">
<!-- /TMPL_IF -->
<!-- TMPL_VAR NAME="member" -->
<p>
<!-- TMPL_IF NAME="mandatorycardnumber" -->
<label style="font-weight:bold">
<!--TMPL_ELSE-->
<label>
<!-- /TMPL_IF-->
Numéro de carte</label>
<input type="text" name="cardnumber" size="10" value="<!-- TMPL_VAR NAME="cardnumber" -->">
</p>
<fieldset id="memberentry_identity">
<legend>Identité de l'adhérent</legend>
<p>
<!-- TMPL_IF NAME="female" -->
<input type="radio" name="sex" value="F" checked> Féminin <input type="radio" name="sex" value="M">Masculin
<!-- TMPL_ELSE -->
<input type="radio" name="sex" value="F"> Féminin <input type="radio" name="sex" value="M" checked>Masculin
<!-- /TMPL_IF -->
</p>
<p>
<!-- TMPL_IF NAME="mandatorytitle" -->
<label style="font-weight:bold">
<!-- TMPL_ELSE -->
<label>
<!-- /TMPL_IF-->
Titre</label>
<!-- TMPL_VAR NAME="borrotitlepopup" -->
</p>
<p>
<!-- TMPL_IF NAME="mandatorysurname" -->
<label style="font-weight:bold">
<!-- TMPL_ELSE -->
<label>
<!-- /TMPL_IF-->
Nom de famille</label>
<! --TMPL_IF NAME="uppercasesurnames" -->
<input style="text-transform:uppercase;" type="text" name="surname" size="20" value="<!-- TMPL_VAR NAME="surname" -->" >
<!-- TMPL_ELSE -->
<input style="text-transform:capitalize;" type="text" name="surname" size="20" value="<!-- TMPL_VAR NAME="surname" -->" >
<!-- /TMPL_IF -->
</p>
<p>
<!-- TMPL_IF NAME="mandatoryfirstname" -->
<label style="font-weight:bold">
<!-- TMPL_ELSE -->
<label>
<!-- /TMPL_IF-->
Prénom</label>
<input style="text-transform:capitalize;" type="text" name="firstname" size="20" value="<!-- TMPL_VAR NAME="firstname" -->">
</p>
<p>
<!-- TMPL_IF NAME="mandatorydateofbirth" -->
<label style="font-weight:bold">
<!-- TMPL_ELSE -->
<label>
<!-- /TMPL_IF-->
Date de naissance</label>
<input type="text" id="dateofbirth" name="dateofbirth" size="20" onchange="CheckDate(document.form.dateofbirth);" value="<!-- TMPL_VAR NAME="dateofbirth" -->">
<img src="<!-- TMPL_VAR Name="themelang" -->/includes/calendar/cal.gif" id="dateofbirth_button" />
<script language="JavaScript" type="text/javascript">
Calendar.setup(
{
inputField : "dateofbirth",
ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
button : "dateofbirth_button"
}
);
</script>
</p>
<p>
<!-- TMPL_IF NAME="mandatoryinitials" -->
<label style="font-weight:bold">
<!-- TMPL_ELSE -->
<label>
<!-- /TMPL_IF-->
Initiales</label>
<input type="text" name="initials" size="20" value="<!-- TMPL_VAR NAME="initials" -->">
</p>
<p>
<!-- TMPL_IF NAME="mandatoryothernames" -->
<label style="font-weight:bold">
<!-- TMPL_ELSE -->
<label>
<!-- /TMPL_IF-->
Autre nom</label>
<input style="text-transform:uppercase;" type="text" name="othernames" size="20" value="<!-- TMPL_VAR NAME="othernames" -->" >
</p>
<p>
<input name="guarantordelete" type="button" value="Supprimer le garant" onclick="javascript:document.form.guarantorid.value='';document.form.guarantorinfo.value='',document.form.guarantorsearch.value='Find guarantor';">
<!-- TMPL_IF NAME="guarantorid"-->
<input name="guarantorsearch" type="button" value="Modifier le garant" onclick="javascript:Dopopguarantor('guarantor_search.pl');">
<!-- TMPL_ELSE -->
<input name="guarantorsearch" type="button" value="Rechercher un garant" onclick="javascript:Dopopguarantor('guarantor_search.pl');">
<!-- /TMPL_IF -->
<input name="guarantorinfo" type="text" size="20" value="<!-- TMPL_VAR NAME="guarantorinfo" -->" disabled readOnly >
</p>
</fieldset>
<fieldset id="memberentry_identity">
<legend>Type d'adhérent</legend>
<p>
<!-- TMPL_IF NAME="catcodepopup" -->
<label>Catégorie</label>
<!-- TMPL_VAR NAME="catcodepopup" -->
<!-- TMPL_ELSE -->
<span class="problem">Il manque un type de catégorie pour inscrire un enfant.</span>
<a href="/cgi-bin/koha/admin/categorie.pl">Prière d'en créer un</a>
<!-- /TMPL_IF -->
</p>
<!-- TMPL_IF NAME="city_cgipopup" -->
<p>
<!-- TMPL_IF NAME="mandatoryselect_city" -->
<label style="font-weight:bold">
<!-- TMPL_ELSE -->
<label>
<!-- /TMPL_IF-->
Sélectionnez une commune : </label>
<!-- TMPL_VAR NAME="citypopup" -->
</p>
<!-- /TMPL_IF-->
<p>
<!-- TMPL_IF NAME="mandatorysort1" -->
<label style="font-weight:bold">
<!-- TMPL_ELSE -->
<label>
<!-- /TMPL_IF-->
Critère 1</label>
<!--TMPL_IF NAME="CGIsort1" -->
<!-- TMPL_VAR NAME="CGIsort1" -->
<!--TMPL_ELSE-->
<input type="text" name="sort1" size="20" value="<!-- TMPL_VAR NAME="sort1" -->" >
<!-- /TMPL_IF -->
</p>
<p>
<!-- TMPL_IF NAME="mandatorysort2" -->
<label style="font-weight:bold">
<!-- TMPL_ELSE -->
<label>
<!-- /TMPL_IF-->
Critère 2</label>
<!--TMPL_IF NAME="CGIsort2" -->
<!-- TMPL_VAR NAME="CGIsort2" -->
<!--TMPL_ELSE-->
<input type="text" name="sort2" size="20" value="<!-- TMPL_VAR NAME="sort2" -->" >
<!-- /TMPL_IF -->
</p>
</fieldset>
<div>
<input type="button" name="next_step" value="Étape suivante" onclick="if(document.form.guarantorinfo.value){check_form_borrowers(1)} else{alert(_('You must define a guarantor'));};">
</div>
</form>
<!-- ************************ STEP_1 *********************** -->
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="step_2"-->
<form name="form" action="/cgi-bin/koha/members/memberentry.pl" method="post">
<!-- field always hidden in different form (1,2,3) -->
<input type="hidden" name="BorrowerMandatoryField" value="<!--TMPL_VAR NAME="BorrowerMandatoryField"-->">
<input type="hidden" name="FormFieldList" value="cardnumber|streetnumber|streettype|address|address2|zipcode|contacttitle|city|contactname|contactfirstname|phone|phonepro|mobile|email|emailpro|B_email|B_phone|relationship|fax">
<input type="hidden" name="category_type" value="<!-- TMPL_VAR name="category_type" -->">
<input type="hidden" name="type" value="borrowers">
<input type="hidden" name="step" value="<!-- TMPL_VAR NAME="step" -->">
<input type="hidden" name="updtype" value="<!-- TMPL_VAR NAME="updtype" -->">
<input type="hidden" name="guarantorid" value="<!-- TMPL_VAR NAME="guarantorid" -->">
<input type="hidden" name="select_roadtype" value="<!-- TMPL_VAR NAME="select_roadtype" -->">
<input type="hidden" name="destination" value="<!-- TMPL_VAR NAME="destination" -->" />
<input type="hidden" name="check_member" value="<!-- TMPL_VAR NAME="check_member" -->" />
<input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->">
<input type="hidden" name="nodouble" value="<!-- TMPL_VAR NAME="nodouble" -->"/>
<!-- input from form 1 -->
<input type="hidden" name="title" size="10" value="<!-- TMPL_VAR NAME="title" -->">
<input style="text-transform:capitalize;" type="hidden" name="firstname" size="20" value="<!-- TMPL_VAR NAME="firstname" -->">
<input style="text-transform:uppercase;" type="hidden" name="surname" size="20" value="<!-- TMPL_VAR NAME="surname" -->" >
<input type="hidden" name="dateofbirth" size="20" value="<!-- TMPL_VAR NAME="dateofbirth" -->">
<input type="hidden" name="initials" size="20" value="<!-- TMPL_VAR NAME="initials" -->">
<input type="hidden" name="othernames" size="20" value="<!-- TMPL_VAR NAME="othernames" -->" >
<input type="hidden" name="sex" value="<!-- TMPL_VAR NAME="sex" -->" >
<input type="hidden" name="categorycode" size="10" value="<!-- TMPL_VAR NAME="categorycode" -->">
<input type="hidden" name="select_city" value="<!-- TMPL_VAR NAME="select_city" -->">
<input type="hidden" name="sort1" value="<!-- TMPL_VAR NAME="sort1" -->">
<input type="hidden" name="sort2" value="<!-- TMPL_VAR NAME="sort2" -->">
<input name="guarantorinfo" type="hidden" size="20" value="<!-- TMPL_VAR NAME="guarantorinfo" -->" readOnly >
<!-- input from form3 -->
<input type="hidden" name="dateenrolled" size="20" value="<!-- TMPL_VAR NAME="dateenrolled" -->">
<input type="hidden" name="dateexpiry" size="20" value="<!-- TMPL_VAR NAME="dateexpiry" -->">
<textarea style="display:none;" name="opacnote" cols="70" rows="3"><!-- TMPL_VAR NAME="opacnote"--></textarea>
<textarea style="display:none;" name="borrowernotes" cols="70" rows="3"><!-- TMPL_VAR NAME="borrowernotes" --></textarea>
<input type="hidden" name="userid" size="20" value="<!-- TMPL_VAR NAME="userid" -->">
<input type="hidden" name="password" size="20" value="<!-- TMPL_VAR NAME="password" -->">
<input type="hidden" name="debarred" value="<!-- TMPL_VAR NAME="debarred" -->" />
<input type="hidden" name="lost" value="<!-- TMPL_VAR NAME="lost" -->" />
<input type="hidden" name="gonenoaddress" value="<!-- TMPL_VAR NAME="gonenoaddress" -->" />
<!-- TMPL_IF NAME="opadd" -->
<input type="hidden" name="op" value="add">
<!-- TMPL_ELSE -->
<input type="hidden" name="op" value="modify">
<!-- /TMPL_IF -->
<!-- TMPL_VAR NAME="member" -->
<p>
<!-- TMPL_IF NAME="mandatorycardnumber" -->
<label style="font-weight:bold">
<!--TMPL_ELSE-->
<label>
<!-- /TMPL_IF-->
Numéro de carte</label>
<input type="text" name="cardnumber" size="10" value="<!-- TMPL_VAR NAME="cardnumber" -->">
</p>
<fieldset>
<legend>Garant</legend>
<p>
<!-- TMPL_IF NAME="mandatorycontacttitle" -->
<label style="font-weight:bold">
<!--TMPL_ELSE-->
<label>
<!-- /TMPL_IF-->
Titre</label>
<select name="contacttitle" >
<option <!-- TMPL_VAR NAME="contacttitle_selected " --> value="" >Civilité</option>
<option value="Mlle" <!-- TMPL_VAR NAME="contacttitle_Mlle" -->>Mlle</option>
<option value="Mme" <!-- TMPL_VAR NAME="contacttitle_Mme" -->>Mme</option>
<option value="Mr" <!-- TMPL_VAR NAME="contacttitle_Mr" --> >M.</option>
</select>
</p>
<p>
<!-- TMPL_IF NAME="mandatorycontactname" -->
<label style="font-weight:bold">
<!--TMPL_ELSE-->
<label>
<!-- /TMPL_IF-->
Nom de famille</label>
<input type="text" style="text-transform:uppercase;" name="contactname" size="20" value="<!-- TMPL_VAR NAME="contactname" -->">
</p>
<p>
<!-- TMPL_IF NAME="mandatorycontactfirstname" -->
<label style="font-weight:bold">
<!--TMPL_ELSE-->
<label>
<!-- /TMPL_IF-->
Prénom</label>
<input type="text" style="text-transform:capitalize;" name="contactfirstname" size="20" value="<!-- TMPL_VAR NAME="contactfirstname" -->">
</p>
<p>
<!-- TMPL_IF NAME="mandatorybranchcode" -->
<label style="font-weight:bold">
<!--TMPL_ELSE-->
<label>
<!-- /TMPL_IF-->
Site</label>
<!-- TMPL_VAR NAME="CGIbranch" -->
</p>
<p>
<!-- TMPL_IF NAME="mandatorystreetnumber" -->
<label style="font-weight:bold">
<!--TMPL_ELSE-->
<label>
<!-- /TMPL_IF-->
Numéro dans la voie</label>
<input type="text" name="streetnumber" size="5" value="<!-- TMPL_VAR NAME="streetnumber" -->">
</p>
<!-- TMPL_IF NAME="road_cgipopup" -->
<p>
<!-- TMPL_IF NAME="mandatorystreettype" -->
<label style="font-weight:bold">
<!--TMPL_ELSE-->
<label>
<!-- /TMPL_IF-->
Type de voie</label>
<!-- TMPL_VAR NAME="roadpopup" -->
</p>
<!--/TMPL_IF-->
<p>
<!-- TMPL_IF NAME="mandatoryaddress" -->
<label style="font-weight:bold">
<!--TMPL_ELSE-->
<label>
<!-- /TMPL_IF-->
Adresse</label>
<input type="text" name="address" size="35" value="<!-- TMPL_VAR NAME="address" -->">
</p>
<p>
<!-- TMPL_IF NAME="mandatoryaddress2" -->
<label style="font-weight:bold">
<!--TMPL_ELSE-->
<label>
<!-- /TMPL_IF-->
Adresse 2</label>
<input type="text" name="address2" size="35" value="<!-- TMPL_VAR NAME="address2" -->">
</p>
<p>
<!-- TMPL_IF NAME="mandatoryzipcode" -->
<label style="font-weight:bold">
<!--TMPL_ELSE-->
<label>
<!-- /TMPL_IF-->
Code postal</label>
<input type="text" maxlength="5" name="zipcode" size="10" value="<!-- TMPL_VAR NAME="zipcode" -->">
</p>
<p>
<!-- TMPL_IF NAME="mandatorycity" -->
<label style="font-weight:bold">
<!--TMPL_ELSE-->
<label>
<!-- /TMPL_IF-->
Commune</label>
<input style="text-transform:uppercase;" type="text" name="city" size="20" value="<!-- TMPL_VAR NAME="city" -->">
</p>
<p>
<!-- TMPL_IF NAME="mandatoryrelationship" -->
<label style="font-weight:bold">
<!--TMPL_ELSE-->
<label>
<!-- /TMPL_IF-->
Relation</label>
<select name="relationship" size="1">
<!-- TMPL_LOOP NAME="relshiploop" -->
<option <!-- TMPL_VAR NAME="selected" -->><!-- TMPL_VAR NAME="relationship" --></option>
<!-- /TMPL_LOOP -->
</select>
</p>
</fieldset>
<fieldset>
<legend>Contact </legend>
<h2>Garant</h2>
<p>
<!-- TMPL_IF NAME="mandatoryphone" -->
<label style="font-weight:bold">
<!--TMPL_ELSE-->
<label>
<!-- /TMPL_IF-->
Téléphone (domicile)</label>
<input type="text" name="phone" value="<!-- TMPL_VAR NAME="phone" -->" >
</p>
<p>
<!-- TMPL_IF NAME="mandatoryphonepro" -->
<label style="font-weight:bold">
<!--TMPL_ELSE-->
<label>
<!-- /TMPL_IF-->
Téléphone (travail)</label>
<input type="text" name="phonepro" value="<!-- TMPL_VAR NAME="phonepro" -->" >
</p>
<p>
<!-- TMPL_IF NAME="mandatorymobile" -->
<label style="font-weight:bold">
<!--TMPL_ELSE-->
<label>
<!-- /TMPL_IF-->
Téléphone (portable)</label>
<input type="text" name="mobile" value="<!-- TMPL_VAR NAME="mobile" -->" >
</p>
<p>
<!-- TMPL_IF NAME="mandatoryemail" -->
<label style="font-weight:bold">
<!--TMPL_ELSE-->
<label>
<!-- /TMPL_IF-->
Email (domicile)</label>
<input type="text" name="email" value="<!-- TMPL_VAR NAME="email" -->" >
</p>
<p>
<!-- TMPL_IF NAME="mandatoryemailpro" -->
<label style="font-weight:bold">
<!--TMPL_ELSE-->
<label>
<!-- /TMPL_IF-->
Email (travail)</label>
<input type="text" name="emailpro" value="<!-- TMPL_VAR NAME="emailpro" -->" >
</p>
<p>
<!-- TMPL_IF NAME="mandatoryfax" -->
<label style="font-weight:bold">
<!--TMPL_ELSE-->
<label>
<!-- /TMPL_IF-->
fax</label>
<input type="text" name="fax" value="<!-- TMPL_VAR NAME="fax" -->" >
</p>
<h2>Adhérent</h2>
<p>
<!-- TMPL_IF NAME="mandatoryB_email" -->
<label style="font-weight:bold">
<!--TMPL_ELSE-->
<label>
<!-- /TMPL_IF-->
Email (domicile)</label>
<input type="text" name="B_email" value="<!-- TMPL_VAR NAME="B_email" -->" >
<!-- TMPL_IF NAME="mandatoryB_phone" -->
<label style="font-weight:bold">
<!--TMPL_ELSE-->
<label>
<!-- /TMPL_IF-->
Téléphone (portable)</label>
<input type="text" name="B_phone" value="<!-- TMPL_VAR NAME="B_phone" -->" >
</p>
</fieldset>
<div>
<input type="button" name="step1" value="Etape précédente" onclick="check_form_borrowers(0);">
<input type="button" name="step3" onclick="check_form_borrowers(3)" value="Étape suivante">
</div>
</form>
<!--/TMPL_IF-->
<!-- TMPL_IF NAME="step_3"-->
<form name="form" action="/cgi-bin/koha/members/memberentry.pl" method="post">
<!-- field always hidden in different form (1,2,3) -->
<input type="hidden" name="BorrowerMandatoryField" value="<!--TMPL_VAR NAME="BorrowerMandatoryField"-->">
<input type="hidden" name="FormFieldList" value="cardnumber|dateenrolled|dateexpiry|opacnote|borrowernotes|userid|password">
<input type="hidden" name="category_type" value="<!-- TMPL_VAR name="category_type" -->">
<input type="hidden" name="type" value="borrowers">
<input type="hidden" name="step" value="<!-- TMPL_VAR NAME="step" -->">
<input type="hidden" name="updtype" value="<!-- TMPL_VAR NAME="updtype" -->">
<input type="hidden" name="guarantorid" value="<!-- TMPL_VAR NAME="guarantorid" -->">
<input type="hidden" name="select_roadtype" value="<!-- TMPL_VAR NAME="select_roadtype" -->">
<input type="hidden" name="destination" value="<!-- TMPL_VAR NAME="destination" -->" />
<input type="hidden" name="check_member" value="<!-- TMPL_VAR NAME="check_member" -->" />
<input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->">
<input type="hidden" name="nodouble" value="<!-- TMPL_VAR NAME="nodouble" -->"/>
<!-- input from form 1 -->
<input type="hidden" name="title" size="10" value="<!-- TMPL_VAR NAME="title" -->">
<input style="text-transform:capitalize;" type="hidden" name="firstname" size="20" value="<!-- TMPL_VAR NAME="firstname" -->">
<input style="text-transform:uppercase;" type="hidden" name="surname" size="20" value="<!-- TMPL_VAR NAME="surname" -->" >
<input type="hidden" name="dateofbirth" size="20" value="<!-- TMPL_VAR NAME="dateofbirth" -->">
<input type="hidden" name="initials" size="20" value="<!-- TMPL_VAR NAME="initials" -->">
<input type="hidden" name="othernames" size="20" value="<!-- TMPL_VAR NAME="othernames" -->" >
<input type="hidden" name="sex" value="<!-- TMPL_VAR NAME="sex" -->" >
<input type="hidden" name="categorycode" size="10" value="<!-- TMPL_VAR NAME="categorycode" -->">
<input type="hidden" name="select_city" value="<!-- TMPL_VAR NAME="select_city" -->">
<input type="hidden" name="sort1" value="<!-- TMPL_VAR NAME="sort1" -->">
<input type="hidden" name="sort2" value="<!-- TMPL_VAR NAME="sort2" -->">
<input name="guarantorinfo" type="hidden" size="20" value="<!-- TMPL_VAR NAME="guarantorinfo" -->" readOnly >
<!-- input from form 2 -->
<input type="hidden" name="contacttitle" size="20" value="<!-- TMPL_VAR NAME="contacttitle" -->">
<input type="hidden" name="contactname" size="35" value="<!-- TMPL_VAR NAME="contactname" -->">
<input type="hidden" name="contactfirstname" size="5" value="<!-- TMPL_VAR NAME="contactfirstname" -->">
<input type="hidden" name="branchcode" size="20" value="<!-- TMPL_VAR NAME="branchcode" -->">
<input type="hidden" name="streetnumber" value="<!-- TMPL_VAR NAME="streetnumber" -->">
<input type="hidden" name="streettype" value="<!-- TMPL_VAR NAME="streettype" -->">
<input type="hidden" name="address" value="<!-- TMPL_VAR NAME="address" -->">
<input type="hidden" name="address2" value="<!-- TMPL_VAR NAME="address2" -->">
<input type="hidden" name="zipcode" size="20" value="<!-- TMPL_VAR NAME="zipcode" -->">
<input type="hidden" name="city" size="20" value="<!-- TMPL_VAR NAME="city" -->">
<input type="hidden" name="relationship" size="20" value="<!-- TMPL_VAR NAME="relationship" -->">
<input type="hidden" name="phone" size="10" value="<!-- TMPL_VAR NAME="phone" -->" >
<input type="hidden" name="phonepro" value="<!-- TMPL_VAR NAME="phonepro" -->" >
<input type="hidden" name="mobile" size="10" value="<!-- TMPL_VAR NAME="mobile" -->" >
<input type="hidden" name="email" value="<!-- TMPL_VAR NAME="email" -->" >
<input type="hidden" name="emailpro" value="<!-- TMPL_VAR NAME="emailpro" -->" >
<input type="hidden" name="B_email" value="<!-- TMPL_VAR NAME="B_email" -->" >
<input type="hidden" name="B_phone" value="<!-- TMPL_VAR NAME="B_phone" -->" >
<input type="hidden" name="fax" value="<!-- TMPL_VAR NAME="fax" -->" >
<!-- TMPL_IF NAME="opadd" -->
<input type="hidden" name="op" value="add">
<!-- TMPL_ELSE -->
<input type="hidden" name="op" value="modify">
<!-- /TMPL_IF -->
<p>
<!-- TMPL_IF NAME="mandatorycardnumber" -->
<label style="font-weight:bold">
<!--TMPL_ELSE-->
<label>
<!-- /TMPL_IF-->
Numéro de carte</label>
<input type="text" name="cardnumber" size="10" value="<!-- TMPL_VAR NAME="cardnumber" -->">
</p>
<fieldset id="memberentry_subscription">
<legend>Droit d'accès</legend>
<p>
<!-- TMPL_IF NAME="mandatorydateenrolled" -->
<label style="font-weight:bold">
<!--TMPL_ELSE-->
<label>
<!-- /TMPL_IF-->
Date d'arrivée</label>
<input type="text" name="dateenrolled" maxlength="10" size="10" onchange="CheckDate(document.form.dateenrolled);check_manip_date('verify');" value="<!-- TMPL_VAR NAME="dateenrolled" -->">
</p>
<p>
<!-- TMPL_IF NAME="mandatorydateexpiry" -->
<label style="font-weight:bold">
<!--TMPL_ELSE-->
<label>
<!-- /TMPL_IF-->
Date d'expiration</label>
<input type="text" name="dateexpiry" maxlength="10" size="10"
onchange="CheckDate(document.form.dateexpiry);check_manip_date('verify');" value="<!-- TMPL_VAR NAME="dateexpiry" -->">
</p>
<p>
<!-- TMPL_IF NAME="mandatoryopacnote" -->
<label style="font-weight:bold">
<!--TMPL_ELSE-->
<label>
<!-- /TMPL_IF-->
Note à l'OPAC</label>
<textarea name="opacnote" cols="40" rows="2" ><!-- TMPL_VAR NAME="opacnote" --></textarea>
</p>
<p>
<!-- TMPL_IF NAME="mandatoryborrowernotes" -->
<label style="font-weight:bold">
<!--TMPL_ELSE-->
<label>
<!-- /TMPL_IF-->
Note interne</label>
<textarea name="borrowernotes" cols="40" rows="2" ><!-- TMPL_VAR NAME="borrowernotes" --></textarea>
</p>
</fieldset>
<fieldset id="memberentry_userid">
<legend>Identifiant OPAC </legend>
<p>
<!-- TMPL_IF NAME="mandatoryuserid" -->
<label style="font-weight:bold">
<!--TMPL_ELSE-->
<label>
<!-- /TMPL_IF-->
Identifiant OPAC </label>
<input type="text" name="userid" size="20" value="<!-- TMPL_VAR NAME="userid" -->">
</p>
<p>
<!-- TMPL_IF NAME="mandatorypassword" -->
<label style="font-weight:bold">
<!--TMPL_ELSE-->
<label>
<!-- /TMPL_IF-->
Mot de passe</label>
<!--TMPL_IF NAME="opadd"-->
<input type="text" name="password" size="20" value="<!-- TMPL_VAR NAME="password" -->">
<!--TMPL_ELSE-->
<!--TMPL_IF NAME="password"-->
<input type="text" name="password" size="20" value="****">
<!--TMPL_ELSE-->
<input type="text" name="password" size="20" value="">
<!--/TMPL_IF-->
<!--/TMPL_IF-->
</p>
<!--this zones are not necessary in modif mode -->
<!-- TMPL_UNLESS NAME="opadd" -->
<h2>Mise en garde</h2>
<!-- TMPL_LOOP NAME="flagloop" -->
<p>
<label class="borrowers_labels_title"><!-- TMPL_VAR NAME="html" --></label>
<input type="radio" name="<!-- TMPL_VAR NAME="name" -->" value="1" <!-- TMPL_VAR NAME="yes" -->> Oui <input type="radio" name="<!-- TMPL_VAR NAME="name" -->" value="0" <!-- TMPL_VAR NAME="no" -->>Non
</p>
<!-- /TMPL_LOOP -->
<!-- /TMPL_UNLESS -->
<p>
</fieldset>
<div>
<input type="button" class="borrowers_button" name="step2" value="Etape précédente" onclick="check_form_borrowers(1);">
<!-- TMPL_IF NAME="opadd" -->
<input type="button" name="step4" onclick="unique();" value="Valider l'inscription">
<!-- TMPL_ELSE -->
<input type="button" name="step4" onclick="check_form_borrowers();" value="Modifier adhérent">
<!--/TMPL_IF -->
</div>
</form>
<!-- /TMPL_IF -->
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->