minChz.|<_|

This commit is contained in:
Paul Schneider 2018-02-25 03:33:54 +01:00
commit 77e229fc8a
30 changed files with 3182 additions and 95 deletions

View file

@ -196,7 +196,6 @@
@Html.HiddenFor(model=>model.ClientId)
@Html.HiddenFor(model=>model.PerformerId)
@Html.HiddenFor(model=>model.ActivityCode)
@Html.HiddenFor(model=>model.BillingCode)
</div>

View file

@ -6,9 +6,6 @@
<h2>Index</h2>
<p>
<a asp-action="Create">Create New</a>
</p>
<table class="table">
<tr>
<th>

View file

@ -9,11 +9,9 @@
@foreach (var profile in Model) {
<hr/>
@Html.DisplayFor(m=>profile)
<form action="~/Command/Create" >
<input type="hidden" name="id" value="@profile.PerformerId" />
<input type="hidden" name="billingCode" value="Profiles" />
<input type="hidden" name="activityCode" value="@ViewBag.Activity.Code" />
<input type="submit" class="btn btn-success" value="@SR["Proposer un rendez-vous à"] @profile.Performer.UserName"/>
</form>
<a class="btn btn-success" asp-controller="Command" asp-action="Create" asp-route-proId="@profile.PerformerId"
asp-route-billingCode="Profiles" asp-route-activityCode="@ViewBag.Activity.Code" >
@SR["Proposer un rendez-vous à"] @profile.Performer.UserName
</a>
}