Products and services purchased

Hey - I am looking to have the products and services show items from paid invoices rather than quotes, I am guessing I need to change the code behind that section, though not quite sure where to look. Would anyone be able to let me know where to look please?

When the invoice is marked as Paid, does it update the Product/Service record? if not then start looking at Logic Hooks