diff --git a/Controleur/ControleurAjaxdetailpharmacie.php b/Controleur/ControleurAjaxdetailpharmacie.php index d1cfeae..312d1e3 100644 --- a/Controleur/ControleurAjaxdetailpharmacie.php +++ b/Controleur/ControleurAjaxdetailpharmacie.php @@ -73,5 +73,15 @@ class ControleurAjaxdetailpharmacie extends Controleur { $this->executerAction("index"); } + + public function majposologie() + { + $idMedicament = $this->requete->getParametre("idMedicament"); + $posologie = $this->requete->getParametreFormulaire("posologie"); + + $this->detailprescription->majposologie($idMedicament, $posologie); + + $this->executerAction("index"); + } } \ No newline at end of file diff --git a/Vue/Ajaxdetailpharmacie/index.php b/Vue/Ajaxdetailpharmacie/index.php index 2ffefa6..cf6d7f1 100644 --- a/Vue/Ajaxdetailpharmacie/index.php +++ b/Vue/Ajaxdetailpharmacie/index.php @@ -1,130 +1,129 @@ -
| - | = _("Non livrés") ?> | -= _("Unité") ?> | -= _("Valeur") ?> | -= _("Qté") ?> | -= _("Frais") ?> | -= _("T M") ?> | -= _("A Remb") ?> | -= _("Bon") ?> | -|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| + | = _("Non livrés") ?> | += _("Unité") ?> | += _("Valeur") ?> | += _("Qté") ?> | += _("Frais") ?> | += _("T M") ?> | += _("A Remb") ?> | += _("Bon") ?> | +||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| - | ||||||||||||||||
| + + | + + | W | + +R | - -- - | W | - -R | - -- + | - - | = $this->nettoyer($detailnonlivre['libelleMedicament']) ?> | -= $this->nettoyer($detailnonlivre['unite']) ?> | -= format_N($this->nettoyer($detailnonlivre['valeurActe'])) ?> | -= $this->nettoyer($detailnonlivre['quantite']) ?> | -= format_N($this->nettoyer($detailnonlivre['fraisReel'])) ?> | -= format_N($this->nettoyer($detailnonlivre['montantTm'])) ?> | -= format_N($this->nettoyer($detailnonlivre['montantArembourser'])) ?> | -= $this->nettoyer($detailnonlivre['numeroBonOrdonnance']) ?> | -
| - | = _("A Livrer") ?> | -= _("Unité") ?> | -= _("Valeur") ?> | -= _("Qté") ?> | -= _("Frais") ?> | -= _("T M") ?> | -= _("A Remb") ?> | -= _("Bon") ?> | -
|---|---|---|---|---|---|---|---|---|
| Total | -= format_N($this->nettoyer($prescription['fraisReelLivre'])) ?> | -= format_N($this->nettoyer($prescription['montantTmLivre'])) ?> | -= format_N($this->nettoyer($prescription['montantArembourserLivre'])) ?> | -- | ||||
| - | = $this->nettoyer($detaillivre['libelleMedicament']) ?> | -= $this->nettoyer($detaillivre['unite']) ?> | -= format_N($this->nettoyer($detaillivre['valeurActe'])) ?> | -= $this->nettoyer($detaillivre['quantite']) ?> | -= format_N($this->nettoyer($detaillivre['fraisReel'])) ?> | -= format_N($this->nettoyer($detaillivre['montantTm'])) ?> | -= format_N($this->nettoyer($detaillivre['montantArembourser'])) ?> | -= $this->nettoyer($detaillivre['numeroBonOrdonnance']) ?> | -
| - | ||||||||
| + | = _("A Livrer") ?> | += _("Unité") ?> | += _("Valeur") ?> | += _("Qté") ?> | += _("Frais") ?> | += _("T M") ?> | += _("A Remb") ?> | += _("Bon") ?> | +
|---|---|---|---|---|---|---|---|---|
| Total | += format_N($this->nettoyer($prescription['fraisReelLivre'])) ?> | += format_N($this->nettoyer($prescription['montantTmLivre'])) ?> | += format_N($this->nettoyer($prescription['montantArembourserLivre'])) ?> | ++ | ||||
| + | = $this->nettoyer($detaillivre['libelleMedicament']) ?> | += $this->nettoyer($detaillivre['unite']) ?> | += format_N($this->nettoyer($detaillivre['valeurActe'])) ?> | += $this->nettoyer($detaillivre['quantite']) ?> | += format_N($this->nettoyer($detaillivre['fraisReel'])) ?> | += format_N($this->nettoyer($detaillivre['montantTm'])) ?> | += format_N($this->nettoyer($detaillivre['montantArembourser'])) ?> | += $this->nettoyer($detaillivre['numeroBonOrdonnance']) ?> | +
| + | ||||||||