Hello,
can you please help me with my problem. I need to render bill for my company, and i have managed to create bill
with placeholders and document.Replace, but now i have to render list in my bill.
I have data like this:
List<Billing>()
{
new Billing()
{
ClientId = 1,
ObjectIdExternal = 12887,
ClientVAT = 789456,
Kbr = "70 59",
ClientName = "Joseph Smith",
BillingAccountWasteContainers = new List<BillingAccountWasteContainer>()
{
new BillingAccountWasteContainer()
{
WasteId = 1,
Quantity = 7,
Volumen = 180
},
new BillingAccountWasteContainer()
{
WasteId = 2,
Quantity = 5,
Volumen = 550
}
}
},
new Billing()
{
ClientId = 2,
ObjectIdExternal = 123437,
ClientVAT = 711456,
Kbr = "73 22",
ClientName = Steve Tailor",
BillingAccountWasteContainers = new List<BillingAccountWasteContainer>()
{
new BillingAccountWasteContainer()
{
WasteId = 3,
Quantity = 7,
Volumen = 320
},
new BillingAccountWasteContainer()
{
WasteId = 4,
Quantity = 7,
Volumen = 640
}
}
}
}
How from this data i can get something like this file in attachment.
Thank you very much in advance,
Danilo