Added the service project menu for mobile

This commit is contained in:
ashutosh.nehete 2025-11-12 17:45:14 +05:30
parent 8ce6f1c32f
commit 9af4c2279a

View File

@ -818,13 +818,21 @@ namespace Marco.Pms.Services.Controllers
{
response.Add(new MenuSectionApplicationVM
{
Id = Guid.NewGuid(),
Id = Guid.Parse("443d6444-250b-4164-89fd-bcd7cedd9e43"),
Name = "Documents",
Available = true,
MobileLink = "/dashboard/document-main-page"
});
}
response.Add(new MenuSectionApplicationVM
{
Id = Guid.Parse("7faddfe7-994b-4712-91c2-32ba44129d9b"),
Name = "Service Projects",
Available = true,
MobileLink = "/dashboard/service-projects"
});
// Step 3: Log success
response = response.Where(ms => !string.IsNullOrWhiteSpace(ms.MobileLink)).ToList();
_logger.LogInfo("Fetched sidebar menu successfully. Tenant: {TenantId}, EmployeeId: {EmployeeId}, SectionsReturned: {Count}",