Delete.cshtml
979 bytes
| 1 | @using App.BLL.DTO |
|---|---|
| 2 | @model AdminDeleteViewModel<SettlementPlanBllDto> |
| 3 | |
| 4 | <h1>@Localizer["Delete"]</h1> |
| 5 | |
| 6 | <h3>@Localizer["AreYouSure"]</h3> |
| 7 | <div> |
| 8 | <h4>@Localizer["SettlementPlan"]</h4> |
| 9 | <hr /> |
| 10 | <dl class="row"> |
| 11 | <dt class="col-sm-2">@Localizer["Trip"]</dt> |
| 12 | <dd class="col-sm-10">@Model.Item.Trip?.Name</dd> |
| 13 | |
| 14 | <dt class="col-sm-2">@Localizer["TotalAmount"]</dt> |
| 15 | <dd class="col-sm-10">@Model.Item.TotalAmount</dd> |
| 16 | |
| 17 | <dt class="col-sm-2">@Localizer["Status"]</dt> |
| 18 | <dd class="col-sm-10">@WebApp.Helpers.EnumHelper.GetDisplayName(Model.Item.Status)</dd> |
| 19 | |
| 20 | <dt class="col-sm-2">@Localizer["CreatedByUser"]</dt> |
| 21 | <dd class="col-sm-10">@Model.Item.CreatedByUser?.Email</dd> |
| 22 | </dl> |
| 23 | |
| 24 | <form asp-action="Delete"> |
| 25 | <input type="hidden" asp-for="Item.Id" /> |
| 26 | <input type="submit" value="@Localizer["Delete"]" class="btn btn-danger" /> | |
| 27 | <a asp-action="Index">@Localizer["Back"]</a> |
| 28 | </form> |
| 29 | </div> |
| 30 | |