Fixed logic so that Point Beach AOP-9C will print.
This commit is contained in:
parent
067f004170
commit
aa652f5b73
@ -1178,6 +1178,8 @@ namespace Volian.Print.Library
|
|||||||
//string procnum = section.MyProcedure.MyContent.Number.Replace(@"\u8209?", "-"); // uncomment for FNP
|
//string procnum = section.MyProcedure.MyContent.Number.Replace(@"\u8209?", "-"); // uncomment for FNP
|
||||||
string procnum = section.MyProcedure.MyContent.Number;
|
string procnum = section.MyProcedure.MyContent.Number;
|
||||||
foreach (ProcDescr pd in pdl)
|
foreach (ProcDescr pd in pdl)
|
||||||
|
{
|
||||||
|
if (pd.MatchProcNumber != null)
|
||||||
{
|
{
|
||||||
string matchStr = (pd.MatchProcNumber.StartsWith("*}")) ? pd.MatchProcNumber.Substring(2) : pd.MatchProcNumber;
|
string matchStr = (pd.MatchProcNumber.StartsWith("*}")) ? pd.MatchProcNumber.Substring(2) : pd.MatchProcNumber;
|
||||||
if (procnum.Contains(matchStr))
|
if (procnum.Contains(matchStr))
|
||||||
@ -1194,6 +1196,9 @@ namespace Volian.Print.Library
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
plstr = "UNKNOWN";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case "{CURDATE}":
|
case "{CURDATE}":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user