Typo in purchase_refund, resulting in a 'general' type instead of 'supplier'