コード例 #1
0
 public ParentViewModel()
 {
     Customer = new CustomerViewModel();
     Accident = new AccidentViewModel();
     Witnessses = new List<WitnessViewModel>();
     OtherDrivers = new List<OtherDriverViewModel>();
 }
コード例 #2
0
        private async void Init()
        {
            await App.CreateCustomerDeviceAndAPIIfNoKey();
            await App.CreateAccidentDeviceAndAPIIfNoKey(DateTime.Now);

            
            vm = App.parentViewModel.Accident;
            BindingContext = vm;



            BackgroundColor = Color.White;
            Title = App.CurrentTitle;


            foreach (var item in AppDefaultSettings.PickerLists.AccidentCircumstances())
            {
                AccidentCircumstancesPicker.Items.Add(item);
            }

            AccidentCircumstancesPicker.SelectedIndex = 0;

            var startingPosition = new Position(37.79752, -122.40183);
            map.MoveToRegion(MapSpan.FromCenterAndRadius(new Position(37.79752, -122.40183), Distance.FromMiles(0.9)));

        }
コード例 #3
0
        private void Init()
        {
            Title = App.CurrentTitle;
            BackgroundColor = Color.White;

            vm = App.UserSettings;
            customerVm = App.parentViewModel.Customer;
            accountVm = App.parentViewModel.CurrentAccount;
            accidentVm = App.parentViewModel.Accident;

            BindingContext = vm;
            CustomerSection.BindingContext = customerVm;
            AccountSection.BindingContext = accountVm;
            DevCustomer.BindingContext = customerVm;
            DevAccident.BindingContext = accidentVm;
            DevCustomerSettings.BindingContext = vm;
        }
コード例 #4
0
        public async Task then_it_should_return_201_CREATED()
        {
            //act
            var accident = new AccidentViewModel
            {
                AccidentDateTime = DateTime.Now,
                Country = "",
                HouseNameOrNumber = "54",
                PostCode = "test",
                StreetName = "test",
                Town = "test",
              CustomerId = 1,
                Latitude = 0,
                Longitude = 0


            };


            result = await client.PostAsJsonAsync("api/accidents", accident);

            //assert
            result.IsSuccessStatusCode.ShouldBeTrue();
        }
コード例 #5
0
        private async Task<bool> UpdateOrInsertAccidentToAPI()
        {
            if (String.IsNullOrEmpty(vm.Customer))
            {
                vm.Customer = App.CurrentServerSideCustomer;
            }

            if (!String.IsNullOrEmpty(App.CurrentServerSideCustomer))
            {
                //wait until we have located the accident and shiz
                HttpClient client = new HttpClient();
                client.BaseAddress = new Uri(App.Config.AxiappApiEndpoint);
                string _uriString = "api/accidents";


                var json = JsonConvert.SerializeObject(vm);
                var content = new StringContent(json, Encoding.UTF8, "application/json");

                var response = new HttpResponseMessage();
                if (vm.Id == 0)
                {
                    response = await client.PostAsync(_uriString, content);

                    if (response.IsSuccessStatusCode)
                    {
                        var updatedContent = await response.Content.ReadAsStringAsync();
                        var updatedModel = JsonConvert.DeserializeObject<AccidentViewModel>(updatedContent);

                        vm = updatedModel;
                        App.Context.AccidentRepository.AddOrUpdate(vm);

                        return true;
                    }
                    else
                    {
                        return false;
                    }
                }
                else
                {
                    response = await client.PutAsync(_uriString, content);

                    if (response.IsSuccessStatusCode)
                    {
                        return true;
                    }
                    return false;
                }

            }
            else
            {
               await DisplayAlert("Sorry, that didn't work",
                    "We couldn't get your accident location or communicate with our servers - please make sure the location and data/wifi is turned on",
                    "OK");
                return false;
            }

        }
コード例 #6
0
        private string GenerateAccidentHtml(CustomerViewModel customer, OtherDriverViewModel otherDriver, AccidentViewModel accident)
        {

            var fullNameIncTitle = customer.Title + " " + customer.FirstName + " " + customer.LastName;
            var fullDefendantName = otherDriver.FirstName + " " + otherDriver.LastName;

            var accidentHtml = "<!DOCTYPE html><html><head><meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"><meta name=\"generator\" content=\"SautinSoft.RtfToHtml.dll\"><title>Document title</title><style type=\"text/css\">.st1{font-family:Verdana;font-size:12pt;color:#000000;}.st2{font-family:Arial;font-size:10pt;color:#C60071;font-weight:bold}.st3{font-family:Arial;font-size:9pt;color:#808080;}.st4{font-family:Arial;font-size:9pt;color:#000000;}.st5{font-family:Arial;font-size:9pt;color:#44146A;}.st6{font-family:Arial;font-size:9pt;color:#44146A;font-weight:bold}.st7{font-family:Arial;font-size:9pt;color:#1B2F41;;text-decoration: underline}.st8{font-family:Arial;font-size:10pt;color:#44146A;}.st9{font-family:Arial;font-size:10pt;color:#000000;}.st10{font-family:'Times New Roman';font-size:10pt;color:#000000;}.st11{font-family:Arial;font-size:6pt;color:#C0C0C0;}.st12{font-family:Calibri;font-size:11pt;color:#000000;}</style></head><body><div style=\"width:595.3pt;margin-left:72pt;margin-right:72pt;margin-top:72pt;margin-bottom:0pt\"><table style=\"margin-left:-2.25pt;border-collapse:collapse;\"><tr><td style=\"vertical-align:top;width:454.3pt;border:none;padding:0.75pt 0.75pt 0.75pt 0.75pt;\"><table style=\"margin-left:1.9pt;border-collapse:collapse;\"><tr><td style=\"vertical-align:top;width:449pt;border:solid 1pt #C0C0C0;padding:3pt 0pt 1.5pt 1.5pt;\"><table style=\"margin-left:10pt;border-collapse:collapse;\"><tr><td style=\"vertical-align:bottom;width:429pt;border:none;padding:0pt 0pt 1.5pt 0pt;\"><div style=\"margin:0pt 0pt 0pt 0pt;text-align:right;line-height:normal;\"><span class=\"st1\">&nbsp;</span></div></td></tr><tr><td style=\"vertical-align:middle;width:414pt;border:solid 1pt #A9A9A9;padding:7.5pt 7.5pt 7.5pt 7.5pt;\"><table style=\"margin-left:0.75pt;border-collapse:collapse;\"><tr><td style=\"vertical-align:top;width:1.55pt;border:none;padding:0pt 0pt 0pt 0pt;\"><div style=\"margin:0pt 0pt 0pt 0pt;line-height:normal;\"><span class=\"st1\">&nbsp;</span></div></td><td colspan=\"2\" style=\"vertical-align:top;width:412.5pt;border:none;padding:0pt 0pt 0pt 0pt;\"><div style=\"margin:auto 0pt auto 0pt;text-align:right;line-height:normal;\"><span class=\"st2\">" +
                fullNameIncTitle +
                "&#13;<br /></span><span class=\"st3\">Axiapp Ref: " + "TESTREF" +
                "&#13;<br />Accident Date:&nbsp; " + ((DateTime)accident.AccidentDateTime).ToShortDateString() +
                "&#13;<br /></span></div></td></tr><tr><td colspan=\"2\" style=\"vertical-align:middle;width:412.5pt;border:none;padding:0pt 0pt 0pt 0pt;\"><div style=\"margin:0pt 0pt 0pt 0pt;line-height:normal;\"><span class=\"st1\">&nbsp;</span></div></td></tr><tr><td colspan=\"2\" style=\"vertical-align:middle;width:412.5pt;border:none;padding:0pt 0pt 0pt 0pt;\"><div style=\"margin:auto 0pt auto 0pt;line-height:normal;\"><span class=\"st4\">&nbsp;</span></div><div style=\"margin:auto 0pt auto 0pt;text-align:justify;line-height:normal;\"><span class=\"st5\">Dear "
                + customer.Title + " " + customer.LastName + ",</span></div><div style=\"margin:auto 0pt auto 0pt;text-align:justify;line-height:normal;\"><span class=\"st5\">Following the recent collision.</span></div><div style=\"margin:auto 0pt auto 0pt;text-align:justify;line-height:normal;\"><span class=\"st6\">The Details are:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></div><table style=\"margin-left:0.25pt;border-collapse:collapse;\"><tr><td style=\"vertical-align:top;width:195.05pt;border:solid 1pt #000000;padding:0pt 5.4pt 0pt 5.4pt;\"><div style=\"margin:auto 0pt auto 0pt;line-height:normal;\"><span class=\"st6\">"
                + "My Name:</span><span class=\"st5\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;" + fullNameIncTitle + "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></div><div style=\"margin:auto 0pt auto 0pt;line-height:normal;\"><span class=\"st4\">&nbsp;</span></div></td><td style=\"vertical-align:top;width:195.1pt;border:solid 1pt #000000;padding:0pt 5.4pt 0pt 5.4pt;\"><div style=\"margin:auto 0pt auto 0pt;line-height:normal;\"><span class=\"st6\">Your Name:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span class=\"st5\">"
                + fullDefendantName + "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></div><div style=\"margin:auto 0pt auto 0pt;line-height:normal;\"><span class=\"st4\">&nbsp;</span></div></td></tr><tr><td style=\"vertical-align:top;width:195.05pt;border:solid 1pt #000000;padding:0pt 5.4pt 0pt 5.4pt;\"><div style=\"margin:auto 0pt auto 0pt;line-height:normal;\"><span class=\"st5\">Email: </span>"
                + "<a href=\"mailto:" + customer.Email + "\"><span class=\"st7\">" + customer.Email + "</span></a></div></td><td style=\"vertical-align:top;width:195.1pt;border:solid 1pt #000000;padding:0pt 5.4pt 0pt 5.4pt;\"><div style=\"margin:auto 0pt auto 0pt;line-height:normal;\"><span class=\"st5\">Email: "
                + "</span><a href=\"mailto:" + otherDriver.Email + "\"><span class=\"st7\">" + otherDriver.Email + "</span></a></div></td></tr><tr><td style=\"vertical-align:top;width:195.05pt;border:solid 1pt #000000;padding:0pt 5.4pt 0pt 5.4pt;\"><div style=\"margin:auto 0pt auto 0pt;line-height:normal;\"><span class=\"st5\">Contact Number:&nbsp;"
                + customer.Telephone + "</span></div></td><td style=\"vertical-align:top;width:195.1pt;border:solid 1pt #000000;padding:0pt 5.4pt 0pt 5.4pt;\"><div style=\"margin:auto 0pt auto 0pt;line-height:normal;\"><span class=\"st5\">Contact Number:&nbsp; "
                + otherDriver.Telephone + "</span></div></td></tr><tr><td style=\"vertical-align:top;width:195.05pt;border:solid 1pt #000000;padding:0pt 5.4pt 0pt 5.4pt;\"><div style=\"margin:auto 0pt auto 0pt;line-height:normal;\"><span class=\"st5\">Vehicle Registration Number : " +
                customer.VRN + "&#13;<br /></span></div></td><td style=\"vertical-align:top;width:195.1pt;border:solid 1pt #000000;padding:0pt 5.4pt 0pt 5.4pt;\"><div style=\"margin:auto 0pt auto 0pt;line-height:normal;\"><span class=\"st5\">Vehicle Registration Number "
                + otherDriver.VRN + "&#13;<br /></span></div></td></tr><tr><td style=\"vertical-align:top;width:195.05pt;border:solid 1pt #000000;padding:0pt 5.4pt 0pt 5.4pt;\"><div style=\"margin:auto 0pt auto 0pt;line-height:normal;\"><span class=\"st5\">Insurer Name:"
                + customer.Insurer + "</span></div></td><td style=\"vertical-align:top;width:195.1pt;border:solid 1pt #000000;padding:0pt 5.4pt 0pt 5.4pt;\"><div style=\"margin:auto 0pt auto 0pt;line-height:normal;\"><span class=\"st5\">Insurer Name: "
                + otherDriver.InsurerName + "</span></div></td></tr><tr><td style=\"vertical-align:top;width:195.05pt;border:solid 1pt #000000;padding:0pt 5.4pt 0pt 5.4pt;\"><div style=\"margin:auto 0pt auto 0pt;line-height:normal;\"><span class=\"st5\">Policy Number: "
                + customer.PolicyNumber + "</span></div></td><td style=\"vertical-align:top;width:195.1pt;border:solid 1pt #000000;padding:0pt 5.4pt 0pt 5.4pt;\"><div style=\"margin:auto 0pt auto 0pt;line-height:normal;\"><span class=\"st5\">Policy Number: "
                + otherDriver.PolicyNumber + "</span></div></td></tr></table><div style=\"margin:auto 0pt auto 0pt;line-height:normal;\"><span class=\"st5\">Axiapp</span></div></td></tr><tr><td colspan=\"2\" style=\"vertical-align:top;width:412.5pt;border:none;padding:0pt 0pt 0pt 0pt;\"><div style=\"margin:0pt 0pt 0pt 0pt;line-height:normal;\"><span class=\"st3\">&#13;<br /></span></div></td></tr><tr><td colspan=\"2\" style=\"vertical-align:middle;width:412.5pt;border:none;padding:0pt 0pt 0pt 0pt;\"><div style=\"margin:auto 0pt auto 0pt;text-align:right;line-height:normal;\"><a href=\"http://www.linkedin.com/groups/InterResolve-4048238?trk=myg_ugrp_ovr\"><span class=\"st8\">&#13;<br /></span></a><span class=\"st9\">&nbsp;&nbsp; </span></div></td></tr><tr><td style=\"vertical-align:middle;width:1.55pt;border:none;padding:0pt 0pt 0pt 0pt;\"><div style=\"margin:0pt 0pt 0pt 0pt;line-height:normal;\"><span class=\"st1\">&nbsp;</span></div></td><td colspan=\"2\" style=\"vertical-align:middle;width:412.5pt;border:none;padding:0pt 0pt 0pt 0pt;\"><div style=\"margin:0pt 0pt 0pt 0pt;line-height:normal;\"><span class=\"st10\">&nbsp;</span></div></td></tr></table></td></tr><tr><td style=\"vertical-align:middle;width:429pt;border:none;padding:0pt 0pt 0pt 0pt;\"><div style=\"margin:0pt 0pt 0pt 0pt;line-height:normal;\"><span class=\"st11\">&#13;<br /></span></div></td></tr></table><div style=\"margin:0pt 0pt 0pt 0pt;line-height:normal;\"><img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABAAAAAMACAYAAAC6uhUNAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAACSxSURBVHhe7dhRbi1Zdl3R6q56pb6pITIMyHBBnlbVrsx3csXjGMAEP0jeG/G59t/+/d///T8lSZIkSdL3unAAkCRJkiTpo104AEiSJEmS9NEuHAAkSZIkSfpoFw4AkiRJkiR9tAsHAEmSJEmSPtqFA4AkSZIkSR/twgFAkiRJkqSPduEAIEmSJEnSR7twAJAkSZIk6aNdOABIkiRJkvTRLhwAJEmSJEn6aBcOAJIkSZIkfbQLBwBJkiRJkj7ahQOAJEmSJEkf7cIBQJIkSZKkj3bhACBJkiRJ0ke7cACQJEmSJOmjXTgASJIkSZL00S4cACRJkiRJ+mgXDgCSJEmSJH20CwcASZIkSZI+2oUDgCRJkiRJH+3CAUCSJEmSpI924QAgSZIkSdJHu3AAkCRJkiTpo104AEiSJEmS9NEuHAAkSZIkSfpoFw4AkiRJkiR9tAsHAEmSJEmSPtqFA4AkSZIkSR/twgFAkiRJkqSPdnE6APzbv/2bJEmSJEn6xf3Hf/zHP9WFA4AkSZIkSWPV2K8uHAAkSZIkSRqrxn514QAgSZIkSdJYNfarCwcASZIkSZLGqrFfXTgASJIkSZI0Vo396sIBQJIkSZKksWrsVxcOAJIkSZIkjVVjv7pwAJAkSZIkaawa+9WFA4AkSZIkSWPV2K8uHAAkSZIkSRqrxn514QAgSZIkSdJYNfarCwcASZIkSZLGqrFfXTgASJIkSZI0Vo396sIBQJIkSZKksWrsVxcOAJIkSZIkjVVjv7pwAJAkSZIkaawa+9WFA4AkSZIkSWPV2K8uHAAkSZIkSR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dtTYry4cAGBIDfNXAQAAO2rsVxcOADCkhvmrAACAHTX2qwsHABhSw/xVAADAjhr71YUDAAypYf4qAABgR4396sIBAIbUMH8VAACwo8Z+deEAAENqmL8KAADYUWO/unAAgCE1zF8FAADsqLFfXTgAwJAa5q8CAAB21NivLhwAYEgN81cBAAA7auxXFw4AMKSG+asAAIAdNfarCwcAGFLD/FUAAMCOGvvVhQMADKlh/ioAAGBHjf3qwgEAhtQwfxUAALCjxn514QAAQ2qYvwoAANhRY7+6cACAITXMXwUAAOyosV9dOADAkBrmrwIAAHbU2K8uHABgSA3zVwEAADtq7FcXDgAwpIb5qwAAgB019qsLBwAYUsP8VQAAwI4a+9WFAwAMqWH+KgAAYEeN/erCAQCG1DB/FQAAsKPGfnXhAABDapi/CgAA2FFjv7pwAIAhNcxfBQAA7KixX104AMCQGuavAgAAdtTYry4cAGBIDfNXAQAAO2rsVxcOADCkhvmrAACAHTX2qwsHABhSw/xVAADAjhr71YUDAAypYf4qAABgR4396sIBAIbUMH8VAACwo8Z+deEAAENqmL8KAADYUWO/unAAgCE1zF8FAADsqLFfXTgAwJAa5q8CAAB21NivLhwAYEgN81cBAAA7auxXFw4AMKSG+asAAIAdNfarCwcAGFLD/FUAAMCOGvvVhQMADKlh/ioAAGBHjf3qwgEAhtQwfxUAALCjxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxcOAAAAADCmxn514QAAAAAAY2rsVxenA0B9mSRJkiRJ+mu6cACQJEmSJOmjXTgASJIkSZL00S4cACRJkiRJ+mgXDgCSJEmSJH20CwcASZIkSZI+2oUDgCRJkiRJH+3CAUCSJEmSpI924QAgSZIkSdJHu3AAkCRJkiTpo104AEiSJEmS9NEuHAAkSZIkSfpoFw4AkiRJkiR9tAsHAEmSJEmSPtqFA4AkSZIkSR/twgFAkiRJkqSPduEAIEmSJEnSR7twAJAkSZIk6aNdOABIkiRJkvTRLhwAJEmSJEn6aBcOAJIkSZIkfbQLBwBJkiRJkj7ahQOAJEmSJEkf7cIBQJIkSZKkj3bhACBJkiRJ0ke7cACQJEmSJOmjXTgASJIkSZL00S4cACRJkiRJ+mgXDgCSJEmSJH20CwcASZIkSZI+2oUDgCRJkiRJH+3CAUCSJEmSpI928bf/+gkAAAD8xhwAAAAA4AdwAAAAAIAfwAEAAAAAfgAHAAAAAPgBHAAAAADgB3AAAAAAgB/AAQAAAAB+AAcAAAAA+AEcAAAAAOAHcAAAAACAH8ABAAAAAH4ABwAAAAD4ARwAAAAA4AdwAAAAAIAfwAEAAAAAfgAHAAAAAPgBHAAAAADgB3AAAAAAgB/AAQAAAAB+AAcAAAAA+AEcAAAAAOAHcAAAAACAH8ABAAAAAH4ABwAAAAD4ARwAAAAA4AdwAAAAAIAfwAEAAAAAfgAHAAAAAPgBHAAAAADgB3AAAAAAgB/AAQAAAAB+e//5n/8LalPVuviNNl4AAAAASUVORK5CYII=\" width=\"96\" height=\"24\" alt=\"\"></div><div style=\"margin:0pt 0pt 0pt 0pt;line-height:normal;\"><img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAPBAMAAAAWtvJmAAAAAXNSR0ICQMB9xQAAADBQTFRFAAAAgAAAAIAAgIAAAACAgACAAICAgICAwMDA/wAAAP8A//8AAAD//wD/AP//////ex+xxAAAAGJJREFUGNNFjiEOwDAIRXGIiV51rk0mVonrVXCTXAm3JoiuG6RDfPHy8/iQ18EpIgAzLjjMtIzN7P4oNg1qUHRzyoSYnCaq2Sm3TtFVGi0MXF6Bd5EmDMNeZXn7+sa+4V/2AGN8X4j84l45AAAAAElFTkSuQmCC\" width=\"20\" height=\"15\" alt=\"\"></div></td></tr></table></td></tr></table></body></html>";
            return accidentHtml;
        }