очередной fix

This commit is contained in:
m1aksim1 2023-04-10 22:23:52 +04:00
parent 126ace800a
commit 789e0f79c1
3 changed files with 11 additions and 3 deletions

View File

@ -133,7 +133,7 @@ namespace SoftwareInstallationBusinessLogic
_logger.LogInformation("AddPackageInShop. ShopName:{ShopName}.Id:{ Id}", _logger.LogInformation("AddPackageInShop. ShopName:{ShopName}.Id:{ Id}",
model.Name, model.Id); model.Name, model.Id);
var element = _shopStorage.GetElement(model); var element = _shopStorage.GetElement(model);
int currCount = element.Packages.Values.First().Item2; int currCount = element.Packages.Values.FirstOrDefault().Item2;
if (element == null) if (element == null)
{ {
_logger.LogWarning("AddPackageInShop element not found"); _logger.LogWarning("AddPackageInShop element not found");

View File

@ -424,7 +424,6 @@
<PaddingBottom>2pt</PaddingBottom> <PaddingBottom>2pt</PaddingBottom>
</Style> </Style>
</Textbox> </Textbox>
<rd:Selected>true</rd:Selected>
</CellContents> </CellContents>
</TablixCell> </TablixCell>
<TablixCell> <TablixCell>
@ -484,7 +483,7 @@
<Top>2.48391cm</Top> <Top>2.48391cm</Top>
<Left>0.55245cm</Left> <Left>0.55245cm</Left>
<Height>1.2cm</Height> <Height>1.2cm</Height>
<Width>19.84713cm</Width> <Width>19.84714cm</Width>
<ZIndex>2</ZIndex> <ZIndex>2</ZIndex>
<Style> <Style>
<Border> <Border>

View File

@ -28,4 +28,13 @@
<ProjectReference Include="..\SoftwareInstallationListImplement\SoftwareInstallationListImplement.csproj" /> <ProjectReference Include="..\SoftwareInstallationListImplement\SoftwareInstallationListImplement.csproj" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<None Update="ReportGroupOrders.rdlc">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="ReportOrders.rdlc">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project> </Project>