This commit is contained in:
@@ -2247,7 +2247,7 @@ namespace AyaNova.PlugIn.V8
|
|||||||
string sStopDate = util.DateToV8(c.StopDate);
|
string sStopDate = util.DateToV8(c.StopDate);
|
||||||
if (sStartDate == string.Empty || sStopDate == string.Empty)
|
if (sStartDate == string.Empty || sStopDate == string.Empty)
|
||||||
{
|
{
|
||||||
progress.Append("FollowUp start or stop date missing; skipping export: ID " + c.ID.ToString() + ",targetid " + c.FollowID.ToString() + ",type " + c.FollowType.ToString());
|
progress.Append("ScheduleMarker start or stop date missing; skipping export: ID " + c.ID.ToString());
|
||||||
continue;//skip this schedulemarker entirely it's disqualified
|
continue;//skip this schedulemarker entirely it's disqualified
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2271,19 +2271,15 @@ namespace AyaNova.PlugIn.V8
|
|||||||
d.userId = Map[gUserId];
|
d.userId = Map[gUserId];
|
||||||
d.startDate = sStartDate;
|
d.startDate = sStartDate;
|
||||||
d.stopDate = sStopDate;
|
d.stopDate = sStopDate;
|
||||||
|
d.color = System.Drawing.ColorTranslator.ToHtml(System.Drawing.Color.FromArgb(c.ARGB));
|
||||||
SetTags(d, tags);
|
SetTags(d, tags);
|
||||||
progress.Op("ScheduleMarker " + c.ID.ToString());
|
progress.Op("ScheduleMarker " + c.ID.ToString());
|
||||||
var rMainObject = await util.PostAsync("review", d.ToString());
|
var rMainObject = await util.PostAsync("reminder", d.ToString());
|
||||||
long RavenId = util.IdFromResponse(rMainObject);
|
long RavenId = util.IdFromResponse(rMainObject);
|
||||||
AddMap(c.ID, RavenId);
|
AddMap(c.ID, RavenId);
|
||||||
await util.EventLog(util.AyaType.Review, RavenId, SafeGetUserMap(c.Creator), SafeGetUserMap(c.Modifier), c.Created, c.Modified);
|
await util.EventLog(util.AyaType.Review, RavenId, SafeGetUserMap(c.Creator), SafeGetUserMap(c.Modifier), c.Created, c.Modified);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endregion ScheduleMarkers
|
#endregion ScheduleMarkers
|
||||||
|
|||||||
Reference in New Issue
Block a user