81 lines
3.6 KiB
PHP
Executable File
81 lines
3.6 KiB
PHP
Executable File
<?php
|
|
// $this->titre = "INTER-SANTE - Import assurés";
|
|
?>
|
|
|
|
<legend> <?= _("Envoi de SMS à une liste de destinataires hors système") ?> </legend>
|
|
|
|
<div id="div_envois_sms">
|
|
<table class="table table-responsive table-condensed" style='font-size:10pt;' >
|
|
<tbody>
|
|
<tr>
|
|
<td> <button style='font-size:10pt;' type="button" class="form-control btn btn-primary" onclick="javascript:exporter_modele_destinataire_sms();"> <?= _("1 => Obtenir Fichier Modèle") ?> </button> </td>
|
|
|
|
<td></td>
|
|
|
|
<td> <button style='font-size:10pt;' type="button" class="form-control btn btn-primary" onclick="javascript:charger_fichier_modele_destinataire_sms();"> <?= _("2 => Charger Fichier Renseigné") ?> </button> </td>
|
|
|
|
<td>
|
|
<?php if($fichierimport['etape2']=='1'): ?>
|
|
<input id="etape2" NAME="etape2" style='width: 28px; height: 28px;' type="checkbox" checked value="<?php echo $fichierimport['etape2'] ; ?>" disabled >
|
|
<?php else: ?>
|
|
<input id="etape2" NAME="etape2" style='width: 28px; height: 28px;' type="checkbox" value="<?php echo $fichierimport['etape2'] ; ?>" disabled >
|
|
<?php endif; ?>
|
|
</td>
|
|
|
|
<td></td>
|
|
<td> <button style='font-size:10pt;' type="button" class="form-control btn btn-primary" onclick="javascript:importer_destinataire_sms();"> <?= _("3 => Importer la liste") ?> </button> </td>
|
|
|
|
<td>
|
|
<?php if($fichierimport['etape3']=='1'): ?>
|
|
<input id="etape3" NAME="etape3" style='width: 28px; height: 28px;' type="checkbox" checked value="<?php echo $fichierimport['etape3'] ; ?>" disabled >
|
|
<?php else: ?>
|
|
<input id="etape3" NAME="etape3" style='width: 28px; height: 28px;' type="checkbox" value="<?php echo $fichierimport['etape3'] ; ?>" disabled >
|
|
<?php endif; ?>
|
|
</td>
|
|
|
|
<td></td>
|
|
<td> <button style='font-size:10pt;' type="button" class="form-control btn btn-primary" onclick="javascript:ajax_init_destinataires_sms_hos_systeme();"> <?= _("4 => Envoi des SMS") ?> </button> </td>
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
<div id="div_exporter_destinataires_sms">
|
|
|
|
</div>
|
|
|
|
<div id="div_form_upload" style="display: none">
|
|
<form enctype="multipart/form-data" action="Importdestinatairesms" method="post">
|
|
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
|
|
<tbody>
|
|
<tr>
|
|
<td> <?= _("Document") ?> </td>
|
|
<td> <input style="font-size: 15px; height: 40px" class="form-control btn btn-info" name="fichier_upload" type="file" id="fichier_upload" /> </td>
|
|
|
|
<td> </td>
|
|
<td> <input style='font-size:10pt;' class="form-control btn btn-primary" type="submit" name="submit" value="<?= _("Envoyer") ?>" /> </td>
|
|
</tr>
|
|
|
|
</tbody>
|
|
</table>
|
|
</form>
|
|
</div>
|
|
|
|
|
|
<?php if((isset($msgErreur)) && ($msgErreur>" ")) : ?>
|
|
<INPUT style='font-size:14pt; color:green; text-align:center;' class="form-control" type="text" value="<?= $msgErreur ?>" readonly >
|
|
<?php endif; ?>
|
|
|
|
<INPUT style='font-size:14pt; color:green; text-align:center;' class="form-control" type="text" value="<?= _('FICHIER A UTILISER').' => '.$this->nettoyer($fichierimport['nomOrigine']) ?>" readonly disabled >
|
|
|
|
<input class="sr-only" type="text" id="cheminFichier" name="cheminFichier" value="<?= $this->nettoyer($fichierimport['cheminFichier']) ?>">
|
|
|
|
<div id="div_erreur_excel" >
|
|
<input class="sr-only" type="text" id="succes_impot_execl" name="succes_impot_execl" value="0">
|
|
</div>
|
|
</div>
|
|
|
|
<input class="sr-only" type="text" id="codeTypeDestinataire" name="codeTypeDestinataire" value="HS">
|
|
|