213 lines
11 KiB
PHP
213 lines
11 KiB
PHP
<fieldset>
|
|
<div class="wpcf-coborrower pt-5 d-none">
|
|
<div class="form-row">
|
|
<legend>Co Emprunteur</legend>
|
|
<legend>Coordonnées de contact</legend>
|
|
|
|
<div class="form-group col-md-6">
|
|
<label for="IDemail">Email</label>
|
|
<input name="email" type="email" class="form-control" id="IDemail">
|
|
</div>
|
|
<div class="form-group col-md-6">
|
|
<label for="IDphone">Téléphone</label>
|
|
<input name="phone" type="tel" class="form-control" id="IDphone">
|
|
</div>
|
|
<div class="form-group col-md-6"><label for="IDcofirstname">Prénom</label>
|
|
<input name="cofirstname" type="text" class="form-control" id="IDcofirstname">
|
|
</div>
|
|
<div class="form-group col-md-6">
|
|
<label for="IDcolastname">Nom</label>
|
|
<input name="colastname" type="text" class="form-control" id="IDcolastname">
|
|
</div>
|
|
|
|
<div class="form-group col-md-3">
|
|
<label for="IDcocivilstatus">État civil</label>
|
|
<?php $etatCivil = $wpdb->get_results("SELECT * FROM cdf_Etat_civil"); ?>
|
|
|
|
<select name="cocivilstatus" id="IDcocivilstatus" class="form-control">
|
|
<option value="" selected="">Veuillez faire un choix</option>
|
|
|
|
<?php foreach ($etatCivil as $ec) : ?>
|
|
<option value="<?php echo $ec->idetat_civil ?>"><?php echo $ec->nom_etat_civil ?></option>
|
|
<?php endforeach ?>
|
|
</select>
|
|
</div>
|
|
|
|
<div class="form-group col-md-4">
|
|
<label for="IDcojob">Profession</label>
|
|
<?php $professions = $wpdb->get_results("SELECT * FROM cdf_Profession"); ?>
|
|
|
|
<select name="cojob" id="IDcojob" class="form-control">
|
|
<option value="">Veuillez faire un choix</option>
|
|
|
|
<?php foreach ($professions as $p) : ?>
|
|
<option value="<?php echo $p->idprofession ?>"><?php echo $p->nom_profession ?></option>
|
|
<?php endforeach ?>
|
|
</select>
|
|
</div>
|
|
|
|
<div class="form-group col-md-4">
|
|
<label for="IDcocontract_type">Type de contrat</label>
|
|
|
|
<select name="cocontract_type" id="IDcocontract_type" class="form-control">
|
|
<option value=""></option>
|
|
|
|
<?php foreach ($contractTypes as $key => $contractType) : ?>
|
|
<option value="<?php echo $key ?>"><?php echo $contractType ?></option>
|
|
<?php endforeach ?>
|
|
</select>
|
|
</div>
|
|
|
|
<div class="form-group col-md-6">
|
|
<label for="IDcosalary"><span>Salaire net mensuel</span></label>
|
|
<input name="cosalary" type="number" class="form-control" id="IDcosalary" min="0" step="0.01" required>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="isIndependant d-none">
|
|
<div class="form-row">
|
|
<div class="col-md-4">
|
|
<label for="idCoSecteurActivites">Type de contrat</label>
|
|
<select name="co_secteur_activite" id="idCoSecteurActivites" class="form-control">
|
|
<option value="">Veuillez faire un choix</option>
|
|
<option value="prive">Privé</option>
|
|
<option value="public">Public</option>
|
|
<option value="autre">Autre</option>
|
|
</select>
|
|
</div>
|
|
<div class="col-md-4">
|
|
<label for="co_num_tva">N° de TVA ou d'entreprise</label>
|
|
<input name="co_num_tva" type="text" class="form-control" id="co_num_tva">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-row py-3">
|
|
<div class="col-form-label pr-3">Autres revenus</div>
|
|
<div class="form-check form-check-inline">
|
|
<input name="cohasotherincome" type="radio" class="form-check-input" id="ID1cohasotherincome" value="0" checked="">
|
|
<label class="form-check-label" for="ID1cohasotherincome">Non</label>
|
|
</div>
|
|
<div class="form-check form-check-inline">
|
|
<input name="cohasotherincome" type="radio" class="form-check-input" id="ID2cohasotherincome" value="1">
|
|
<label class="form-check-label" for="ID2cohasotherincome">Oui</label>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="py-3 co wpcf-otherincome d-none">
|
|
<div class="form-row">
|
|
<div class="col-md-3 col-xs-12">
|
|
<div class="form-row">
|
|
<div class="form-check form-check-inline col-md-12">
|
|
<input name="cohasoimealvoucher" type="checkbox" class="form-check-input wpcf-otherincome--oitype" id="ID0cooitype" value="mealvoucher">
|
|
<label class="form-check-label" for="ID0cooitype">Chèque repas</label>
|
|
</div>
|
|
<div class="form-group col-md-12 wpcf-otherincome--amouth wpcf-otherincome--amouth-mealvoucher d-none">
|
|
<input name="cooiamouthmealvoucher" type="number" class="form-control" id="IDcooiamouthmealvoucher" placeholder="Montant" min="0" step="0.01">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-3 col-xs-12">
|
|
<div class="form-row">
|
|
<div class="form-check form-check-inline col-md-12">
|
|
<input name="cohasoirentalincome" type="checkbox" class="form-check-input wpcf-otherincome--oitype" id="ID1cooitype" value="rentalincome">
|
|
<label class="form-check-label" for="ID1cooitype">Revenus locatif</label>
|
|
</div>
|
|
<div class="form-group col-md-12 wpcf-otherincome--amouth wpcf-otherincome--amouth-rentalincome d-none">
|
|
<input name="cooiamouthrentalincome" type="number" class="form-control" id="IDcooiamouthrentalincome" placeholder="Montant" min="0" step="0.01">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-3 col-xs-12">
|
|
<div class="form-row">
|
|
<div class="form-check form-check-inline col-md-12">
|
|
<input name="cohasoiunemployment" type="checkbox" class="form-check-input wpcf-otherincome--oitype" id="ID2cooitype" value="unemployment">
|
|
<label class="form-check-label" for="ID2cooitype">Chômage</label>
|
|
</div>
|
|
<div class="form-group col-md-12 wpcf-otherincome--amouth wpcf-otherincome--amouth-unemployment d-none">
|
|
<input name="cooiamouthunemployment" type="number" class="form-control" id="IDcooiamouthunemployment" placeholder="Montant" min="0" step="0.01">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-3 col-xs-12">
|
|
<div class="form-row">
|
|
<div class="form-check form-check-inline col-md-12">
|
|
<input name="cohasoiother" type="checkbox" class="form-check-input wpcf-otherincome--oitype" id="ID3cooitype" value="other">
|
|
<label class="form-check-label" for="ID3cooitype">Autre</label>
|
|
</div>
|
|
<div class="form-group col-md-12 wpcf-otherincome--amouth wpcf-otherincome--amouth-other d-none">
|
|
<input name="cooiamouthother" type="number" class="form-control" id="IDcooiamouthother" placeholder="Montant" min="0" step="0.01">
|
|
</div>
|
|
<div class="form-group col-md-12 wpcf-otherincome--amouth wpcf-otherincome--amouth-other d-none">
|
|
<input name="cooiothertext" type="text" class="form-control" id="IDcooiothertext" placeholder="Type de revenu">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-row py-3">
|
|
<div class="col-form-label pr-3">Etes-vous fichez à la Banque Nationale ?</div>
|
|
<div class="form-check form-check-inline">
|
|
<input name="coIsFiched" type="radio" class="form-check-input" id="coIsFiched1" value="0" checked="">
|
|
<label class="form-check-label" for="coIsFiched1">Non</label>
|
|
</div>
|
|
<div class="form-check form-check-inline">
|
|
<input name="coIsFiched" type="radio" class="form-check-input" id="coIsFiched2" value="1">
|
|
<label class="form-check-label" for="coIsFiched2">Oui</label>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="isFichedDisplay em d-none">
|
|
<div class="form-row">
|
|
<div class="col-md-12">
|
|
<p class="sub-title">Statut du fichage</p>
|
|
<div class="form-check form-check-inline">
|
|
<input name="coFichage_status" type="radio" class="form-check-input" id="coFichage_status1" value="regularise">
|
|
<label class="form-check-label" for="coFichage_status1">Régularisé</label>
|
|
</div>
|
|
<div class="form-check form-check-inline">
|
|
<input name="coFichage_status" type="radio" class="form-check-input" id="coFichage_status2" value="non_regularise">
|
|
<label class="form-check-label" for="coFichage_status2">Non régularisé</label>
|
|
</div>
|
|
<div class="form-check form-check-inline">
|
|
<input name="coFichage_status" type="radio" class="form-check-input" id="coFichage_status3" value="mediation_dettes">
|
|
<label class="form-check-label" for="coFichage_status3">Médiation de dettes</label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-row py-3">
|
|
<div class="col-md-12">
|
|
<div class="col-form-label pr-3">Statut du logement</div>
|
|
<select name="coHousing_status" id="coHousing_status" class="form-control">
|
|
<option value="">Veuillez faire un choix</option>
|
|
<option value="proprietaire">Propriétaire avec prêt hypothécaire</option>
|
|
<option value="proprietaire_sans_pret">Propriétaire sans prêt hypothécaire</option>
|
|
<option value="locataire">Locataire</option>
|
|
<option value="cohabitant">Cohabitant</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="hasLoyer em d-none">
|
|
<div class="form-row">
|
|
<div class="col-md-12">
|
|
<div class="col-form-label pr-3">Montant du loyer mensuel ou participation aux charges</div>
|
|
<input name="coMtn_loyer" type="date" class="form-control" id="coMtn_loyer">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</fieldset>
|
|
<!--
|
|
<div class="form-row">
|
|
<input type="hidden" name="wpcfstep" value="step2">
|
|
</div>
|
|
-->
|