@model MALDFGASSURANCE.Models.PROFORMAT @{ ViewBag.Title = "Modification de la Proforma"; }

MODIFICATION DE PRISE EN CHARGE

@using (Html.BeginForm("Edit", "PROFORMATS", FormMethod.Post, new { enctype = "multipart/form-data" })) { @Html.AntiForgeryToken()
@Html.ValidationSummary(true, "", new { @class = "text-danger" }) @Html.HiddenFor(model => model.IDPROFORMAT)
@Html.LabelFor(model => model.NUMEROPROFORMAT, "N° PROFORMA", htmlAttributes: new { @class = "control-label " }) @Html.EditorFor(model => model.NUMEROPROFORMAT, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.NUMEROPROFORMAT, "", new { @class = "text-danger" })
@if (ViewData["MATRICULE"] != null) { }
@Html.LabelFor(model => model.ID_ETABLISSEMENT, "ETABLISSEMENT", htmlAttributes: new { @class = "control-label " }) @Html.DropDownList("ID_ETABLISSEMENT", null, htmlAttributes: new { @class = "form-control select2", @id = "kt_select2_2" }) @Html.ValidationMessageFor(model => model.ID_ETABLISSEMENT, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.MOTIF, htmlAttributes: new { @class = "control-label " }) @Html.EditorFor(model => model.MOTIF, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.MOTIF, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.MONTANT, htmlAttributes: new { @class = "control-label " }) @Html.EditorFor(model => model.MONTANT, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.MONTANT, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.INFORMATION, "PART LDF PREVISIONNELLE", htmlAttributes: new { @class = "control-label " }) @Html.EditorFor(model => model.INFORMATION, new { htmlAttributes = new { @class = "form-control", Type = "number" } }) @Html.ValidationMessageFor(model => model.INFORMATION, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.DATEPROFORMAT, "DATE DE PROFORMA", htmlAttributes: new { @class = "control-label " }) @Html.EditorFor(model => model.DATEPROFORMAT, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.DATEPROFORMAT, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.IDMEDECINCONSEIL, "MEDECIN CONSEIL", htmlAttributes: new { @class = "control-label " }) @Html.DropDownList("IDMEDECINCONSEIL", null, htmlAttributes: new { @class = "form-control select2", @id = "kt_select2_3" }) @Html.ValidationMessageFor(model => model.IDMEDECINCONSEIL, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.MEDECINPRESECRIPTEUR, "PRESCRIPTEUR", htmlAttributes: new { @class = "control-label " }) @Html.EditorFor(model => model.MEDECINPRESECRIPTEUR, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.MEDECINPRESECRIPTEUR, "", new { @class = "text-danger" })
@if (@ViewData["InfoSupplementaire"] != null) { foreach (var item in @ViewData["InfoSupplementaire"] as IList) {
@item.LIBELLE
} }
@Html.LabelFor(model => model.PHOTOPROFORMA, "PIECE (format autorisé: Jpeg,Png,Pdf,Jpg)", htmlAttributes: new { @class = "control-label " }) @Html.TextBox("PHOTOPROFORMA", "", new { @type = "file", @class = "form-control" }) @Html.ValidationMessageFor(model => model.PHOTOPROFORMA, "", new { @class = "text-danger" })
}