260322:1648 Correct Coresspondence / Doing RFA / Correct CI
CI Pipeline / build (push) Failing after 12m41s
Build and Deploy / deploy (push) Failing after 2m44s

This commit is contained in:
admin
2026-03-22 16:48:12 +07:00
parent e5deedb42e
commit 11984bfa29
683 changed files with 105251 additions and 29068 deletions
+21 -21
View File
@@ -1,4 +1,4 @@
import { DashboardStats, ActivityLog, PendingTask } from "@/types/dashboard";
import { DashboardStats, ActivityLog, PendingTask } from '@/types/dashboard';
export const dashboardApi = {
getStats: async (): Promise<DashboardStats> => {
@@ -18,27 +18,27 @@ export const dashboardApi = {
return [
{
id: 1,
user: { name: "John Doe", initials: "JD" },
action: "Created RFA",
description: "RFA-001: Concrete Pouring Request",
user: { name: 'John Doe', initials: 'JD' },
action: 'Created RFA',
description: 'RFA-001: Concrete Pouring Request',
createdAt: new Date(Date.now() - 1000 * 60 * 30).toISOString(), // 30 mins ago
targetUrl: "/rfas/1",
targetUrl: '/rfas/1',
},
{
id: 2,
user: { name: "Jane Smith", initials: "JS" },
action: "Approved Correspondence",
description: "COR-005: Site Safety Report",
user: { name: 'Jane Smith', initials: 'JS' },
action: 'Approved Correspondence',
description: 'COR-005: Site Safety Report',
createdAt: new Date(Date.now() - 1000 * 60 * 60 * 2).toISOString(), // 2 hours ago
targetUrl: "/correspondences/5",
targetUrl: '/correspondences/5',
},
{
id: 3,
user: { name: "Mike Johnson", initials: "MJ" },
action: "Uploaded Drawing",
description: "A-101: Ground Floor Plan Rev B",
user: { name: 'Mike Johnson', initials: 'MJ' },
action: 'Uploaded Drawing',
description: 'A-101: Ground Floor Plan Rev B',
createdAt: new Date(Date.now() - 1000 * 60 * 60 * 5).toISOString(), // 5 hours ago
targetUrl: "/drawings/1",
targetUrl: '/drawings/1',
},
];
},
@@ -48,19 +48,19 @@ export const dashboardApi = {
return [
{
id: 1,
title: "Review RFA-002",
description: "Approval required for steel reinforcement",
title: 'Review RFA-002',
description: 'Approval required for steel reinforcement',
daysOverdue: 2,
url: "/rfas/2",
priority: "HIGH",
url: '/rfas/2',
priority: 'HIGH',
},
{
id: 2,
title: "Approve Monthly Report",
description: "January 2025 Progress Report",
title: 'Approve Monthly Report',
description: 'January 2025 Progress Report',
daysOverdue: 0,
url: "/correspondences/10",
priority: "MEDIUM",
url: '/correspondences/10',
priority: 'MEDIUM',
},
];
},