Skip to content

Commit

Permalink
Fixed (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
abdallahbeshi authored Jan 30, 2024
1 parent 85a2bcb commit 7cfe73f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Mews.Fiscalizations.All/Mews.Fiscalizations.All.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<RepositoryUrl>https://github.com/MewsSystems/fiscalizations</RepositoryUrl>
<Icon>https://raw.githubusercontent.com/msigut/eet/master/receipt.png</Icon>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageVersion>26.0.0</PackageVersion>
<PackageVersion>26.0.1</PackageVersion>
<LangVersion>12</LangVersion>
<ImplicitUsings>true</ImplicitUsings>
<TargetsForTfmSpecificBuildOutput>$(TargetsForTfmSpecificBuildOutput);CopyProjectReferencesToPackage</TargetsForTfmSpecificBuildOutput>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ private SujetaType Convert(TaxSummary summary)
{
return new SujetaType
{
Exenta = summary.TaxExempt.Map(items => items.Select(i => Convert(i)).ToArray()).GetOrEmpty(),
Exenta = summary.TaxExempt.Match(items => items.Select(i => Convert(i)).ToArray(), _ => null),
NoExenta = summary.Taxed.GetOrNull(taxRateSummaries => new SujetaTypeNoExenta
{
TipoNoExenta = TipoOperacionSujetaNoExentaType.S1,
Expand All @@ -109,7 +109,7 @@ private SujetaPrestacionType ConvertProvision(TaxSummary summary)
{
return new SujetaPrestacionType
{
Exenta = summary.TaxExempt.Map(items => items.Select(i => Convert(i)).ToArray()).GetOrEmpty(),
Exenta = summary.TaxExempt.Match(items => items.Select(i => Convert(i)).ToArray(), _ => null),
NoExenta = summary.Taxed.GetOrNull(taxRateSummaries => new SujetaPrestacionTypeNoExenta
{
TipoNoExenta = TipoOperacionSujetaNoExentaType.S1,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<RepositoryUrl>https://github.com/MewsSystems/fiscalizations</RepositoryUrl>
<Icon>https://raw.githubusercontent.com/msigut/eet/master/receipt.png</Icon>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageVersion>12.0.0</PackageVersion>
<PackageVersion>12.0.1</PackageVersion>
<LangVersion>12</LangVersion>
<ImplicitUsings>true</ImplicitUsings>
</PropertyGroup>
Expand Down

0 comments on commit 7cfe73f

Please sign in to comment.