B2023-060: Beaver Valley SAMG/Supplemental Information Continuous Sections printing as Separate

This commit is contained in:
2023-05-26 11:26:26 +00:00
parent 1657450f69
commit 81d20b26ac
2 changed files with 16 additions and 1 deletions

View File

@@ -324,7 +324,10 @@ namespace VEPROMS.CSLA.Library
get
{
// C2018-013 Procedures with Supplemental Information will assume that all sections are printed separately.
if (_SectionInfo != null && _SectionInfo.MyProcedure.ProcHasSupInfoData) return SectionPagination.Separate;
// B2023-060: Pagination - if section uses supplemental information, use the Section's properties/pagination (continuous
// or separate) rather than always setting to separate
if (_SectionInfo != null && _SectionInfo.MyProcedure.ProcHasSupInfoData && _SectionInfo.MyDocStyle != null && !_SectionInfo.MyDocStyle.SupInfoNoPaginOverride)
return SectionPagination.Separate;
string s = _Xp["Section", "Pagination"];
//If there is no value to get, then get the parent value (a.k.a. default value).