Introduces reusable view components for bookings and notifications Implements dynamic rendering of booking items and lists Adds corresponding CSS styles for new dashboard components Enhances dashboard user interface with interactive elements
17 lines
833 B
Text
17 lines
833 B
Text
@model PlanTempus.Application.Features.Dashboard.Components.BookingItemViewModel
|
|
|
|
<swp-booking-item data-key="@Model.Key" class="@Model.Status">
|
|
<swp-booking-time>
|
|
<swp-time-start>@Model.TimeStart</swp-time-start>
|
|
<swp-time-end>@Model.TimeEnd</swp-time-end>
|
|
</swp-booking-time>
|
|
<swp-booking-indicator class="@Model.IndicatorColor"></swp-booking-indicator>
|
|
<swp-booking-details>
|
|
<swp-booking-service>@Model.Service</swp-booking-service>
|
|
<swp-booking-customer>@Model.CustomerName</swp-booking-customer>
|
|
</swp-booking-details>
|
|
<swp-booking-employee title="@Model.EmployeeName">
|
|
<swp-avatar-small>@Model.EmployeeInitials</swp-avatar-small>
|
|
</swp-booking-employee>
|
|
<swp-booking-status class="@Model.Status">@Model.StatusText</swp-booking-status>
|
|
</swp-booking-item>
|