Assuming there is some more logic in the first lis...
# advancedpdf
m
Assuming there is some more logic in the first list and you can't just get the total amount from the record