<% if(settings.NotificationWindowFields.ShowVehicleGroup == true){ %> <% } %> <% if(settings.NotificationWindowFields.ShowDeviceID == true){ %> <% } %> <% if(settings.NotificationWindowFields.ShowLocation == true){ %> <% } %> <% if(settings.NotificationWindowFields.ShowMake == true){ %> <% } %> <% if(settings.NotificationWindowFields.ShowModel == true){ %> <% } %> <% if(settings.NotificationWindowFields.ShowYear == true){ %> <% } %> <% if(settings.NotificationWindowFields.ShowColor == true){ %> <% } %> <% if(settings.NotificationWindowFields.ShowLicense == true){ %> <% } %> <% if(settings.NotificationWindowFields.ShowGPSFix == true){ %> <% } %> <% if(settings.NotificationWindowFields.ShowSpeed == true){ %> <% } %> <% if(settings.NotificationWindowFields.ShowTimeReceived == true){ %> <% } %> <% if(settings.NotificationWindowFields.ShowLatLon == true){ %> <% } %> <% if(settings.NotificationWindowFields.ShowSpeedLimit == true){ %> <% } %> <% if(settings.NotificationWindowFields.ShowOdometer == true){ %> <% } %> <% if(settings.NotificationWindowFields.ShowEngineHours == true){ %> <% } %> <% if(settings.NotificationWindowFields.ShowAdditionalInfo == true){ %> <% } %> <% if(settings.NotificationWindowFields.ShowVIN == true){ %> <% } %> <% if(settings.NotificationWindowFields.ShowDriver == true){ %> <% } %> <% if(vehicleUDCHeadings){ for( var i = 0; i < vehicleUDCHeadings.length; i++ ) { %> <% }} %> <% for ( var i = 0; i < notif_amt; i++) { %> <% if((i + 1) == notif_amt){ %> <% if(expandedNotifs.indexOf(model[i].get('NotificationHistoryID')) > -1){ %> <% }else{ %> <% } %> <% } else { %> <% if(expandedNotifs.indexOf(model[i].get('NotificationHistoryID')) > -1){ %> <% }else{ %> <% } %> <% } %> <% if(expandedNotifs.indexOf(model[i].get('NotificationHistoryID')) > -1){ %> <% }else{ %> <% } %> <% if(settings.NotificationWindowFields.ShowVehicleGroup == true){ %> <% } %> <% if(settings.NotificationWindowFields.ShowDeviceID == true){ %> <% } %> <% if(settings.NotificationWindowFields.ShowLocation == true){ %> <% } %> <% if(settings.NotificationWindowFields.ShowMake == true){ %> <% } %> <% if(settings.NotificationWindowFields.ShowModel == true){ %> <% } %> <% if(settings.NotificationWindowFields.ShowYear == true){ %> <% } %> <% if(settings.NotificationWindowFields.ShowColor == true){ %> <% } %> <% if(settings.NotificationWindowFields.ShowLicense == true){ %> <% } %> <% if(settings.NotificationWindowFields.ShowGPSFix == true){ %><% if ( model[i].get('GPSFix') == true ) { %> <% } else if ( model[i].get('GPSFix') == false ) { %> <% } else { %> <% }} %> <% if(settings.NotificationWindowFields.ShowSpeed == true){ %><% if(settings.DistanceMeasureUnit == 1){ %> <% } else { %> <% } } %> <% if(settings.NotificationWindowFields.ShowTimeReceived == true){ %> <% } %> <% if(settings.NotificationWindowFields.ShowLatLon == true){ if(model[i].get('Latitude') != -1 && model[i].get('Longitude') != -1){%> <% } else {%> <%}}%> <% if(settings.NotificationWindowFields.ShowSpeedLimit == true){ %><% if(settings.DistanceMeasureUnit == 1){ %> <% } else { %> <% } } %> <% if(settings.NotificationWindowFields.ShowOdometer == true){ %> <% } %> <% if(settings.NotificationWindowFields.ShowEngineHours == true){ %> <% } %> <% if(settings.NotificationWindowFields.ShowAdditionalInfo == true){ %> <% } %> <% if(settings.NotificationWindowFields.ShowVIN == true){ %> <% } %> <% if(settings.NotificationWindowFields.ShowDriver == true){ %> <% } %> <% if(vehicleUDCHeadings){ var added = false; for( var k = 0; k < vehicleUDCHeadings.length; k++ ) { var added = false; for(var j=0;j < model[i].get('VehicleUDCList').length;j++){ var node = model[i].get('VehicleUDCList')[j]; if(node.UDCHeadingID == vehicleUDCHeadings[k].UDCHeadingID){ added = true; %> <% } } if(added == false){ %> <% } } } %> <% } %>
Vehicle NameVeh GrpMessage Notify TimeDevice IDLocationMakeModelYearColorLicenseGPSFIX<% if(settings.DistanceMeasureUnit == 1){ %>MPH<% } else { %>KPH<% } %>Time ProcessedLat/LonSpeed LimitOdometerEngine HoursAdditional InfoVINDriver Name<%- vehicleUDCHeadings[i].UDCName %>
<%- model[i].get('VehicleID') %><%- model[i].get('VehicleName') %> <%- model[i].get('VehicleName') %> <%- model[i].get('VehicleGroupName') %><%- model[i].get('NotificationText') %> <%- moment(moment.utc(model[i].get('RPTUTCDATE') ).toDate()).format('MM/DD/YYYY h:mm:ss A') %><%- model[i].get('DeviceUID') %><%- model[i].get('LocationText') %><%- model[i].get('VehicleMake') %><%- model[i].get('VehicleModel') %><%- model[i].get('VehicleYear') %><%- model[i].get('VehicleColor') %><%- model[i].get('vehiclelicense') %>YN<%- model[i].get('Velocity') %><%- (model[i].get('Velocity') * 1.609344).toFixed(0) %><%- moment(moment.utc(model[i].get('ReceivedUTC') ).toDate()).format('MM/DD/YYYY h:mm:ss A') %><%- '(' + model[i].get('Latitude') + ', ' + model[i].get('Longitude') + ')' %><%- model[i].get('SpeedLimit') %><%- (model[i].get('SpeedLimit') * 1.609344).toFixed(0) %><%- model[i].get('Odometer') %><%- model[i].get('EngineHours') %><%- model[i].get('AdditionalText') %><%- model[i].get('VehicleVIN') %><%- model[i].get('DriverName') %><%- node.UDCValue %>