[bug] invoice paid confirmation was only being prompted for on first item as it was incorrectly using an #id rather than the .class