adding download of attachments to receipt page.

note: needs to be optimised to not download unnecessary files from other
items or files that have already been downloaded