// custom/modules/AOS_Invoices/logic_hooks.php