fixed document import and new test version
This commit is contained in:
parent
bb5de64cab
commit
f593d66333
@ -36,7 +36,7 @@
|
|||||||
<MinimumRequiredVersion>5.4.0.0</MinimumRequiredVersion>
|
<MinimumRequiredVersion>5.4.0.0</MinimumRequiredVersion>
|
||||||
<CreateWebPageOnPublish>true</CreateWebPageOnPublish>
|
<CreateWebPageOnPublish>true</CreateWebPageOnPublish>
|
||||||
<WebPage>publish.html</WebPage>
|
<WebPage>publish.html</WebPage>
|
||||||
<ApplicationRevision>9</ApplicationRevision>
|
<ApplicationRevision>10</ApplicationRevision>
|
||||||
<ApplicationVersion>7.5.0.%2a</ApplicationVersion>
|
<ApplicationVersion>7.5.0.%2a</ApplicationVersion>
|
||||||
<UseApplicationTrust>false</UseApplicationTrust>
|
<UseApplicationTrust>false</UseApplicationTrust>
|
||||||
<CreateDesktopShortcut>true</CreateDesktopShortcut>
|
<CreateDesktopShortcut>true</CreateDesktopShortcut>
|
||||||
|
|||||||
@ -2487,7 +2487,13 @@ namespace ENI2.Excel
|
|||||||
byte? result = DakosyUtil.ParseDocumentType(documentType);
|
byte? result = DakosyUtil.ParseDocumentType(documentType);
|
||||||
canceled = false;
|
canceled = false;
|
||||||
|
|
||||||
if (!documentType.IsNullOrEmpty() && !result.HasValue)
|
if (!result.HasValue)
|
||||||
|
{
|
||||||
|
if (documentType.IsNullOrEmpty())
|
||||||
|
{
|
||||||
|
result = 5; // OTHER_LEGAL_IDENTITY_DOCUMENT (CH, 17.10.22)
|
||||||
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
// special treatment / callback
|
// special treatment / callback
|
||||||
if (_documentTypeImportDict.ContainsKey(documentType))
|
if (_documentTypeImportDict.ContainsKey(documentType))
|
||||||
@ -2514,9 +2520,6 @@ namespace ENI2.Excel
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
result = 5; // OTHER_LEGAL_IDENTITY_DOCUMENT (CH, 17.10.22)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user