My table in excel is as below:
id name expense value
1 a e1 10
1 a e1 20
2 b e1 15
2 b e2 20
I need to create a pdf saying " Dear Mr. a, your expenses on e1 is 30 & the total expense is the sum of 30" and save it as 1.pdf (id.pdf)
and another pdf saying " Dear Mr.b, your expense on e1 is 15 & e2 is 20 & the total expense is the sum of 35" and save it as 2.pdf(id)
Bookmarks