Fix receipt printing

Needed to print receipts before marking order sections as downloaded. Also needed to take the first item from the receipts array.