Import initial du projet Production
This commit is contained in:
90
Vue/Pagetmsouscripteur/index.php
Executable file
90
Vue/Pagetmsouscripteur/index.php
Executable file
@@ -0,0 +1,90 @@
|
||||
<?php
|
||||
$this->titre = "INTER SANTE - T M négocié pour un souscripteur";
|
||||
|
||||
?>
|
||||
|
||||
|
||||
|
||||
<legend > <?= _("Ticket Modérateur négocié pour un souscripteur") ?> </legend>
|
||||
|
||||
<?php
|
||||
$adminSin = $_SESSION['adminSin'];
|
||||
?>
|
||||
|
||||
<table class="table table-responsive" style='font-size:9pt;'>
|
||||
<tbody>
|
||||
<tr >
|
||||
<td width="8%" class="required"> <?= _("Souscripteur") ?> </td>
|
||||
<td colspan="4">
|
||||
<SELECT onChange="javascript:afficheMaxdateEffetClient();" class="form-control selectpicker" data-live-search="true" id="idClient" NAME="idClient" style="font-size:10pt;" autofocus required AUTOCOMPLETE="OFF">
|
||||
<?php liste_options($clients, ""); ?>
|
||||
</SELECT>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width="8%" class="required"> <?= _("Date Effet") ?> </td>
|
||||
<td width="20%">
|
||||
<INPUT style='text-align:center; font-size:12pt;' class="form-control datepicker" TYPE="text" id="dateEffet"
|
||||
NAME="dateEffet" value="" onChange="javascript:controleDateEffetTmNegocie();" required AUTOCOMPLETE="OFF">
|
||||
</td>
|
||||
<td width="10%" align="center" class="required"> <?= _("Ticket Modérateur") ?> </td>
|
||||
<td width="8%">
|
||||
<input id="tm" name="tm" style="font-size:12pt; height:30px; text-align:center;" class="form-control" type="number" min="0" max="100" value="" required AUTOCOMPLETE="OFF">
|
||||
</td>
|
||||
|
||||
<td >
|
||||
<input style='font-size:12pt;' id="btn_inserer" name="btn_inserer"
|
||||
class = "form-control btn btn-primary" type="button" value="<?= _("Insérer") ?>"
|
||||
onclick="javascript:inserer_tmclient()">
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div id="div_effet_max">
|
||||
</div>
|
||||
|
||||
<div id="div_liste_tm" >
|
||||
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:10pt;">
|
||||
<thead >
|
||||
<tr >
|
||||
<th style='text-align:center; border: 2px solid #ddd;' colspan="2"> <?= _("Souscripteur") ?> </th>
|
||||
<th style='text-align:center; border: 2px solid #ddd;' > <?= _("Effet") ?> </th>
|
||||
<th style='text-align:center; border: 2px solid #ddd;' width="10%"> <?= _("T M") ?> </th>
|
||||
<th style='text-align:center; border: 2px solid #fff;' width="10%"> <?= _("Suppr") ?> </th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tbody>
|
||||
<?php foreach ($tmclient as $v):
|
||||
$idTm = $v['idTm'];
|
||||
$supprime = $v['supprime'];
|
||||
?>
|
||||
<?php if($supprime=='1'): ?>
|
||||
<tr valign="top" style="text-decoration: line-through red;">
|
||||
<?php else: ?>
|
||||
<tr valign="top">
|
||||
<?php endif; ?>
|
||||
<td style='border: 2px solid #ddd;' align="center"><?= $this->nettoyer($v['idClient']); ?></td>
|
||||
<td style='border: 2px solid #ddd;'><?= $this->nettoyer($v['cli']); ?></td>
|
||||
<td style='text-align:center; border: 2px solid #ddd;'><?= datefr($this->nettoyer($v['dateEffet'])); ?></td>
|
||||
<td style='text-align:center; border: 2px solid #ddd;'><?= $this->nettoyer($v['ticketModerateur']);?></td>
|
||||
<?php if($supprime=='0'): ?>
|
||||
<td>
|
||||
<button type="button" class="form-control btn btn-danger" onClick="javascript:supprimer_tmclient(<?=$idTm?>,'<?=$adminSin ?>');">
|
||||
<i class="fa fa-times" aria-hidden="true"></i>
|
||||
</button>
|
||||
</td>
|
||||
<?php else: ?>
|
||||
<td> </td>
|
||||
<?php endif; ?>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user