Fix quantities typo in function

Ran a search through the DropBox folder. The only extension using this function is PDF Invoices