фикс макетов страниц
This commit is contained in:
parent
4a5e3ddd9f
commit
8389625a49
@ -0,0 +1,8 @@
|
|||||||
|
namespace TravelAgencyContracts.ViewModels
|
||||||
|
{
|
||||||
|
public class ReportPlaceTourViewModel
|
||||||
|
{
|
||||||
|
public string TourName { get; set; } = string.Empty;
|
||||||
|
public List<string> Places { get; set; } = new();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,9 @@
|
|||||||
|
namespace TravelAgencyContracts.ViewModels
|
||||||
|
{
|
||||||
|
public class ReportTourPeriodViewModel
|
||||||
|
{
|
||||||
|
public string TourName { get; set; } = string.Empty;
|
||||||
|
public List<string> ExcursionGroups { get; set; } = new();
|
||||||
|
public List<string> Guides { get; set; } = new();
|
||||||
|
}
|
||||||
|
}
|
@ -68,12 +68,12 @@ namespace TravelAgencyWebApp.Controllers
|
|||||||
[HttpGet]
|
[HttpGet]
|
||||||
public IActionResult CreateExcursion()
|
public IActionResult CreateExcursion()
|
||||||
{
|
{
|
||||||
return View();
|
return View(new List<TourViewModel>());
|
||||||
}
|
}
|
||||||
[HttpGet]
|
[HttpGet]
|
||||||
public IActionResult CreateExcursionGroup()
|
public IActionResult CreateExcursionGroup()
|
||||||
{
|
{
|
||||||
return View();
|
return View(new List<TourViewModel>());
|
||||||
}
|
}
|
||||||
[HttpGet]
|
[HttpGet]
|
||||||
public IActionResult UpdateTour()
|
public IActionResult UpdateTour()
|
||||||
@ -83,12 +83,12 @@ namespace TravelAgencyWebApp.Controllers
|
|||||||
[HttpGet]
|
[HttpGet]
|
||||||
public IActionResult UpdateExcursion()
|
public IActionResult UpdateExcursion()
|
||||||
{
|
{
|
||||||
return View();
|
return View(new List<TourViewModel>());
|
||||||
}
|
}
|
||||||
[HttpGet]
|
[HttpGet]
|
||||||
public IActionResult UpdateExcursionGroup()
|
public IActionResult UpdateExcursionGroup()
|
||||||
{
|
{
|
||||||
return View();
|
return View(new List<TourViewModel>());
|
||||||
}
|
}
|
||||||
[HttpGet]
|
[HttpGet]
|
||||||
public IActionResult ReportMenu()
|
public IActionResult ReportMenu()
|
||||||
@ -98,12 +98,12 @@ namespace TravelAgencyWebApp.Controllers
|
|||||||
[HttpGet]
|
[HttpGet]
|
||||||
public IActionResult ReportPlaceTour()
|
public IActionResult ReportPlaceTour()
|
||||||
{
|
{
|
||||||
return View();
|
return View(new List<ReportPlaceTourViewModel>());
|
||||||
}
|
}
|
||||||
[HttpGet]
|
[HttpGet]
|
||||||
public IActionResult ReportTourPeriod()
|
public IActionResult ReportTourPeriod()
|
||||||
{
|
{
|
||||||
return View();
|
return View(new List<ReportTourPeriodViewModel>());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
@{
|
@using TravelAgencyContracts.ViewModels
|
||||||
|
|
||||||
|
@model List<TourViewModel>
|
||||||
|
@{
|
||||||
ViewData["Title"] = "Create excursion";
|
ViewData["Title"] = "Create excursion";
|
||||||
}
|
}
|
||||||
<div class="text-center">
|
<div class="text-center">
|
||||||
@ -28,7 +31,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@foreach (var tour in ViewBag.Tours)
|
@foreach (var tour in Model)
|
||||||
{
|
{
|
||||||
<tr>
|
<tr>
|
||||||
<td>@tour.TourName</td>
|
<td>@tour.TourName</td>
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
@{
|
@using TravelAgencyContracts.ViewModels
|
||||||
|
|
||||||
|
@model List<TourViewModel>
|
||||||
|
@{
|
||||||
ViewData["Title"] = "Create excursion group";
|
ViewData["Title"] = "Create excursion group";
|
||||||
}
|
}
|
||||||
<div class="text-center">
|
<div class="text-center">
|
||||||
@ -30,7 +33,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@foreach (var tour in ViewBag.Tours)
|
@foreach (var tour in Model)
|
||||||
{
|
{
|
||||||
<tr>
|
<tr>
|
||||||
<td>@tour.TourName</td>
|
<td>@tour.TourName</td>
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
@{
|
@using TravelAgencyContracts.ViewModels
|
||||||
|
|
||||||
|
@model List<ReportPlaceTourViewModel>
|
||||||
|
@{
|
||||||
ViewData["Title"] = "Places per tour report";
|
ViewData["Title"] = "Places per tour report";
|
||||||
}
|
}
|
||||||
<div class="text-center">
|
<div class="text-center">
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
@{
|
@using TravelAgencyContracts.ViewModels
|
||||||
|
|
||||||
|
@model List<ReportTourPeriodViewModel>
|
||||||
|
@{
|
||||||
ViewData["Title"] = "Tours time period report";
|
ViewData["Title"] = "Tours time period report";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
@{
|
@using TravelAgencyContracts.ViewModels
|
||||||
|
|
||||||
|
@model List<TourViewModel>
|
||||||
|
@{
|
||||||
ViewData["Title"] = "Update excursion";
|
ViewData["Title"] = "Update excursion";
|
||||||
}
|
}
|
||||||
<div class="text-center">
|
<div class="text-center">
|
||||||
@ -28,7 +31,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@foreach (var tour in ViewBag.Tours)
|
@foreach (var tour in Model)
|
||||||
{
|
{
|
||||||
<tr>
|
<tr>
|
||||||
<td>@tour.TourName</td>
|
<td>@tour.TourName</td>
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
@{
|
@using TravelAgencyContracts.ViewModels
|
||||||
|
|
||||||
|
@model List<TourViewModel>
|
||||||
|
@{
|
||||||
ViewData["Title"] = "Update excursion group";
|
ViewData["Title"] = "Update excursion group";
|
||||||
}
|
}
|
||||||
<div class="text-center">
|
<div class="text-center">
|
||||||
@ -30,7 +33,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@foreach (var tour in ViewBag.Tours)
|
@foreach (var tour in Model)
|
||||||
{
|
{
|
||||||
<tr>
|
<tr>
|
||||||
<td>@tour.TourName</td>
|
<td>@tour.TourName</td>
|
||||||
|
Loading…
Reference in New Issue
Block a user