PlanTempusApp/PlanTempus.Application/Features/Services/Components/ServiceCategoryGroup/Default.cshtml

20 lines
699 B
Text
Raw Normal View History

@model PlanTempus.Application.Features.Services.Components.ServiceCategoryViewModel
<swp-category-row data-category="@Model.Id" data-expanded="true">
<swp-data-table-cell>
<swp-category-toggle>
<i class="ph ph-caret-down"></i>
</swp-category-toggle>
<span class="category-name">@Model.Name</span>
<span class="category-count">(@Model.Services.Count)</span>
</swp-data-table-cell>
<swp-data-table-cell></swp-data-table-cell>
<swp-data-table-cell></swp-data-table-cell>
<swp-data-table-cell></swp-data-table-cell>
</swp-category-row>
@foreach (var service in Model.Services)
{
@await Component.InvokeAsync("ServiceRow", service)
}