B2013-002 fixed the logic that uses RevDate.
Added logic to only show the revision date field if the RevDate flag was set to true in the current format.
This commit is contained in:
@@ -1250,7 +1250,7 @@ namespace Volian.Print.Library
|
||||
if ((MySection.ActiveFormat.PlantFormat.FormatData.PrintData.DoRevDate && Rev.Contains("/"))
|
||||
|| (MySection.ActiveFormat.PlantFormat.FormatData.PrintData.RevDateWithForwardSlash && Rev.Contains("\\")))
|
||||
{
|
||||
int indx = Rev.IndexOf(MySection.ActiveFormat.PlantFormat.FormatData.PrintData.DoRevDate?'/':'\\');
|
||||
int indx = Rev.IndexOf(MySection.ActiveFormat.PlantFormat.FormatData.PrintData.RevDateWithForwardSlash ? '\\' : '/');
|
||||
if (match.Value == "{REV}") return Rev.Substring(0,indx);
|
||||
return Rev.Substring(indx+1);
|
||||
}
|
||||
|
Reference in New Issue
Block a user