Skip to content

Commit

Permalink
Relaxed the foreign customer validation - spanish SII (#253)
Browse files Browse the repository at this point in the history
* Relaxed the foreign customer validation - spanish SII

* updated pkg version
  • Loading branch information
abdallahbeshi committed Jul 3, 2024
1 parent be9bada commit 736ec9a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 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>27.0.1</PackageVersion>
<PackageVersion>27.0.2</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 @@ -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.1</PackageVersion>
<PackageVersion>12.0.2</PackageVersion>
<LangVersion>12</LangVersion>
<ImplicitUsings>true</ImplicitUsings>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ public ForeignCustomer(Name name, ResidenceCountryIdentificatorType identificati
IdentificatorType = Check.IsNotNull(identificatiorType, nameof(identificatiorType));
IdNumber = Check.IsNotNull(idNumber, nameof(idNumber));
Country = Check.IsNotNull(country, nameof(country));
Check.Condition(!Country.Equals(Countries.Spain), "Foreign customer cannot be Spanish.");
}

public Name Name { get; }
Expand Down

0 comments on commit 736ec9a

Please sign in to comment.