public PaymentVoucherControllerTest() { validUser = A.Fake<IUserRepository>(); A.CallTo(() => validUser.CurrentUserId).Returns(1); A.CallTo(() => validUser.CurrentUserName).Returns("Valid User"); invalidUser = A.Fake<IUserRepository>(); A.CallTo(() => invalidUser.CurrentUserId).Returns(2); A.CallTo(() => invalidUser.CurrentUserName).Returns("Invalid User"); projectRepository = new MockProjectRepository(); paymentVoucherRepository = new MockPaymentVoucherRepository(); controller = new PaymentVoucherController(projectRepository, paymentVoucherRepository, validUser); //Create some test data //User 1 creates a project var firstProject = new Project(); firstProject.Name = "Owned Project"; firstProject.OwnerID = validUser.CurrentUserId; projectRepository.Create(firstProject); //User 2 creates a project var secondProject = new Project(); secondProject.Name = "Shared project"; secondProject.OwnerID = invalidUser.CurrentUserId; projectRepository.Create(secondProject); //User 2 invites user 1 to the project var acl = projectRepository.CreateCollaboration(secondProject.ID, "*****@*****.**"); //User 1 accepts projectRepository.AcceptCollaboration(acl.ID, validUser.CurrentUserId); }
public void InitVoucher() { var project = new Project(); project.Name = "Test"; Voucher = new PaymentVoucher(); Voucher.Project = project; Voucher.CheckNumber = "123"; Voucher.PaidTo = "Kevin"; var entry = new PaymentVoucherEntry(); entry.Item = "someting"; entry.CostElement = "big"; entry.Amount = 234.23; Voucher.Entries.Add(entry); entry = new PaymentVoucherEntry(); entry.Item = "someting else"; entry.CostElement = "not so big"; entry.Amount = .01; Voucher.Entries.Add(entry); entry = new PaymentVoucherEntry(); entry.Item = "that thing"; entry.CostElement = "small"; entry.Amount = 2304990324.3; Voucher.Entries.Add(entry); }
public PaymentVoucherRepositoryTest() { user = new UserProfile(); user.UserId = 1; user.UserName = "******"; project = createTestProject(user.UserId); var projects = new ProjectRepository(); projects.Create(project); }
public void PaymentVoucherController_Create_ShouldPopulateThePreparedByFieldWithTheCurrentUserName() { var project = new Project(); projectRepository.Create(project); var result = controller.Create(project.ID) as ViewResult; var model = result.Model as PaymentVoucher; Assert.IsNotNull(model.PreparedBy); Assert.AreEqual("Valid User", model.PreparedBy); }
public void ProjectRepository_Create_ShouldCreateNewProjectInDB() { var project = new Project(); project.DateStarted = DateTime.Now; project.Name = "test"; project.Owner = user; project.OwnerID = user.UserId; var repo = new ProjectRepository(); repo.Create(project); }
/// <summary> /// Returns the security level, aka permissions of a user for a specifi projet /// </summary> /// <param name="user"></param> /// <param name="project"></param> /// <returns></returns> public SecurityLevel GetSecurityLevel(UserProfile user, Project project) { //Mos? //Project Owner? if (user.UserId == project.OwnerID) { return SecurityLevel.ProjectAdmin; } //Collaborator? var db = new ApplicationDBContext(); if (db.UsersAccessProjects .Where(acl => acl.ProjectID == project.ID && acl.UserID == user.UserId) .FirstOrDefault() != null) { return SecurityLevel.Collaborator; } //anything else has NO permission on this project return SecurityLevel.None; }
public void ProjectRepository_Delete_ShouldRemoveAProjectFromTheDB() { var project = new Project(); project.DateStarted = DateTime.Now; project.Name = "test"; project.Owner = user; project.OwnerID = user.UserId; var repo = new ProjectRepository(); repo.Create(project); Assert.IsNotNull(repo.FindProjectByID(project.ID)); repo.Delete(project); Assert.IsNull(repo.FindProjectByID(project.ID)); }
private Project createTestProject(int OwnerID) { var project = new Project(); project.DateStarted = DateTime.Now; project.Name = "test" + new Random().NextDouble(); project.OwnerID = OwnerID; return project; }
public void ProjectRepository_Find_ShouldReturnOneProjectFromTheDB_IfItExists() { var project = new Project(); project.DateStarted = DateTime.Now; project.Name = "test"; project.Owner = user; project.OwnerID = user.UserId; var repo = new ProjectRepository(); repo.Create(project); var foundProject = repo.FindProjectByID(project.ID); Assert.IsNotNull(foundProject); Assert.AreEqual(project.DateStarted, foundProject.DateStarted); Assert.AreEqual(project.Name, foundProject.Name); Assert.AreEqual(project.OwnerID, foundProject.OwnerID); }
public void ProjectRepository_Edit_ShouldUpdateTheDB() { var project = new Project(); project.DateStarted = DateTime.Now; project.Name = "test"; project.Owner = user; project.OwnerID = user.UserId; var repo = new ProjectRepository(); repo.Create(project); var foundProject = repo.FindProjectByID(project.ID); Assert.IsNotNull(foundProject); Assert.AreEqual(project.DateStarted, foundProject.DateStarted); Assert.AreEqual(project.Name, foundProject.Name); Assert.AreEqual(project.OwnerID, foundProject.OwnerID); foundProject.Name = "other"; repo.Update(project); var newFoundProject = repo.FindProjectByID(foundProject.ID); Assert.IsNotNull(newFoundProject); Assert.AreEqual(foundProject.DateStarted, newFoundProject.DateStarted); Assert.AreEqual(foundProject.Name, newFoundProject.Name); Assert.AreEqual(foundProject.OwnerID, newFoundProject.OwnerID); }
public void PaymentVoucherController_Index_ShouldReturnAllVouchersForAProject() { var project = new Project(); projectRepository.Create(project); int voucherCount = 13; for (int i = 0; i < voucherCount; i++) { var voucher = new PaymentVoucher(); voucher.ProjectID = project.ID; paymentVoucherRepository.Create(voucher); } var result = controller.Index(project.ID) as ViewResult; var model = result.Model as PaymentVouchersViewModel; Assert.AreEqual(voucherCount, model.Vouchers.Count()); }
public void PaymentVoucherController_Index_ShouldReturnAValidProject() { var project = new Project(); projectRepository.Create(project); var result = controller.Index(project.ID) as ViewResult; var model = result.Model as PaymentVouchersViewModel; Assert.IsNotNull(model.Project); }
public void Seed() { ApplicationDBContext db = new ApplicationDBContext(); Project project = new Project(); project.Name = "Salisbury - Old Concord Rd"; project.DateStarted = DateTime.Now; project.IsDeleted = false; project.OwnerID = 0; db.Projects.Add(project); db.SaveChanges(); RecieptEntity RecieptEntity = null; RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "1"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-06-16"); RecieptEntity.SalesTax = 7.29f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 111.43f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "2"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-06-16"); RecieptEntity.SalesTax = 1.91f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 29.13f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "3"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-06-18"); RecieptEntity.SalesTax = 16.76f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 256.12f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "4"; RecieptEntity.StoreName = "DESCO Inc."; RecieptEntity.DateOfSale = DateTime.Parse("2012-06-20"); RecieptEntity.SalesTax = 5.36f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 82.00f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "5"; RecieptEntity.StoreName = "KnoxBox"; RecieptEntity.DateOfSale = DateTime.Parse("2012-07-05"); RecieptEntity.SalesTax = 27.68f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 437.68f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "6"; RecieptEntity.StoreName = "Quickscrews International"; RecieptEntity.DateOfSale = DateTime.Parse("2012-06-22"); RecieptEntity.SalesTax = 0.00f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 110.76f; RecieptEntity.County = 101; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "7"; RecieptEntity.StoreName = "ABC Supply Company"; RecieptEntity.DateOfSale = DateTime.Parse("2012-06-22"); RecieptEntity.SalesTax = 248.83f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 3803.55f; RecieptEntity.County = 60; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "8"; RecieptEntity.StoreName = "Concrete Supply Company"; RecieptEntity.DateOfSale = DateTime.Parse("2012-07-03"); RecieptEntity.SalesTax = 191.52f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 2927.52f; RecieptEntity.County = 60; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "9"; RecieptEntity.StoreName = "Concrete Supply Company"; RecieptEntity.DateOfSale = DateTime.Parse("2012-07-07"); RecieptEntity.SalesTax = 60.27f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 921.27f; RecieptEntity.County = 60; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "10"; RecieptEntity.StoreName = "Concrete Supply Company"; RecieptEntity.DateOfSale = DateTime.Parse("2012-07-07"); RecieptEntity.SalesTax = 1620.21f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 24762.21f; RecieptEntity.County = 60; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "11"; RecieptEntity.StoreName = "Guaranteed Supply Company"; RecieptEntity.DateOfSale = DateTime.Parse("2012-07-05"); RecieptEntity.SalesTax = 79.38f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 1213.38f; RecieptEntity.County = 41; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "12"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-07-02"); RecieptEntity.SalesTax = 3.57f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 54.57f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "13"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-07-02"); RecieptEntity.SalesTax = 12.29f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 187.87f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "14"; RecieptEntity.StoreName = "United Rentals"; RecieptEntity.DateOfSale = DateTime.Parse("2012-07-03"); RecieptEntity.SalesTax = 18.71f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 293.09f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "15"; RecieptEntity.StoreName = "United Rentals"; RecieptEntity.DateOfSale = DateTime.Parse("2012-07-13"); RecieptEntity.SalesTax = 3.81f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 65.29f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "16"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-07-13"); RecieptEntity.SalesTax = 10.69f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 163.38f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "17"; RecieptEntity.StoreName = "United Rentals"; RecieptEntity.DateOfSale = DateTime.Parse("2012-07-16"); RecieptEntity.SalesTax = 21.11f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 322.71f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "18"; RecieptEntity.StoreName = "Concrete Supply Company"; RecieptEntity.DateOfSale = DateTime.Parse("2012-07-14"); RecieptEntity.SalesTax = 1972.96f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 30157.96f; RecieptEntity.County = 60; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "19"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-07-14"); RecieptEntity.SalesTax = 13.48f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 206.08f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "20"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-07-21"); RecieptEntity.SalesTax = 11.43f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 174.77f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "21"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-07-21"); RecieptEntity.SalesTax = 11.91f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 182.10f; RecieptEntity.County = 13; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "22"; RecieptEntity.StoreName = "Hoffman & Hoffman"; RecieptEntity.DateOfSale = DateTime.Parse("2012-07-18"); RecieptEntity.SalesTax = 625.45f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 9560.45f; RecieptEntity.County = 41; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "23"; RecieptEntity.StoreName = "Office Depot"; RecieptEntity.DateOfSale = DateTime.Parse("2012-07-11"); RecieptEntity.SalesTax = 0.80f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 11.79f; RecieptEntity.County = 60; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "24"; RecieptEntity.StoreName = "Suburban Propane"; RecieptEntity.DateOfSale = DateTime.Parse("2012-07-10"); RecieptEntity.SalesTax = 107.92f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 1634.52f; RecieptEntity.County = 101; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "25"; RecieptEntity.StoreName = "Concrete Supply Company"; RecieptEntity.DateOfSale = DateTime.Parse("2012-06-28"); RecieptEntity.SalesTax = 33.22f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 507.72f; RecieptEntity.County = 60; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "26"; RecieptEntity.StoreName = "Concrete Supply Company"; RecieptEntity.DateOfSale = DateTime.Parse("2012-06-28"); RecieptEntity.SalesTax = 357.21f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 5460.24f; RecieptEntity.County = 60; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "27"; RecieptEntity.StoreName = "Concrete Supply Company"; RecieptEntity.DateOfSale = DateTime.Parse("2012-07-02"); RecieptEntity.SalesTax = 50.44f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 720.64f; RecieptEntity.County = 60; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "28"; RecieptEntity.StoreName = "Concrete Supply Company"; RecieptEntity.DateOfSale = DateTime.Parse("2012-07-21"); RecieptEntity.SalesTax = 987.85f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 15100.00f; RecieptEntity.County = 60; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "29"; RecieptEntity.StoreName = "DESCO Inc."; RecieptEntity.DateOfSale = DateTime.Parse("2012-07-20"); RecieptEntity.SalesTax = 0.65f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 9.87f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "30"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-07-20"); RecieptEntity.SalesTax = 16.17f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 247.15f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "31"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-11"); RecieptEntity.SalesTax = 13.15f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 201.01f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "32"; RecieptEntity.StoreName = "Sheetz"; RecieptEntity.DateOfSale = DateTime.Parse("2012-06-30"); RecieptEntity.SalesTax = 0.00f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 56.59f; RecieptEntity.County = 101; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "33"; RecieptEntity.StoreName = "Office Depot"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-11"); RecieptEntity.SalesTax = 20.16f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 308.12f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "34"; RecieptEntity.StoreName = "Office Depot"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-11"); RecieptEntity.SalesTax = -16.31f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = -249.27f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "35"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-10"); RecieptEntity.SalesTax = 1.40f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 21.38f; RecieptEntity.County = 13; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "36"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-10"); RecieptEntity.SalesTax = 1.77f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 27.11f; RecieptEntity.County = 13; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "37"; RecieptEntity.StoreName = "Sam's Club"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-10"); RecieptEntity.SalesTax = 25.88f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 392.56f; RecieptEntity.County = 13; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "38"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-10"); RecieptEntity.SalesTax = 8.01f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 122.37f; RecieptEntity.County = 13; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "39"; RecieptEntity.StoreName = "Office Depot"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-11"); RecieptEntity.SalesTax = 16.31f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 249.27f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "40"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-11"); RecieptEntity.SalesTax = 31.54f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 482.15f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "41"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-11"); RecieptEntity.SalesTax = 1.94f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 29.66f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "42"; RecieptEntity.StoreName = "Sherwin-Williams"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-11"); RecieptEntity.SalesTax = 26.45f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 404.35f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "43"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-12"); RecieptEntity.SalesTax = 10.62f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 162.27f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "44"; RecieptEntity.StoreName = "Walmart"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-12"); RecieptEntity.SalesTax = 0.69f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 10.57f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "45"; RecieptEntity.StoreName = "Sherwin-Williams"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-12"); RecieptEntity.SalesTax = 10.58f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 161.74f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "46"; RecieptEntity.StoreName = "Sheetz"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-12"); RecieptEntity.SalesTax = 0.00f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 30.00f; RecieptEntity.County = 101; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "47"; RecieptEntity.StoreName = "Sheetz"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-12"); RecieptEntity.SalesTax = 0.00f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 67.21f; RecieptEntity.County = 101; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "48"; RecieptEntity.StoreName = "Office Depot"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-12"); RecieptEntity.SalesTax = 0.59f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 8.97f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "49"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-12"); RecieptEntity.SalesTax = 23.92f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 365.62f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "50"; RecieptEntity.StoreName = "Walmart"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-12"); RecieptEntity.SalesTax = 2.76f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 42.16f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "51"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-14"); RecieptEntity.SalesTax = 10.33f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 157.83f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "52"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-12"); RecieptEntity.SalesTax = 0.76f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 11.60f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "53"; RecieptEntity.StoreName = "Southeastern Concrete Products"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-13"); RecieptEntity.SalesTax = 14.89f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 235.54f; RecieptEntity.County = 49; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "54"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-17"); RecieptEntity.SalesTax = 3.38f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 51.60f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "55"; RecieptEntity.StoreName = "Earp's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-17"); RecieptEntity.SalesTax = 0.00f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 45.67f; RecieptEntity.County = 101; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "56"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-17"); RecieptEntity.SalesTax = 9.84f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 150.42f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "57"; RecieptEntity.StoreName = "Home Depot"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-17"); RecieptEntity.SalesTax = 6.06f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 92.63f; RecieptEntity.County = 13; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "58"; RecieptEntity.StoreName = "DESCO Inc."; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-17"); RecieptEntity.SalesTax = 13.66f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 208.78f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "59"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-13"); RecieptEntity.SalesTax = 1.49f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 25.36f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "60"; RecieptEntity.StoreName = "Sheetz"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-11"); RecieptEntity.SalesTax = 0.00f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 25.04f; RecieptEntity.County = 101; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "61"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-13"); RecieptEntity.SalesTax = 3.83f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 58.53f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "62"; RecieptEntity.StoreName = "Walmart"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-13"); RecieptEntity.SalesTax = 0.00f; RecieptEntity.FoodTax = 0.78f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 39.98f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "63"; RecieptEntity.StoreName = "Walmart"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-17"); RecieptEntity.SalesTax = 1.57f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 24.02f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "64"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-16"); RecieptEntity.SalesTax = 8.56f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 130.89f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "65"; RecieptEntity.StoreName = "Walmart"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-16"); RecieptEntity.SalesTax = 0.75f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 11.51f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "66"; RecieptEntity.StoreName = "WilcoHess"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-15"); RecieptEntity.SalesTax = 0.00f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 24.99f; RecieptEntity.County = 101; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "67"; RecieptEntity.StoreName = "Sheetz"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-16"); RecieptEntity.SalesTax = 0.00f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 68.83f; RecieptEntity.County = 101; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "68"; RecieptEntity.StoreName = "Walmart"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-16"); RecieptEntity.SalesTax = 0.00f; RecieptEntity.FoodTax = 1.85f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 94.45f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "69"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-17"); RecieptEntity.SalesTax = 10.70f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 163.57f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "70"; RecieptEntity.StoreName = "Sheetz"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-16"); RecieptEntity.SalesTax = 0.00f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 55.28f; RecieptEntity.County = 101; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "71"; RecieptEntity.StoreName = "Walmart"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-16"); RecieptEntity.SalesTax = 0.00f; RecieptEntity.FoodTax = 0.80f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 40.60f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "72"; RecieptEntity.StoreName = "Sheetz"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-16"); RecieptEntity.SalesTax = 0.00f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 29.17f; RecieptEntity.County = 101; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "73"; RecieptEntity.StoreName = "United Rentals"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-15"); RecieptEntity.SalesTax = 6.64f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 105.11f; RecieptEntity.County = 49; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "74"; RecieptEntity.StoreName = "Pop Shoppe"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-15"); RecieptEntity.SalesTax = 0.00f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 62.24f; RecieptEntity.County = 101; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "75"; RecieptEntity.StoreName = "Swicegoods Paper"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-15"); RecieptEntity.SalesTax = 6.78f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 103.58f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "76"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-15"); RecieptEntity.SalesTax = 11.44f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 174.89f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "77"; RecieptEntity.StoreName = "Fastenal"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-15"); RecieptEntity.SalesTax = 9.61f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 146.89f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "78"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-14"); RecieptEntity.SalesTax = 4.30f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 65.74f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "79"; RecieptEntity.StoreName = "Walmart"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-14"); RecieptEntity.SalesTax = 0.00f; RecieptEntity.FoodTax = 0.39f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 19.99f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "80"; RecieptEntity.StoreName = "Food Lion"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-14"); RecieptEntity.SalesTax = 0.00f; RecieptEntity.FoodTax = 0.86f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 43.76f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "81"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-14"); RecieptEntity.SalesTax = 4.16f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 63.59f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "82"; RecieptEntity.StoreName = "Earp's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-14"); RecieptEntity.SalesTax = 0.00f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 44.31f; RecieptEntity.County = 101; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "83"; RecieptEntity.StoreName = "Pops Country Store"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-11"); RecieptEntity.SalesTax = 5.60f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 85.55f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "84"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-12"); RecieptEntity.SalesTax = 21.03f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 321.41f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "85"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-13"); RecieptEntity.SalesTax = 10.82f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 165.40f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "86"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-12"); RecieptEntity.SalesTax = -23.92f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = -365.62f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "87"; RecieptEntity.StoreName = "Food Lion"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-18"); RecieptEntity.SalesTax = 0.00f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 144.05f; RecieptEntity.County = 101; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "88"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-17"); RecieptEntity.SalesTax = 0.00f; RecieptEntity.FoodTax = 2.24f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 114.14f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "89"; RecieptEntity.StoreName = "Sheetz"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-18"); RecieptEntity.SalesTax = 0.00f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 58.78f; RecieptEntity.County = 101; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "90"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-18"); RecieptEntity.SalesTax = 7.11f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 108.63f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "91"; RecieptEntity.StoreName = "Concrete Supply Company"; RecieptEntity.DateOfSale = DateTime.Parse("2012-07-21"); RecieptEntity.SalesTax = 562.83f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 8599.68f; RecieptEntity.County = 60; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "92"; RecieptEntity.StoreName = "GrandinRoad"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-11"); RecieptEntity.SalesTax = 0.00f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 373.32f; RecieptEntity.County = 101; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "93"; RecieptEntity.StoreName = "Sunbelt Rentals"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-14"); RecieptEntity.SalesTax = 71.61f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 1094.61f; RecieptEntity.County = 13; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "94"; RecieptEntity.StoreName = "Thermo King Central"; RecieptEntity.DateOfSale = DateTime.Parse("2012-07-14"); RecieptEntity.SalesTax = 12.20f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 180.47f; RecieptEntity.County = 60; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "95"; RecieptEntity.StoreName = "Hertz Equipment Rental"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-16"); RecieptEntity.SalesTax = 28.07f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 429.07f; RecieptEntity.County = 60; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "96"; RecieptEntity.StoreName = "WeGotLites"; RecieptEntity.DateOfSale = DateTime.Parse("2012-07-23"); RecieptEntity.SalesTax = 0.00f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 678.00f; RecieptEntity.County = 101; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "97"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-18"); RecieptEntity.SalesTax = -9.15f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = -139.81f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "98"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-19"); RecieptEntity.SalesTax = -10.10f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = -154.40f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "99"; RecieptEntity.StoreName = "Sheetz"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-17"); RecieptEntity.SalesTax = 0.00f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 50.31f; RecieptEntity.County = 101; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "100"; RecieptEntity.StoreName = "Sheetz"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-17"); RecieptEntity.SalesTax = 0.00f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 17.95f; RecieptEntity.County = 101; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "101"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-19"); RecieptEntity.SalesTax = 1.82f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 27.79f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "102"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-18"); RecieptEntity.SalesTax = 4.66f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 71.23f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "103"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-18"); RecieptEntity.SalesTax = 9.15f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 139.81f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "104"; RecieptEntity.StoreName = "Sunnyside Ice and Fuel Co., Inc"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-14"); RecieptEntity.SalesTax = 0.00f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 930.00f; RecieptEntity.County = 101; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "105"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-18"); RecieptEntity.SalesTax = 9.15f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 139.81f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "106"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-18"); RecieptEntity.SalesTax = 0.65f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 9.87f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "107"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-19"); RecieptEntity.SalesTax = 12.88f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 196.95f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "108"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-19"); RecieptEntity.SalesTax = 3.67f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 77.43f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "109"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-19"); RecieptEntity.SalesTax = 12.12f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 185.28f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "110"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-18"); RecieptEntity.SalesTax = 7.37f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 112.71f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "111"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-18"); RecieptEntity.SalesTax = 2.71f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 41.41f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "112"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-18"); RecieptEntity.SalesTax = 13.27f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 202.87f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "113"; RecieptEntity.StoreName = "Walmart"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-18"); RecieptEntity.SalesTax = 0.92f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 14.04f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "114"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-18"); RecieptEntity.SalesTax = 2.67f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 40.80f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "115"; RecieptEntity.StoreName = "Target.com"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-24"); RecieptEntity.SalesTax = 6.06f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 92.58f; RecieptEntity.County = 34; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "116"; RecieptEntity.StoreName = "Home Depot"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-19"); RecieptEntity.SalesTax = 1.40f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 21.36f; RecieptEntity.County = 13; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "117"; RecieptEntity.StoreName = "Home Depot"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-19"); RecieptEntity.SalesTax = 3.24f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 49.56f; RecieptEntity.County = 13; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "118"; RecieptEntity.StoreName = "Marathon"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-19"); RecieptEntity.SalesTax = 0.00f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 34.23f; RecieptEntity.County = 101; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "119"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-19"); RecieptEntity.SalesTax = 2.22f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 33.91f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "120"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-20"); RecieptEntity.SalesTax = 25.29f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 386.57f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "121"; RecieptEntity.StoreName = "Subway"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-20"); RecieptEntity.SalesTax = 0.00f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 36.27f; RecieptEntity.County = 101; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "122"; RecieptEntity.StoreName = "Chckfila"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-20"); RecieptEntity.SalesTax = 0.00f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 7.37f; RecieptEntity.County = 101; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "123"; RecieptEntity.StoreName = "Fastenal"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-20"); RecieptEntity.SalesTax = 3.84f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 58.75f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "124"; RecieptEntity.StoreName = "Ruehlen Supply Co"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-20"); RecieptEntity.SalesTax = 2.39f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 36.57f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "125"; RecieptEntity.StoreName = "Derrick Travel Plaza"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-21"); RecieptEntity.SalesTax = 0.00f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 30.01f; RecieptEntity.County = 101; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "126"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-21"); RecieptEntity.SalesTax = 1.04f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 15.94f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "127"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-22"); RecieptEntity.SalesTax = 2.64f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 40.38f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "128"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-22"); RecieptEntity.SalesTax = 1.39f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 21.31f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "129"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-22"); RecieptEntity.SalesTax = 0.73f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 11.11f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "130"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-23"); RecieptEntity.SalesTax = 5.44f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 83.20f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "131"; RecieptEntity.StoreName = "Staples"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-23"); RecieptEntity.SalesTax = 4.90f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 74.88f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "132"; RecieptEntity.StoreName = "Staples"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-23"); RecieptEntity.SalesTax = 2.13f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 30.49f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "133"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-23"); RecieptEntity.SalesTax = 6.69f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 102.33f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "134"; RecieptEntity.StoreName = "Rushco Food"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-23"); RecieptEntity.SalesTax = 0.00f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 39.52f; RecieptEntity.County = 101; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "135"; RecieptEntity.StoreName = "WilcoHess"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-23"); RecieptEntity.SalesTax = 0.00f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 75.00f; RecieptEntity.County = 101; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "136"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-22"); RecieptEntity.SalesTax = -0.46f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = -7.07f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "137"; RecieptEntity.StoreName = "Sheetz"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-24"); RecieptEntity.SalesTax = 0.00f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 50.37f; RecieptEntity.County = 101; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "138"; RecieptEntity.StoreName = "Sheetz"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-24"); RecieptEntity.SalesTax = 0.00f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 36.01f; RecieptEntity.County = 101; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "139"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-24"); RecieptEntity.SalesTax = 1.81f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 27.69f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "140"; RecieptEntity.StoreName = "Sherwin-Williams"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-23"); RecieptEntity.SalesTax = 19.99f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 305.51f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "141"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-19"); RecieptEntity.SalesTax = 6.96f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 106.33f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "142"; RecieptEntity.StoreName = "Sam's Club"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-18"); RecieptEntity.SalesTax = 12.04f; RecieptEntity.FoodTax = 2.46f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 307.29f; RecieptEntity.County = 13; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "143"; RecieptEntity.StoreName = "Walmart"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-17"); RecieptEntity.SalesTax = 2.94f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 150.02f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "144"; RecieptEntity.StoreName = "Walmart"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-14"); RecieptEntity.SalesTax = 1.33f; RecieptEntity.FoodTax = 1.51f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 97.19f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "145"; RecieptEntity.StoreName = "Sam's Club"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-15"); RecieptEntity.SalesTax = 2.16f; RecieptEntity.FoodTax = 0.78f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 72.92f; RecieptEntity.County = 13; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "146"; RecieptEntity.StoreName = "Rastaurant Depot"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-13"); RecieptEntity.SalesTax = 0.00f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 138.26f; RecieptEntity.County = 101; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "147"; RecieptEntity.StoreName = "WilcoHess"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-18"); RecieptEntity.SalesTax = 0.00f; RecieptEntity.FoodTax = 1.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 49.80f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "148"; RecieptEntity.StoreName = "Auto Zone"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-14"); RecieptEntity.SalesTax = 1.36f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 20.83f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "149"; RecieptEntity.StoreName = "Walmart"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-18"); RecieptEntity.SalesTax = 1.94f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 29.64f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "150"; RecieptEntity.StoreName = "Walmart"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-18"); RecieptEntity.SalesTax = 0.83f; RecieptEntity.FoodTax = 0.43f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 34.80f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "151"; RecieptEntity.StoreName = "Walmart"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-19"); RecieptEntity.SalesTax = 0.00f; RecieptEntity.FoodTax = 2.04f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 103.80f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "152"; RecieptEntity.StoreName = "Walmart"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-17"); RecieptEntity.SalesTax = 1.52f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 77.58f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "153"; RecieptEntity.StoreName = "Walmart"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-18"); RecieptEntity.SalesTax = 0.00f; RecieptEntity.FoodTax = 1.06f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 53.96f; RecieptEntity.County = 13; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "154"; RecieptEntity.StoreName = "Sandy's One Stop"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-19"); RecieptEntity.SalesTax = 0.40f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 20.30f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "155"; RecieptEntity.StoreName = "Subway"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-21"); RecieptEntity.SalesTax = 0.00f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 65.81f; RecieptEntity.County = 101; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "156"; RecieptEntity.StoreName = "Sunnyside Ice and Fuel Co., Inc"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-18"); RecieptEntity.SalesTax = 0.00f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 69.50f; RecieptEntity.County = 101; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "157"; RecieptEntity.StoreName = "Sam's Club"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-13"); RecieptEntity.SalesTax = 4.83f; RecieptEntity.FoodTax = 5.80f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 369.91f; RecieptEntity.County = 13; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "158"; RecieptEntity.StoreName = "Trane"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-10"); RecieptEntity.SalesTax = 0.00f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 16481.00f; RecieptEntity.County = 101; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "159"; RecieptEntity.StoreName = "The Glass Shop"; RecieptEntity.DateOfSale = DateTime.Parse("2012-07-16"); RecieptEntity.SalesTax = 0.00f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 1752.00f; RecieptEntity.County = 101; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "160"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-24"); RecieptEntity.SalesTax = 3.57f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 54.64f; RecieptEntity.County = 13; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "161"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-23"); RecieptEntity.SalesTax = 3.53f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 53.90f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); RecieptEntity = new RecieptEntity(); RecieptEntity.RIF = "162"; RecieptEntity.StoreName = "Lowe's"; RecieptEntity.DateOfSale = DateTime.Parse("2012-08-24"); RecieptEntity.SalesTax = 0.93f; RecieptEntity.FoodTax = 0.00f; RecieptEntity.ProjectID = project.ID; RecieptEntity.SalesAmount = 14.15f; RecieptEntity.County = 80; RecieptEntity.Notes = ""; db.Reciepts.Add(RecieptEntity); db.SaveChanges(); }