case 3646
This commit is contained in:
@@ -57,7 +57,8 @@ namespace GZTW.AyaNova.BLL
|
||||
}
|
||||
}
|
||||
|
||||
if (AyaBizUtils.Trial) WatermarkReport(x);
|
||||
//case 3646 removed
|
||||
// if (AyaBizUtils.Trial) WatermarkReport(x);
|
||||
|
||||
MemoryStream ms = new MemoryStream();
|
||||
x.ExportToPdf(ms);
|
||||
|
||||
@@ -3020,14 +3020,16 @@ namespace GZTW.AyaNova.BLL
|
||||
|
||||
if(AyaBizUtils.IsGenerator || c.mRights > SecurityLevelTypes.ReadOnly)
|
||||
{
|
||||
//Count the workorders if it's a trial, sb no more than 30
|
||||
if(AyaBizUtils.Trial)
|
||||
{
|
||||
|
||||
if(WorkorderCountFetcher.GetItem()>29)
|
||||
throw new TrialException(LocalizedTextTable.GetLocalizedTextDirect("Error.Trial.Restricted"));
|
||||
|
||||
}
|
||||
//case 3646 removed this block
|
||||
////Count the workorders if it's a trial, sb no more than 30
|
||||
//if(AyaBizUtils.Trial)
|
||||
//{
|
||||
|
||||
// if(WorkorderCountFetcher.GetItem()>29)
|
||||
// throw new TrialException(LocalizedTextTable.GetLocalizedTextDirect("Error.Trial.Restricted"));
|
||||
|
||||
//}
|
||||
|
||||
//c = new Workorder();
|
||||
c.WorkorderType=WorkorderType;
|
||||
|
||||
Reference in New Issue
Block a user