@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.LabelFor(model => model.ID_PRESTATION, htmlAttributes: new { @class = "control-label " }) @Html.EditorFor(model => model.ID_PRESTATION, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.ID_PRESTATION, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.ID_TYPEDEPRESTATION, "TYPEDEPRESTATION", htmlAttributes: new { @class = "control-label " }) @Html.DropDownList("ID_TYPEDEPRESTATION", null, htmlAttributes: new { @class = "form-control" }) @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" }) @Html.ValidationMessageFor(model => model.CODE_ACTE, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.ID_TYPEDEPRESTATION, "PRESTATION", htmlAttributes: new { @class = "control-label " }) @Html.DropDownList("ID_TYPEDEPRESTATION", null, htmlAttributes: new { @class = "form-control" }) @Html.ValidationMessageFor(model => model.ID_TYPEDEPRESTATION, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.NUMERO_FACTURE, "NUMERO FACTURE", htmlAttributes: new { @class = "control-label " }) @Html.DropDownList("NUMERO_FACTURE", null, htmlAttributes: new { @class = "form-control" }) @Html.ValidationMessageFor(model => model.NUMERO_FACTURE, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.NOMBRE_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, 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.MONTANT_ORIGINE, htmlAttributes: new { @class = "control-label " }) @Html.EditorFor(model => model.MONTANT_ORIGINE, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.MONTANT_ORIGINE, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.DATE_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" })
}