<?php
require_once BASE_PATH . '/app/controllers/owner/OwnerBaseController.php';
require_once BASE_PATH . '/app/models/Booking.php';
class OwnerDashboardController extends OwnerBaseController { public function __construct() { $this->requireOwner(); } public function index(): void { $bookingModel = new Booking(); $stats = $bookingModel->ownerSummary(); $recentBookings = $bookingModel->recentForOwner(8); require BASE_PATH . '/app/views/owner/dashboard.php'; } }
