113 lines
4.4 KiB
PHP
Executable File
113 lines
4.4 KiB
PHP
Executable File
<?php $this->titre = "INTER-SANTE - Compta Client"; ?>
|
|
|
|
<div class="row">
|
|
<div class="col-4">
|
|
<FORM name = "forminfoclient" id = "forminfoclient" method="POST" action="Compta/changercompte/">
|
|
<input class="sr-only" type="submit">
|
|
<fieldset>
|
|
<table class="table table-responsive table-condensed">
|
|
<tbody>
|
|
<tr>
|
|
<td width="25%" > <?= _("No Client") ?> </td>
|
|
<td>
|
|
<INPUT style='text-align:center' class="form-control" TYPE="text" id="numeroClient" name="numeroClient"
|
|
value="<?= $_SESSION['numeroClient_C'] ?>" onChange="compta_changer_client(this.value);"
|
|
placeholder="No Client" autofocus required AUTOCOMPLETE="OFF" >
|
|
</td>
|
|
<td> <button type="button" class="btn btn-info" data-bs-toggle="modal" data-bs-target="#popRechercheClient"> <?= _("Rechercher...") ?> </button> </td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="3"><INPUT class="form-control" TYPE="text" id="nomClient" name="nomClient" value="<?= $_SESSION['nomClient_C'] ?>" readonly></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</fieldset>
|
|
</FORM>
|
|
</div>
|
|
|
|
<div class="col-8">
|
|
<FORM name = "formpolicesclient" id = "formpolicesclient" method="POST">
|
|
<fieldset>
|
|
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:8pt">
|
|
<thead>
|
|
<tr>
|
|
<th> <?= _("Police") ?> </th>
|
|
<th>Type</th>
|
|
<th style='text-align:center'> <?= _("Effet") ?> </th>
|
|
<th style='text-align:center'> <?= _("Echéance") ?> </th>
|
|
<th style='text-align:center'> <?= _("No Avenant") ?> </th>
|
|
<th> <?= _("Type Avenant") ?> </th>
|
|
<th> <?= _("Etat") ?> </th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<?php foreach ($polices as $police):
|
|
$idPolice=$this->nettoyer($police['id']);
|
|
$numeroPolice=$this->nettoyer($police['numeroPolice']);
|
|
?>
|
|
<tr onclick="javascript:selectionner_police(<?= $idPolice ?>,'<?= $numeroPolice ?>'); afficher_quittances_police();" valign="top">
|
|
<td><?= $this->nettoyer($police['numeroPolice']) ?></td>
|
|
<td><?= $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['numeroAvenant']) ?></td>
|
|
<td><?= $this->nettoyer($police['typeAvenant']) ?></td>
|
|
<td><?= $this->nettoyer($police['etatPolice']) ?></td>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
</table>
|
|
</fieldset>
|
|
</FORM>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="div_quittancepolice">
|
|
<div class="row">
|
|
<div class="col-7">
|
|
<div class="alert alert-danger" style="height:38px; padding:5px;" >
|
|
<H4> <?= _("Sélectionner une police en haut à droite!") ?> </H4>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="div_encaissementsquittance" class="col-5">
|
|
<P> <?= _("Encaisements de la quittance") ?> </P>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="modal fade" id="popRechercheClient" role="dialog">
|
|
<div class="modal-dialog modal-lg">
|
|
<div class="modal-content">
|
|
|
|
|
|
<div class="modal-body">
|
|
<STRONG> <?= _("Rechercher un client") ?> </STRONG>
|
|
<div id="div_listeclient" onkeypress="javascript:ctrlkeypress(event);">
|
|
<table class="table table-striped table-bordered table-hover table-condensed table-responsive">
|
|
<thead>
|
|
<tr>
|
|
<th width="10%" > <?= _("Nunméro") ?> </th>
|
|
<th> <?= _("Nom") ?> </th>
|
|
<th> <?= _("Prénoms") ?> </th>
|
|
<th> <?= _("Mobile") ?> </th>
|
|
<th> <?= _("Ville") ?> </th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><input type="text" class="form-control" id="numeroclientsearch" name="numeroclientsearch"></td>
|
|
<td><input type="text" class="form-control" id="nomsearch" name="nomsearch" autofocus ></td>
|
|
<td><input type="text" class="form-control" id="prenomsearch" name="prenomsearch"></td>
|
|
<td><input type="text" class="form-control" id="telsearch" name="telsearch"></td>
|
|
<td><input type="button" class = "form-control btn btn-info" value="<?= _("Rechercher...") ?>" onclick="javascript:afficher_pop_recherche_client();" /></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|