edit
This commit is contained in:
@@ -2186,12 +2186,6 @@ namespace XLAB2
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!item.HasTemplate)
|
||||
{
|
||||
skippedWithoutTemplateCount++;
|
||||
continue;
|
||||
}
|
||||
|
||||
var duplicateKey = PsvDocumentLine.BuildDuplicateKey(item.InstrumentType, item.RangeText, item.RegistryNumber, item.SerialNumber);
|
||||
if (duplicateKeys.Contains(duplicateKey))
|
||||
{
|
||||
@@ -2282,7 +2276,8 @@ namespace XLAB2
|
||||
return;
|
||||
}
|
||||
|
||||
if (!result.TypeItem.HasTemplate)
|
||||
var blockOnMissingEkzmkTemplate = false;
|
||||
if (blockOnMissingEkzmkTemplate && !result.TypeItem.HasTemplate)
|
||||
{
|
||||
_dialogService.ShowWarning("Выбранный тип нельзя добавить: для него не найден шаблон EKZMK, период из TPRMCP или регистрационный период TIPS.");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user