This commit is contained in:
mmrbnjd
2025-01-24 19:18:17 +03:30
parent 505adf6ab2
commit 48072d6e00
14 changed files with 389 additions and 67 deletions

View File

@@ -148,7 +148,7 @@ namespace Back.Data.Models
{
get
{
return pattern.BillTypeID == 3 || (pattern.BillTypeID == 2 && pattern.ID == 10)
return pattern!=null && (pattern.BillTypeID == 3 || (pattern.BillTypeID == 2 && pattern.ID == 10))
? 1
: _setm;
}