@using CD67.FicheCollege.MVC.Models @model RestaurationFormulaireViewModel @{ ViewBag.Title = "Modification"; Layout = "~/Views/Shared/_Layout.cshtml"; RestaurationFormulaire form = Model.Obj; int anneePlus = ViewBag.AnneeEnCours + 1; int anneeMoins = ViewBag.AnneeEnCours - 1; RestaurationParametre param = ViewBag.Param; List repas = Model.Obj.RestaurationFormulairesRepas.ToList(); }

La Restauration - @form.College.Libelle @if (form.College.RestaurationType_Id != null) { (@form.College.RestaurationType.Libelle) }


@using (Html.BeginForm()) { @Html.AntiForgeryToken()

PROPOSITIONS DE TARIFS DE RESTAURATION ET D'HEBERGEMENT POUR L'ANNEE @anneePlus


@Html.ValidationSummary(true, "", new { @class = "text-danger" }) @Html.HiddenFor(model => form.Id) @Html.HiddenFor(model => form.College_Id) @Html.HiddenFor(model => form.Statut) I. Nombre de demi-pensionnaires

@Html.LabelFor(model => form.NbDP_College, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => form.NbDP_College, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => form.NbDP_College, "", new { @class = "text-danger" })
@Html.LabelFor(model => form.NbDP_Lycee, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => form.NbDP_Lycee, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => form.NbDP_Lycee, "", new { @class = "text-danger" })
@Html.LabelFor(model => form.NbDP_MatPrimPeri, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => form.NbDP_MatPrimPeri, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => form.NbDP_MatPrimPeri, "", new { @class = "text-danger" })
@Html.LabelFor(model => form.NbDP_Commensaux, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => form.NbDP_Commensaux, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => form.NbDP_Commensaux, "", new { @class = "text-danger" })
@Html.LabelFor(model => form.NbDP_ATC, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => form.NbDP_ATC, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => form.NbDP_ATC, "", new { @class = "text-danger" })
@Html.LabelFor(model => form.NbDP_AgentC, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => form.NbDP_AgentC, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => form.NbDP_AgentC, "", new { @class = "text-danger" })

II. Tarifs élèves @anneePlus

Prix des forfaits (prix unitaire minimum fixé à @param.Prix_Mini €)
Forfait Prix du forfait Nombre de jours d'ouverture prévu de la demi-pension
5 j @Html.EditorFor(model => form.Prix_Forfait5j, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => form.Prix_Forfait5j, "", new { @class = "text-danger" }) @Html.EditorFor(model => form.NbJours_Forfait5j, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => form.NbJours_Forfait5j, "", new { @class = "text-danger" })
4 j @Html.EditorFor(model => form.Prix_Forfait4j, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => form.Prix_Forfait4j, "", new { @class = "text-danger" }) @Html.EditorFor(model => form.NbJours_Forfait4j, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => form.NbJours_Forfait4j, "", new { @class = "text-danger" })
3 j @Html.EditorFor(model => form.Prix_Forfait3j, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => form.Prix_Forfait3j, "", new { @class = "text-danger" }) @Html.EditorFor(model => form.NbJours_Forfait3j, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => form.NbJours_Forfait3j, "", new { @class = "text-danger" })
2 j @Html.EditorFor(model => form.Prix_Forfait2j, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => form.Prix_Forfait2j, "", new { @class = "text-danger" }) @Html.EditorFor(model => form.NbJours_Forfait2j, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => form.NbJours_Forfait2j, "", new { @class = "text-danger" })
1 j @Html.EditorFor(model => form.Prix_Forfait1j, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => form.Prix_Forfait1j, "", new { @class = "text-danger" }) @Html.EditorFor(model => form.NbJours_Forfait1j, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => form.NbJours_Forfait1j, "", new { @class = "text-danger" })
@Html.LabelFor(model => form.Prix_Ticket, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => form.Prix_Ticket, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => form.Prix_Ticket, "", new { @class = "text-danger" })
@Html.LabelFor(model => form.Tarif_Pension, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => form.Tarif_Pension, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => form.Tarif_Pension, "", new { @class = "text-danger" })

III. Tarifs « commensaux » @anneePlus

@Html.LabelFor(model => form.Prix_ATC, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => form.Prix_ATC, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => form.Prix_ATC, "", new { @class = "text-danger" }) (défaut @param.Prix_ATC €)
@Html.LabelFor(model => form.Prix_AgentC, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => form.Prix_AgentC, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => form.Prix_AgentC, "", new { @class = "text-danger" }) (défaut @param.Prix_AgentC €)
@Html.LabelFor(model => form.Prix_Commensaux, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => form.Prix_Commensaux, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => form.Prix_Commensaux, "", new { @class = "text-danger" }) (minimum @param.Prix_MiniAutres €)
@Html.LabelFor(model => form.Prix_EcolePeri, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => form.Prix_EcolePeri, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => form.Prix_EcolePeri, "", new { @class = "text-danger" })

IV. Nombre de repas encaissés en @anneeMoins (données STAR, PRESTO, ALISE)

@for (int i = 0; i < repas.Count(); i++) { }
Type de repas Nombre de repas Nombre de jours en @anneeMoins Nom de l'établissement
@repas[i].RestaurationTypesRepa.Libelle @Html.HiddenFor(model => repas[i].Id) @Html.HiddenFor(model => repas[i].RestaurationFormulaires_Id) @Html.HiddenFor(model => repas[i].RestaurationTypesRepas_Id) @Html.EditorFor(model => repas[i].NbRepas, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => repas[i].NbRepas, "", new { @class = "text-danger" }) @Html.EditorFor(model => repas[i].NbJours, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => repas[i].NbJours, "", new { @class = "text-danger" }) @Html.EditorFor(model => repas[i].NomEtablissement, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => repas[i].NomEtablissement, "", new { @class = "text-danger" })

V. Participation au fond social ou impayés @anneeMoins

Fond social Impayés
Nombre d'élèves concernés @Html.EditorFor(model => form.NbEleves_FondSocial, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => form.NbEleves_FondSocial, "", new { @class = "text-danger" }) @Html.EditorFor(model => form.NbEleves_Impayes, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => form.NbEleves_Impayes, "", new { @class = "text-danger" })
Montant @Html.EditorFor(model => form.Montant_FondSocial, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => form.Montant_FondSocial, "", new { @class = "text-danger" }) @Html.EditorFor(model => form.Montant_Impayes, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => form.Montant_Impayes, "", new { @class = "text-danger" })

@Html.Label("Avis du conseil d'administration du collège recueilli en date du", htmlAttributes: new { @class = "control-label col-md-5" })
@Html.EditorFor(model => form.Date_AvisCA, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => form.Date_AvisCA, "", new { @class = "text-danger" })
Signature du chef d'établissement :

@Html.EditorFor(model => form.Ind_Signature, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => form.Ind_Signature, "", new { @class = "text-danger" })
@Html.LabelFor(model => form.Ind_Signature, htmlAttributes: new { @class = "control-label" })
}