@model MALDFGASSURANCE.Models.PRESTATIONS @{ ViewBag.Title = "Create"; Layout = "~/Views/Shared/_Layout.cshtml"; }

AJOUTER PRESTATION

@using (Html.BeginForm()) { @Html.AntiForgeryToken()
@Html.ValidationSummary(true, "", new { @class = "text-danger" }) @Html.HiddenFor(model => model.NUMERO_FACTURE, new { @Value = @ViewBag.NUMEROFACTURE }) @if (@ViewBag.Message != null) {

@ViewBag.Message

} @if (@ViewBag.Montantistype != null) {

@ViewBag.Montantistype

}

@Html.LabelFor(model => model.ID_TYPEDEPRESTATION, "TYPE DE PRESTATION", htmlAttributes: new { @class = "control-label " }) @Html.DropDownList("ID_TYPEDEPRESTATION", null, htmlAttributes: new { @class = "form-control select2", @id = "kt_select2_1" }) @Html.ValidationMessageFor(model => model.ID_TYPEDEPRESTATION, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.CODE_ACTE, "CODE ACTE", htmlAttributes: new { @class = "control-label " }) @Html.DropDownList("CODE_ACTE", null, htmlAttributes: new { @class = "form-control select2", @id = "kt_select2_2"}) @Html.ValidationMessageFor(model => model.CODE_ACTE, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.NOMBRE_TRAITEMENT,"NOMBRE DE TRAITEMENT", htmlAttributes: new { @class = "control-label " }) @Html.EditorFor(model => model.NOMBRE_TRAITEMENT, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.NOMBRE_TRAITEMENT, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.PRIX_UNITATIRE,"PRIX UNITAIRE", htmlAttributes: new { @class = "control-label " }) @Html.EditorFor(model => model.PRIX_UNITATIRE, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.PRIX_UNITATIRE, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.NOM_PRESTATAIRE,"NOM DU MEDECIN", htmlAttributes: new { @class = "control-label " }) @Html.EditorFor(model => model.NOM_PRESTATAIRE, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.NOM_PRESTATAIRE, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.DATE_PRESTATION,"DATE DE LA PRESTATION", htmlAttributes: new { @class = "control-label " }) @Html.EditorFor(model => model.DATE_PRESTATION, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.DATE_PRESTATION, "", new { @class = "text-danger" })
}
@if (ViewData["LISTEPRESTATION"] != null) {
@foreach (var item in ViewData["LISTEPRESTATION"] as IList) { }
ACTE NOMBRE DE TRAITEMENT PRIX UNITAIRE MONTANT A L'ORIGINE NOM DU MEDECIN
@Html.DisplayFor(modelItem => item.ACTE.LIBELLE_ACTE) @Html.DisplayFor(modelItem => item.NOMBRE_TRAITEMENT) @Html.DisplayFor(modelItem => item.PRIX_UNITATIRE) @Html.DisplayFor(modelItem => item.MONTANT_ORIGINE) @Html.DisplayFor(modelItem => item.NOM_PRESTATAIRE)
}
@section scripts{ }