@using (Html.BeginForm("SaisirProformatPrescription", "PROFORMATS", FormMethod.Post, new { enctype = "multipart/form-data" }))
{
@Html.AntiForgeryToken()
@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.PART_LDF_SAISIE, "DATE DE PROFORMA", htmlAttributes: new { @class = "control-label " })
@Html.EditorFor(model => model.PART_LDF_SAISIE, new { htmlAttributes = new { @class = "form-control" } })
@Html.ValidationMessageFor(model => model.PART_LDF_SAISIE, "", 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, "MEDECIN TRAITANT", 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
)
{
}
}
@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" })