This commit is contained in:
2022-06-18 02:16:35 +00:00
parent 4a27b638c2
commit 1891a6dab7
3 changed files with 26 additions and 3 deletions

View File

@@ -11,9 +11,10 @@ namespace AyaNovaQBI
public static List<InvoiceableItem> GetInvoiceableItems()
{
var random = new Random();
var l = new List<InvoiceableItem>();
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 });
l.Add(new InvoiceableItem { CustomerId = 1, Linked = random.Next(2) == 1, Project = "project blah", ServiceDate = DateTime.Now.ToString("s"), ServiceNumber = (40+i).ToString(), Status = "Waiting to be invoiced and just sitting there otherwise", StatusColor = "FF00FFAA", WorkorderId = 4 });
return l;
}