@if (ViewData["MATRICULE"] != null)
{
}
else
{
@Html.LabelFor(model => model.MATRICULE, "MATRICULE", htmlAttributes: new { @class = "control-label " })
@Html.DropDownList("MATRICULE", null, htmlAttributes: new { @class = "form-control ", @id = "kt_select2_2" })
@Html.ValidationMessageFor(model => model.MATRICULE, "", new { @class = "text-danger" })
}
@Html.LabelFor(model => model.REFPHARMACIE, "PHARMACIE", htmlAttributes: new { @class = "control-label" })
@Html.DropDownList("REFPHARMACIE", null, htmlAttributes: new { @class = "form-control select2", @id = "kt_select2_2" })
@Html.ValidationMessageFor(model => model.REFPHARMACIE, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.TYPE_FACTURE, "TYPE DE FACTURE", htmlAttributes: new { @class = "control-label" })
@Html.DropDownList("ID_TYPEFACTURE", null, htmlAttributes: new { @class = "form-control select2", @id = "kt_select2_3" })
@Html.ValidationMessageFor(model => model.TYPE_FACTURE, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.NUMERO, "NUMERO DE LA FACTURE", htmlAttributes: new { @class = "control-label" })
@Html.EditorFor(model => model.NUMERO, new { htmlAttributes = new { @class = "form-control" } })
@Html.ValidationMessageFor(model => model.NUMERO, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.CODEAFFECTION, "CODE AFFECTION", htmlAttributes: new { @class = "control-label" })
@Html.EditorFor(model => model.CODEAFFECTION, new { htmlAttributes = new { @class = "form-control" } })
@Html.ValidationMessageFor(model => model.CODEAFFECTION, "", 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.PHOTO, "PIECE (format autorisé: Jpeg,Png,Pdf,Jpg)", htmlAttributes: new { @class = "control-label " })
@Html.TextBox("PHOTO", "", new { @type = "file", @class = "form-control", })
@Html.ValidationMessageFor(model => model.PHOTO, "", new { @class = "text-danger" })