Added checkboxes for Placekeepers and Phonelist
Supporting logic to save/retrieve Placekeeper and Phonelist information Supporting logic to save/retrieve Placekeeper information Added Placekeeper logic Null reference fix Logic to get PrintPhoneList flag Rearranged the panel and added Placekeeper checkbox
This commit is contained in:
@@ -631,6 +631,28 @@ namespace VEPROMS.CSLA.Library
|
||||
(MyDocStyle.StructureStyle.Style & E_DocStructStyle.TableOfContents) == E_DocStructStyle.TableOfContents);
|
||||
}
|
||||
}
|
||||
public bool IsPlacekeeperSection
|
||||
{
|
||||
get
|
||||
{
|
||||
if (!IsSection) return false;
|
||||
if (MyDocStyle.StructureStyle.Style == null) return false;
|
||||
return ((ActiveFormat.PlantFormat.FormatData.PurchaseOptions & E_PurchaseOptions.AutoPlacekeeper) == E_PurchaseOptions.AutoPlacekeeper &&
|
||||
(MyDocStyle.StructureStyle.Style & E_DocStructStyle.Placekeeper) == E_DocStructStyle.Placekeeper);
|
||||
}
|
||||
}
|
||||
public bool CanSetPlacekeeper
|
||||
{
|
||||
get
|
||||
{
|
||||
SectionConfig scfg = (SectionConfig)MyActiveSection.MyConfig;
|
||||
if (MyDocStyle.StructureStyle.Style == null || scfg == null) return false;
|
||||
bool PlacekeepOption = ((ActiveFormat.PlantFormat.FormatData.PurchaseOptions & E_PurchaseOptions.AutoPlacekeeper) == E_PurchaseOptions.AutoPlacekeeper)
|
||||
&& scfg.Section_Placekeeper.Equals("Y");
|
||||
//return (PlacekeepOption && IsHigh);
|
||||
return (PlacekeepOption);
|
||||
}
|
||||
}
|
||||
public bool MoreThanOneStepSection()
|
||||
{
|
||||
if (IsProcedure || IsSection) return false;
|
||||
|
Reference in New Issue
Block a user