Overview
The host dashboard provides a comprehensive view of your tour business, allowing you to monitor reservations, track revenue, and manage your published tours from a centralized location.The dashboard is accessible at
/dashboard/main and requires authentication as a tour host.Dashboard Features
Key Metrics
The dashboard displays three primary statistics for each selected tour:Total Tickets
Total number of tickets sold for the selected event
Reservations
Total reservations including all associated bookings
Total Sales
Accumulated revenue from the event
Tour Selection
Use the dropdown selector to view statistics for a specific tour:Components/Pages/Dashboard/Index.razor
Reservation Table
The dashboard displays a paginated table of reservations for the selected tour:Table Columns
| Column | Description |
|---|---|
| # | Reservation ID |
| Cliente | Customer name with avatar |
| Viaje | Travel date |
| Creada | Creation timestamp |
| Tickets | Number of tickets |
| Total | Amount paid |
| Pago | Payment status badge |
| Actions | View invoice, edit, cancel |
Expandable Rows
Click any reservation row to expand and view detailed ticket information:View Ticket Details
Expanded rows show individual tickets with:
- Ticket type name
- Quantity
- Unit price
- Total amount
- QR codes for validation
Actions Menu
Each reservation provides the following actions:View Invoice
Generate and view the invoice for the reservation:Components/Pages/Dashboard/Index.razor:206
Edit Reservation
Modify reservation details (date, contact info, etc.)Cancel Order
Cancel a reservation and restore ticket capacity:Cancelled reservations remain in the database but are marked with status 4.
QR Code Display
The dashboard includes a modal for viewing individual ticket QR codes:Navigate Tickets
Use the slider to navigate between individual tickets when multiple tickets of the same type exist
QR Code Generation
QR codes are generated using an external API:Loading Reservations
The dashboard loads reservations using theGetReservationsByTourAsync method:
Services/Tour/TourService.cs:1987
Payment Status Indicators
Reservations display different badges based on payment status:| Status Code | Label | Badge Class |
|---|---|---|
| 0 | Pendiente | badge--warning |
| 1 | Pagado | badge--success |
| 2 | Parcial | badge--info |
| 4 | Cancelado | badge--muted |
Mobile View
The dashboard includes a responsive mobile interface with:- Profile card display
- Quick action tiles
- Random tour discovery feature
- Simplified navigation
Related Resources
Managing Bookings
Learn how to manage and modify reservations
Invoices
Generate and download customer invoices
Statistics
View detailed revenue analytics