This commit is contained in:
2022-06-18 01:43:24 +00:00
parent ab28b85e14
commit 4a27b638c2
7 changed files with 146 additions and 3 deletions

View File

@@ -12,10 +12,18 @@ namespace AyaNovaQBI
public static List<InvoiceableItem> GetInvoiceableItems()
{
var l = new List<InvoiceableItem>();
for(int i = 0; i < 10; i++)
l.Add(new InvoiceableItem { CustomerId = 1, Linked = true, Project = "project blah", ServiceDate = new DateTime(), ServiceNumber = "44", Status = "Waiting to be invoiced", StatusColor = "FF00FFAA", WorkorderId = 4 });
for (int i = 0; i < 10; i++)
l.Add(new InvoiceableItem { CustomerId = 1, Linked = true, Project = "project blah", ServiceDate = DateTime.Now.ToString("s"), ServiceNumber = "44", Status = "Waiting to be invoiced and just sitting there otherwise", StatusColor = "FF00FFAA", WorkorderId = 4 });
return l;
}
public static List<NameIdItem> GetCustomersWithInvoiceableItems()
{
var l = new List<NameIdItem>();
for (int i = 0; i < 10; i++)
l.Add(new NameIdItem { Id = i, Name = "Customer " + i.ToString() });
return l;
}
}
}