sync
This commit is contained in:
		| @@ -616,6 +616,9 @@ namespace IronIntel.Contractor.Site | |||||||
|                     case (int)FuelRecordTypes.State: |                     case (int)FuelRecordTypes.State: | ||||||
|                         questionType = QuestionTypes.DropDown; |                         questionType = QuestionTypes.DropDown; | ||||||
|                         break; |                         break; | ||||||
|  |                     case (int)FuelRecordTypes.Notes: | ||||||
|  |                         questionType = QuestionTypes.MultipleLineText; | ||||||
|  |                         break; | ||||||
|                     case (int)FuelRecordTypes.Picture: |                     case (int)FuelRecordTypes.Picture: | ||||||
|                         questionType = QuestionTypes.Picture; |                         questionType = QuestionTypes.Picture; | ||||||
|                         break; |                         break; | ||||||
|   | |||||||
| @@ -93,6 +93,9 @@ namespace IronIntel.Contractor.Site.Maintenance | |||||||
|                     else |                     else | ||||||
|                         endDate = endDate.Date.AddDays(1).AddSeconds(-1); |                         endDate = endDate.Date.AddDays(1).AddSeconds(-1); | ||||||
|  |  | ||||||
|  |                     beginDate = SystemParams.CustomerDetail.CustomerTimeToUtc(beginDate); | ||||||
|  |                     endDate = SystemParams.CustomerDetail.CustomerTimeToUtc(endDate); | ||||||
|  |  | ||||||
|                     int assigned = -1; |                     int assigned = -1; | ||||||
|                     int completed = -1; |                     int completed = -1; | ||||||
|                     if (alertparam.AlertStatus != null && alertparam.AlertStatus.Length > 0) |                     if (alertparam.AlertStatus != null && alertparam.AlertStatus.Length > 0) | ||||||
| @@ -149,6 +152,9 @@ namespace IronIntel.Contractor.Site.Maintenance | |||||||
|                     else |                     else | ||||||
|                         endDate = endDate.Date.AddDays(1).AddSeconds(-1); |                         endDate = endDate.Date.AddDays(1).AddSeconds(-1); | ||||||
|  |  | ||||||
|  |                     beginDate = SystemParams.CustomerDetail.CustomerTimeToUtc(beginDate); | ||||||
|  |                     endDate = SystemParams.CustomerDetail.CustomerTimeToUtc(endDate); | ||||||
|  |  | ||||||
|                     int assigned = -1; |                     int assigned = -1; | ||||||
|                     int completed = -1; |                     int completed = -1; | ||||||
|                     if (alertparam.AlertStatus != null && alertparam.AlertStatus.Length > 0) |                     if (alertparam.AlertStatus != null && alertparam.AlertStatus.Length > 0) | ||||||
| @@ -261,7 +267,7 @@ namespace IronIntel.Contractor.Site.Maintenance | |||||||
|                         endDate = DateTime.MaxValue; |                         endDate = DateTime.MaxValue; | ||||||
|                     else |                     else | ||||||
|                         endDate = endDate.Date.AddDays(1).AddSeconds(-1); |                         endDate = endDate.Date.AddDays(1).AddSeconds(-1); | ||||||
|  |                   | ||||||
|                     alertparam.AlertStatus = new string[0]; |                     alertparam.AlertStatus = new string[0]; | ||||||
|                     AlertManager am = new AlertManager(SystemParams.DataDbConnectionString); |                     AlertManager am = new AlertManager(SystemParams.DataDbConnectionString); | ||||||
|                     AlertInfo[] alerts = am.SearchAcknowledgedAlerts(session.SessionID, alertparam.SearchText, alertparam.AlertStatus, alertparam.AlertTypes, alertparam.AssetGroups, beginDate, endDate, session.User.UID); |                     AlertInfo[] alerts = am.SearchAcknowledgedAlerts(session.SessionID, alertparam.SearchText, alertparam.AlertStatus, alertparam.AlertTypes, alertparam.AssetGroups, beginDate, endDate, session.User.UID); | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								Site
									
									
									
									
									
								
							
							
								
								
								
								
								
							
						
						
									
										2
									
								
								Site
									
									
									
									
									
								
							 Submodule Site updated: 61a0879af8...140d1ffce0
									
								
							
		Reference in New Issue
	
	Block a user