54 lines
1.9 KiB
PHP
Executable File
54 lines
1.9 KiB
PHP
Executable File
<?php
|
|
$this->titre = "INTER SANTE - Tester paiement mobile money";
|
|
|
|
$paiementMobileActif = $parammobile['paiementMobileActif'];
|
|
?>
|
|
|
|
<script type="text/javascript">
|
|
|
|
</script>
|
|
|
|
|
|
<legend><?= _("Tester l'API paiement mobile money")?></legend>
|
|
|
|
<INPUT class="sr-only" TYPE="text" id="paiementMobileActif" name="paiementMobileActif" value="<?= $paiementMobileActif ?>">
|
|
|
|
<table class="table table-responsive table-condensed" style='font-size:9pt;'>
|
|
<tbody>
|
|
<tr>
|
|
<td> <?= _("Fournisseur") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="text" id="fournisseurPaiementMobile" NAME="fournisseurPaiementMobile" value="paydunya" readonly ></td>
|
|
|
|
<td> <?= _("Préfixe") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="text" id="prefixdestinataire" NAME="prefixdestinataire" value="225" ></td>
|
|
|
|
<td> <?= _("No Bénéficiaire") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="text" id="destinataires" NAME="destinataires" value="0506802339" ></td>
|
|
|
|
<td> <?= _("Withdraw Mode") ?> </td>
|
|
<td>
|
|
<select class="form-control selectpicker" data-live-search="true" id="withdrawModePaiementMobile"
|
|
NAME="withdrawModePaiementMobile" required AUTOCOMPLETE="OFF" >
|
|
<?php liste_options($withdrawmodes,""); ?>
|
|
</SELECT>
|
|
</td>
|
|
|
|
<td> <?= _("ID Reglement") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="number" id="idReglement" NAME="idReglement" value="134"></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td colspan='10' >
|
|
<?php if($paiementMobileActif=='1'): ?>
|
|
<button type="button" class="form-control btn btn-success" onclick="javascript:tester_paiement_mobile();"> <?= _("ENVOYER ARGENT") ?> </button>
|
|
<?php else: ?>
|
|
<button type="button" class="form-control btn btn-danger" disabled > <?= _("MODULE NON ACTIVE") ?> </button>
|
|
|
|
<?php endif; ?>
|
|
</td>
|
|
</tr>
|
|
|
|
</tbody>
|
|
</table>
|
|
|