modal partnerji in dodajanje pri transport plan

This commit is contained in:
David Štaleker
2023-07-23 21:20:29 +02:00
parent 41639b3354
commit facfb3a726
11 changed files with 2710 additions and 112 deletions

View File

@@ -11,6 +11,7 @@ using EveryThing.Models.Vehicle;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using EveryThing.Models.Invoice;
using Microsoft.AspNetCore.Mvc.Rendering;
namespace EveryThing.Pages.CodeTableVehicles
{
@@ -20,6 +21,19 @@ namespace EveryThing.Pages.CodeTableVehicles
private readonly ApplicationDbContext _context;
private readonly UserManager<IdentityApplicationUser> _userManager;
public class AddEditCodeTableVehicle
{
public Vehicle Vehicle { get; set; }
public bool Edit { get; set; }
public int IdCodeTableVehicle { get; set; }
public SelectList FuelTypes { get; set; }
public SelectList Departments { get; set; }
public SelectList VehicleGroups { get; set; }
public SelectList VehicleMakes{ get; set; }
public SelectList VehicleTypes { get; set; }
//public IList<File> Files { get; set; }
}
public IndexModel(ApplicationDbContext context, UserManager<IdentityApplicationUser> userManager)
{
_context = context;