132 lines
5.9 KiB
PHP
Executable File
132 lines
5.9 KiB
PHP
Executable File
<?php
|
|
if (est_anglophone())
|
|
{
|
|
$libelleSecteur = $client['libelleSecteurEng'];
|
|
$libelleTypeClient = $client['libelleTypeClientEng'];
|
|
$libelleTitre = $client['libelleTitreEng'];
|
|
}
|
|
else
|
|
{
|
|
$libelleSecteur = $client['libelleSecteur'];
|
|
$libelleTypeClient = $client['libelleTypeClient'];
|
|
$libelleTitre = $client['libelleTitre'];
|
|
}
|
|
?>
|
|
|
|
<script type="text/javascript">
|
|
|
|
</script>
|
|
|
|
<div style="height:100%; background-color: rgb(255,0,255); text-align:center;">
|
|
<?= _("GESTION DES COTATIONS") ?>
|
|
</div>
|
|
|
|
<FORM name = "formficheclient" id = "formficheclient" method="POST">
|
|
<fieldset>
|
|
<legend> <?= _("Prospect Numéro") . " : " . $this->nettoyer($client['numeroClient'])?></legend>
|
|
<table class="table table-responsive table-condensed">
|
|
<tbody>
|
|
<tr>
|
|
<td width="10%" > <?= _("Nom") ?> </td>
|
|
<td width="38%"><INPUT class="form-control" TYPE="text" id="nom" NAME="nom" value="<?=$this->nettoyer($client['nom'])?>" readonly></td>
|
|
|
|
<td width="15%" align="center"> <?= _("Prénoms") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="text" id="prenoms" NAME="prenoms" value="<?=$this->nettoyer($client['prenoms'])?>" readonly></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td width="15%" >Type</td>
|
|
<td width="38%"><INPUT class="form-control" TYPE="text" id="libelleTypeClient" NAME="libelleTypeClient" value="<?=$this->nettoyer($client['libelleTypeClient'])?>" readonly></td>
|
|
|
|
<td width="10%" align="center"> <?= _("Titre") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="text" id="libelleTitre" NAME="libelleTitre" value="<?= $libelleTitre ?>" readonly></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td> <?= _("Adresse Géo") ?> </td>
|
|
<td colspan="3"><INPUT class="form-control" TYPE="text" id="adresseGeo" NAME="adresseGeo" value="<?=$client['adresseGeo']?>" readonly></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td> <?= _("Adresse Post") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="text" id="boitepostale" NAME="boitepostale" value="<?=$client['boitepostale']?>" readonly></td>
|
|
|
|
<td align="center"> <?= _("Pays") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="text" id="pays" NAME="pays" value="<?=$client['pays']?>" readonly></td>
|
|
|
|
<tr>
|
|
<td> <?= (isset($_SESSION['affichagedynamique']['Province'])) ? _($_SESSION['affichagedynamique']['Province']) : _("Province") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="text" id="ville" NAME="ville" value="<?=$client['Ville']?>" readonly></td>
|
|
|
|
<td align="center"> <?= (isset($_SESSION['affichagedynamique']['Commune'])) ? _($_SESSION['affichagedynamique']['Commune']) : _("Commune") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="text" id="localite" NAME="localite" value="<?=$client['localite']?>" readonly></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td> <?= _("Tél Bureau") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="tel" id="telephoneBureau" NAME="telephoneBureau" value="<?=$this->nettoyer($client['telephoneBureau'])?>" readonly></td>
|
|
|
|
<td align="center"> <?= _("Tél Domicile") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="tel" id="telephonedomicile" NAME="telephonedomicile" value="<?=$client['telephonedomicile']?>" readonly></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td> <?= _("Tél Portable") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="tel" id="telephonePortable" NAME="telephonePortable" value="<?=$client['telephonePortable']?>" readonly></td>
|
|
|
|
<td align="center">Fax</td>
|
|
<td><INPUT class="form-control" TYPE="tel" id="fax" NAME="fax" value="<?=$client['fax']?>" readonly></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>E-mail</td>
|
|
<td><INPUT class="form-control" TYPE="email" id="email" NAME="email" value="<?=$client['email']?>" readonly></td>
|
|
|
|
<td align="center"> <?= _("Secteur Activité") ?> </td>
|
|
<td> <INPUT class="form-control" TYPE="text" id="libelleSecteur" NAME="libelleSecteur" value="<?= $libelleSecteur ?>" readonly> </td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td> <?= _("Registre Comm") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="text" id="registreCommerce" NAME="registreCommerce" value="<?=$client['registreCommerce']?>" readonly></td>
|
|
|
|
<td align="center" > <?= _("Langue") ?> </td>
|
|
<td ><INPUT class="form-control" TYPE="text" id="codeLangueUser" NAME="codeLangueUser" value="<?=$this->nettoyer($client['codeLangueClient'])?>" readonly></td>
|
|
</tr>
|
|
|
|
</tbody>
|
|
</table>
|
|
</fieldset>
|
|
|
|
<fieldset>
|
|
<legend> <?= _("Liste des devis du prospect") ?> </legend>
|
|
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:8pt;">
|
|
<thead>
|
|
<tr>
|
|
<th style='text-align:center'> <?= _("No Devis") ?> </th>
|
|
<th style='text-align:center'>Type</th>
|
|
<th style='text-align:center'> <?= _("Effet") ?> </th>
|
|
<th style='text-align:center'> <?= _("Echéance") ?> </th>
|
|
<th style='text-align:center'> <?= _("No Contrat") ?> </th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<?php foreach ($polices as $police):
|
|
$id = $this->nettoyer($police['id']);
|
|
$nopol = $this->nettoyer($police['numeroPolice']);
|
|
?>
|
|
<tr onclick="javascript:selectionner_police_d(<?= $id ?>,'<?= $nopol ?>');" ondblclick="javascript:selectionner_police_d(<?= $id ?>,'<?= $nopol ?>');afficher_police_d_id_init();" valign="top">
|
|
<td align="center"> <input type="button" value="<?= $nopol ?>" onClick="javascript:selectionner_police_d(<?= $id ?>,'<?= $nopol ?>');afficher_police_d_id_init();"> </td>
|
|
<td align='center'><?= $this->nettoyer($police['typeContrat']) ?></td>
|
|
<td align='center'><?= dateLang($this->nettoyer($police['dateEffet'])) ?></td>
|
|
<td align='center'><?= dateLang($this->nettoyer($police['dateEcheance'])) ?></td>
|
|
<td align='center'><?= $this->nettoyer($police['numeroContrat']) ?></td>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
</table>
|
|
</fieldset>
|
|
</FORM>
|