upskill-event-manager/wordpress-dev/wordpress/wp-content/plugins/hvac-community-events/includes
bengizmo 8121815ded fix: Update dashboard data queries to use meta relationships for revenue
- Fixed get_total_tickets_sold() to use _tribe_tpp_event meta instead of post_parent
- Fixed get_total_revenue() to check multiple price meta keys (_tribe_tpp_ticket_price, _paid_price, _tribe_tpp_price)
- Updated events table queries to properly calculate sold tickets and revenue using meta relationships
- TEC doesn't use post_parent for attendee-event relationships, it uses postmeta

This fixes the issue where ticket sales and revenue numbers were not showing in the dashboard.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-30 15:52:30 -06:00
..
admin feat: Enhanced test data creation and login system improvements 2025-05-22 15:54:15 -03:00
certificates feat: Enhance certificate design with logo, trainer name, and improved attendee name retrieval 2025-05-24 14:57:28 -03:00
community Fix dashboard data inconsistency and enhance test suite with WP API 2025-05-22 19:24:18 -03:00
helpers feat: Add comprehensive attendee profile feature with tests 2025-05-24 19:23:33 -03:00
zoho feat: Add Zoho CRM diagnostic and setup tools 2025-05-21 11:22:25 -03:00
class-attendee-profile.php refactor: Simplify attendee profile page UI/UX 2025-05-24 20:08:23 -03:00
class-event-author-fixer.php feat: Add Zoho CRM integration with staging mode protection 2025-05-19 13:17:44 -03:00
class-event-form-handler.php feat: Add Zoho CRM integration with staging mode protection 2025-05-19 13:17:44 -03:00
class-hvac-community-events.php fix: Fix manage-event page shortcode rendering 2025-05-30 10:59:33 -06:00
class-hvac-dashboard-data-fixed.php feat: Add Zoho CRM integration with staging mode protection 2025-05-19 13:17:44 -03:00
class-hvac-dashboard-data-refactored.php feat: Add Zoho CRM integration with staging mode protection 2025-05-19 13:17:44 -03:00
class-hvac-dashboard-data.php fix: Update dashboard data queries to use meta relationships for revenue 2025-05-30 15:52:30 -06:00
class-hvac-dashboard-data.php.backup fix: Complete Generate Certificates page functionality and attendee display 2025-05-23 07:04:15 -03:00
class-hvac-dashboard.php fix: Dashboard pagination display and AJAX handler syntax error 2025-05-30 12:50:27 -06:00
class-hvac-form-builder.php feat: Add Zoho CRM integration with staging mode protection 2025-05-19 13:17:44 -03:00
class-hvac-help-system.php feat: Update help system with clearer content and recent improvements 2025-05-24 16:36:28 -03:00
class-hvac-logger.php feat: Add Zoho CRM integration with staging mode protection 2025-05-19 13:17:44 -03:00
class-hvac-manage-event.php fix: Fix manage-event page shortcode rendering 2025-05-30 10:59:33 -06:00
class-hvac-registration.php feat: Add trainer profile editing functionality 2025-05-20 09:47:22 -03:00
class-hvac-roles.php fix: Resolve redirect loop when WordPress admin accesses HVAC dashboard 2025-05-22 15:59:33 -03:00
class-hvac-security.php feat: Add Zoho CRM integration with staging mode protection 2025-05-19 13:17:44 -03:00
class-hvac-settings-refactored.php feat: Add Zoho CRM integration with staging mode protection 2025-05-19 13:17:44 -03:00
class-hvac-settings.php feat: Add Trainer Login link to admin sidebar menu 2025-05-19 17:40:23 -03:00