remove hook_cdntaxreceipts_eligibleForReceiptSQL, replace with a PHP-only version