This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user