fggty
This commit is contained in:
parent
0621200d39
commit
7db0c89a5c
|
|
@ -210,6 +210,8 @@ class ControleurAjaxprestataire extends Controleur
|
|||
|
||||
$prefixePaiementMobile = $this->requete->getParametreFormulaire("prefixePaiementMobile");
|
||||
$mobilePaiement = $this->requete->getParametreFormulaire("mobilePaiement");
|
||||
|
||||
$prixActeModifiable = $this->requete->getParametreFormulaire("prixActeModifiable");
|
||||
|
||||
$idPrestataire = $this->prestataire->creerprestataire(
|
||||
$libelle, $codeTypePrestataire, $categoriePresataire, $codeTarifActe,
|
||||
|
|
@ -224,7 +226,7 @@ class ControleurAjaxprestataire extends Controleur
|
|||
$longitude, $accesAjoutPh, $ajoutPrescription, $interdirVentePartielleMedicament,
|
||||
$filtreMedecin, $codeModeBiometrie, $pharmacieInterne, $optiqueInterne,
|
||||
$appliquerTarifPrestataire, $filtrerIp, $activerOtp, $autoriserUnBonPrincipal,
|
||||
$prefixePaiementMobile, $mobilePaiement);
|
||||
$prefixePaiementMobile, $mobilePaiement, $prixActeModifiable);
|
||||
|
||||
$this->genererVueAjax(array('idPrestataire' => $idPrestataire));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -49,6 +49,7 @@ class ControleurCreerprestataire extends Controleur
|
|||
private $ouinonactiverOtp;
|
||||
private $autoriserUnBonPrincipalOuinon;
|
||||
private $ouinonOptique;
|
||||
private $prixActeModifiableOuinon;
|
||||
|
||||
public function __construct() {
|
||||
$this->menuvue = new Menuvueutilisateur();
|
||||
|
|
@ -87,7 +88,8 @@ class ControleurCreerprestataire extends Controleur
|
|||
$this->ouinonfiltrerIp = (new Ouinon())->getListe();
|
||||
$this->ouinonactiverOtp = (new Ouinon())->getListe();
|
||||
|
||||
$this->autoriserUnBonPrincipalOuinon = (new Ouinon())->getListe();
|
||||
$this->autoriserUnBonPrincipalOuinon = (new Ouinon())->getListe();
|
||||
$this->prixActeModifiableOuinon = (new Ouinon())->getListe();
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -118,36 +120,37 @@ class ControleurCreerprestataire extends Controleur
|
|||
$codeModeBiometrie = $this->societe->get_mode_biometrie_societe();
|
||||
|
||||
$this->genererVue(array(
|
||||
'pays' => $pays,
|
||||
'ville' => $ville,
|
||||
'listelocalite' => $localite,
|
||||
'typeprestataire' => $typeprestataire,
|
||||
'categorie' => $categorie,
|
||||
'tarifActe' => $tarifActe,
|
||||
'banque' => $banque,
|
||||
'tarifsmedicament' => $tarifsmedicament,
|
||||
'tarifsoptique' => $tarifsoptique,
|
||||
'typedecompte' => $typedecompte,
|
||||
'ouinonconvention' => $this->ouinonconvention,
|
||||
'ouinongestionreseau' => $this->ouinongestionreseau,
|
||||
'ouinonreference' => $this->ouinonreference,
|
||||
'langue' => $langue,
|
||||
'ouinontarifnuit' => $this->ouinontarifnuit,
|
||||
'ouinonajoutepha' => $this->ouinonajoutepha,
|
||||
'ouinonajoutepres' => $this->ouinonajoutepres,
|
||||
'ouinonventepar' => $this->ouinonventepar,
|
||||
'ouinonfiltremed' => $this->ouinonfiltremed,
|
||||
'modeBiometrie' => $modeBiometrie,
|
||||
'pays' => $pays,
|
||||
'ville' => $ville,
|
||||
'listelocalite' => $localite,
|
||||
'typeprestataire' => $typeprestataire,
|
||||
'categorie' => $categorie,
|
||||
'tarifActe' => $tarifActe,
|
||||
'banque' => $banque,
|
||||
'tarifsmedicament' => $tarifsmedicament,
|
||||
'tarifsoptique' => $tarifsoptique,
|
||||
'typedecompte' => $typedecompte,
|
||||
'ouinonconvention' => $this->ouinonconvention,
|
||||
'ouinongestionreseau' => $this->ouinongestionreseau,
|
||||
'ouinonreference' => $this->ouinonreference,
|
||||
'langue' => $langue,
|
||||
'ouinontarifnuit' => $this->ouinontarifnuit,
|
||||
'ouinonajoutepha' => $this->ouinonajoutepha,
|
||||
'ouinonajoutepres' => $this->ouinonajoutepres,
|
||||
'ouinonventepar' => $this->ouinonventepar,
|
||||
'ouinonfiltremed' => $this->ouinonfiltremed,
|
||||
'modeBiometrie' => $modeBiometrie,
|
||||
|
||||
'ouinonPharmacie' => $this->ouinonPharmacie,
|
||||
'ouinonOptique' => $this->ouinonOptique,
|
||||
'ouinonPharmacie' => $this->ouinonPharmacie,
|
||||
'ouinonOptique' => $this->ouinonOptique,
|
||||
|
||||
'codeModeBiometrie' => $codeModeBiometrie,
|
||||
'ouinontarifprestataire'=> $this->ouinontarifprestataire,
|
||||
'codeModeBiometrie' => $codeModeBiometrie,
|
||||
'ouinontarifprestataire' => $this->ouinontarifprestataire,
|
||||
|
||||
'ouinonfiltrerIp' => $this->ouinonfiltrerIp,
|
||||
'ouinonactiverOtp' => $this->ouinonactiverOtp,
|
||||
'autoriserUnBonPrincipalOuinon' => $this->autoriserUnBonPrincipalOuinon
|
||||
'ouinonfiltrerIp' => $this->ouinonfiltrerIp,
|
||||
'ouinonactiverOtp' => $this->ouinonactiverOtp,
|
||||
'autoriserUnBonPrincipalOuinon' => $this->autoriserUnBonPrincipalOuinon,
|
||||
'prixActeModifiableOuinon' => $this->prixActeModifiableOuinon
|
||||
));
|
||||
}
|
||||
}
|
||||
|
|
@ -24419,6 +24419,7 @@ function creer_prestataire()
|
|||
}
|
||||
|
||||
autoriserUnBonPrincipal = $("#autoriserUnBonPrincipal").val();
|
||||
prixActeModifiable = $("#prixActeModifiable").val();
|
||||
|
||||
|
||||
donnees = 'libelle='+libelle+'&codeTypePrestataire='+codeTypePrestataire;
|
||||
|
|
@ -24453,6 +24454,8 @@ function creer_prestataire()
|
|||
|
||||
donnees += '&mobilePaiement='+mobilePaiement;
|
||||
donnees += '&prefixePaiementMobile='+prefixePaiementMobile;
|
||||
|
||||
donnees += '&prixActeModifiable='+prixActeModifiable;
|
||||
|
||||
v_msg="Confirmez-vous ce nouveau prestataire?";
|
||||
v_msgEng="Do you confirm this new provider?";
|
||||
|
|
|
|||
|
|
@ -595,13 +595,13 @@ class Prestataire extends Modele {
|
|||
$longitude, $accesAjoutPh, $ajoutPrescription, $interdirVentePartielleMedicament,
|
||||
$filtreMedecin, $codeModeBiometrie, $pharmacieInterne, $optiqueInterne,
|
||||
$appliquerTarifPrestataire, $filtrerIp, $activerOtp, $autoriserUnBonPrincipal,
|
||||
$prefixePaiementMobile, $mobilePaiement)
|
||||
$prefixePaiementMobile, $mobilePaiement, $prixActeModifiable)
|
||||
{
|
||||
$codeSociete = $_SESSION['codeSociete'];
|
||||
$user = $_SESSION['login'];
|
||||
|
||||
$sql = 'call sp_creer_prestataire(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
|
||||
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);';
|
||||
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);';
|
||||
|
||||
$resultat = $this->executerRequete($sql, array($codeSociete,
|
||||
$libelle, $codeTypePrestataire, $categoriePresataire, $codeTarifActe,
|
||||
|
|
@ -616,7 +616,7 @@ class Prestataire extends Modele {
|
|||
$longitude, $accesAjoutPh, $ajoutPrescription, $interdirVentePartielleMedicament,
|
||||
$user, $filtreMedecin, $codeModeBiometrie, $pharmacieInterne, $optiqueInterne,
|
||||
$appliquerTarifPrestataire, $filtrerIp, $activerOtp, $autoriserUnBonPrincipal,
|
||||
$prefixePaiementMobile, $mobilePaiement));
|
||||
$prefixePaiementMobile, $mobilePaiement, $prixActeModifiable));
|
||||
|
||||
$ligne = $resultat->fetch(PDO::FETCH_ASSOC);
|
||||
return $ligne['idPrestataire'];
|
||||
|
|
|
|||
|
|
@ -55,7 +55,6 @@
|
|||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td> <?= _("Indicatif") ?> </td>
|
||||
<td><INPUT class="form-control" TYPE="text" id="prefixePaiementMobile" NAME="prefixePaiementMobile"></td>
|
||||
|
|
@ -282,45 +281,55 @@
|
|||
</tr>
|
||||
|
||||
<tr >
|
||||
<td>
|
||||
<?= _("Activer OTP?") ?>
|
||||
</td>
|
||||
<td>
|
||||
<select class="form-select" id="activerOtp" NAME="activerOtp">
|
||||
<?php liste_options($ouinonactiverOtp, "0",true); ?>
|
||||
</SELECT>
|
||||
</td>
|
||||
<td>
|
||||
<?= _("Activer OTP?") ?>
|
||||
</td>
|
||||
<td>
|
||||
<select class="form-select" id="activerOtp" NAME="activerOtp">
|
||||
<?php liste_options($ouinonactiverOtp, "0",true); ?>
|
||||
</SELECT>
|
||||
</td>
|
||||
|
||||
<td align="center"> <?= _("Filtrage IP?") ?> </td>
|
||||
<td>
|
||||
<select class="form-select" id="filtrerIp" NAME="filtrerIp">
|
||||
<?php liste_options($ouinonfiltrerIp, "0",true); ?>
|
||||
</SELECT>
|
||||
</td>
|
||||
<td align="center"> <?= _("Filtrage IP?") ?> </td>
|
||||
<td>
|
||||
<select class="form-select" id="filtrerIp" NAME="filtrerIp">
|
||||
<?php liste_options($ouinonfiltrerIp, "0",true); ?>
|
||||
</SELECT>
|
||||
</td>
|
||||
|
||||
<td align="center"> <?= _("Autoriser Bon Principal?") ?> </td>
|
||||
<td>
|
||||
<select class="form-select" id="autoriserUnBonPrincipal" NAME="autoriserUnBonPrincipal">
|
||||
<?php liste_options($autoriserUnBonPrincipalOuinon, "0",true); ?>
|
||||
</SELECT>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> <?= _("Adresse Géo.") ?> </td>
|
||||
<td colspan="2"><INPUT class="form-control" TYPE="text" id="adresseGeo" NAME="adresseGeo"></td>
|
||||
|
||||
<td align="center"> <?= _("Adresse Postale") ?> </td>
|
||||
<td colspan="2"><INPUT class="form-control" TYPE="text" id="adressePost" NAME="adressePost"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="6" height="20"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td > </td>
|
||||
<td > <input id="btn_enreg" name="btn_enreg" class = "form-control btn btn-primary" type="button" value="<?= _("Enregistrer") ?>" onClick="javascript:creer_prestataire();" style='font-size:10pt;' > </td>
|
||||
<td colspan="3"></td>
|
||||
<td > <input class = "form-control btn btn-warning" type="button" value="<?= _("Annuler") ?>" onClick="javascript:param_prestataire();" style='font-size:10pt;' > </td>
|
||||
</tr>
|
||||
<td align="center"> <?= _("Autoriser Bon Principal?") ?> </td>
|
||||
<td>
|
||||
<select class="form-select" id="autoriserUnBonPrincipal" NAME="autoriserUnBonPrincipal">
|
||||
<?php liste_options($autoriserUnBonPrincipalOuinon, "0",true); ?>
|
||||
</SELECT>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> <?= _("Adresse Géo.") ?> </td>
|
||||
<td ><INPUT class="form-control" TYPE="text" id="adresseGeo" NAME="adresseGeo"></td>
|
||||
|
||||
<td> <?= _("Prix Modifiable ?") ?> </td>
|
||||
<td >
|
||||
<select class="form-select" id="prixActeModifiable" NAME="prixActeModifiable">
|
||||
<?php liste_options($prixActeModifiableOuinon, "0",true); ?>
|
||||
</SELECT>
|
||||
</td>
|
||||
|
||||
<td align="center"> <?= _("Adresse Postale") ?> </td>
|
||||
<td ><INPUT class="form-control" TYPE="text" id="adressePost" NAME="adressePost"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="6" height="20"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td > </td>
|
||||
<td > <input id="btn_enreg" name="btn_enreg" class = "form-control btn btn-primary" type="button" value="<?= _("Enregistrer") ?>" onClick="javascript:creer_prestataire();" style='font-size:10pt;' > </td>
|
||||
<td colspan="3"></td>
|
||||
<td > <input class = "form-control btn btn-warning" type="button" value="<?= _("Annuler") ?>" onClick="javascript:param_prestataire();" style='font-size:10pt;' > </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -976,7 +976,7 @@
|
|||
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.js" integrity="sha512-VEd+nq25CkR676O+pLBnDW09R7VQX9Mdiij052gVCp5yVH3jGtH70Ho/UUv4mJDsEdTvqRCFZg0NKGiojGnUCw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
|
||||
|
||||
<script src="Js/fonctions.js?ver=2026.03.10.00"></script>
|
||||
<script src="Js/fonctions.js?ver=2026.03.10.01"></script>
|
||||
|
||||
<script src="https://unpkg.com/vue@3/dist/vue.global.prod.js"></script>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user