tiskanje opombe, poti nacrtov
stolpec naslednja operacija, popravljeno brisanje popravljeno da nafila samo privzete operacije in ne vec doda v kooepracije posiljanje dodano skp
This commit is contained in:
@@ -91,6 +91,9 @@ namespace EveryThing.Pages.Projects
|
||||
.ThenInclude(x => x.Material)
|
||||
.Include(c => c.ProjectPartProjectPartItem)
|
||||
.ThenInclude(x => x.Item)
|
||||
.Include(c => c.ProjectPartProjectPartItem)
|
||||
.ThenInclude(x => x.ProjectPartItemOperation)
|
||||
.ThenInclude(x => x.Operation)
|
||||
.Where(x => x.IdProjectFk == id)
|
||||
.OrderBy(x => x.ProjectPartNumber).ThenBy(x => x.IdProjectPart)
|
||||
.ToListAsync();
|
||||
@@ -192,6 +195,8 @@ namespace EveryThing.Pages.Projects
|
||||
.Include(x => x.Material)
|
||||
.Include(x => x.ProjectPart)
|
||||
.ThenInclude(x => x.Project)
|
||||
.Include(x => x.ProjectPartItemOperation)
|
||||
.ThenInclude(x => x.Operation)
|
||||
.First(x => x.IdProjectPartItem == id);
|
||||
|
||||
return Partial("DetailsPartItem", item);
|
||||
@@ -647,6 +652,7 @@ namespace EveryThing.Pages.Projects
|
||||
_context.SaveChanges();
|
||||
|
||||
projectPart.Project = null;
|
||||
projectPart.ProjectPartProjectPartItem = null;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user