@model MALDFGASSURANCE.Models.MEDICAMENT

AJOUTER MEDICAMENT

@using (Html.BeginForm()) { @Html.AntiForgeryToken()
@if (@ViewBag.message != null) {

@ViewBag.message

} @Html.ValidationSummary(true, "", new { @class = "text-danger" }) @Html.HiddenFor(model => model.REFFACTUREPHAR, new { @Value = @ViewBag.NUMEROFACTURE })

@Html.LabelFor(model => model.LIBELLE,"NOM DU MEDICAMENT", htmlAttributes: new { @class = "control-label " }) @Html.EditorFor(model => model.LIBELLE, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.LIBELLE, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.POSOLOGIE, htmlAttributes: new { @class = "control-label " }) @Html.EditorFor(model => model.POSOLOGIE, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.POSOLOGIE, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.QUANTITE, htmlAttributes: new { @class = "control-label " }) @Html.EditorFor(model => model.QUANTITE, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.QUANTITE, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.PRIXUNITAITRE,"PRIX UNITAIRE", htmlAttributes: new { @class = "control-label " }) @Html.EditorFor(model => model.PRIXUNITAITRE, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.PRIXUNITAITRE, "", new { @class = "text-danger" })
}
@if (ViewData["LISTEMEDICAMENT"] != null) {
@foreach (var item in ViewData["LISTEMEDICAMENT"] as IList) { }
REFERENCE FACTURE @Html.DisplayNameFor(model => model.FACTUREPHARMACIE.NUMERO) @Html.DisplayNameFor(model => model.FACTUREPHARMACIE.ASSURE.NOM) ET @Html.DisplayNameFor(model => model.FACTUREPHARMACIE.ASSURE.PRENOMS) NOM DU MEDICAMENT @Html.DisplayNameFor(model => model.POSOLOGIE) @Html.DisplayNameFor(model => model.QUANTITE) PRIX UNITAITRE
@Html.DisplayFor(modelItem => item.REFFACTUREPHAR) @Html.DisplayFor(modelItem => item.FACTUREPHARMACIE.NUMERO) @Html.DisplayFor(modelItem => item.FACTUREPHARMACIE.ASSURE.NOM) @Html.DisplayFor(modelItem => item.FACTUREPHARMACIE.ASSURE.PRENOMS) @Html.DisplayFor(modelItem => item.LIBELLE) @Html.DisplayFor(modelItem => item.POSOLOGIE) @Html.DisplayFor(modelItem => item.QUANTITE) @Html.DisplayFor(modelItem => item.PRIXUNITAITRE)
}
@section scripts{ }