diff --git a/app/templates/dashboard/fm.html b/app/templates/dashboard/fm.html
index 894b26d..5e5e89c 100644
--- a/app/templates/dashboard/fm.html
+++ b/app/templates/dashboard/fm.html
@@ -228,11 +228,11 @@
under24h: active.filter(t => (now - new Date(t.created_at)) < 24 * 60 * 60 * 1000).length,
oneToTwoDays: active.filter(t => {
const diff = (now - new Date(t.created_at)) / (1000 * 60 * 60 * 24);
- return diff >= 1 && diff < 2;
+ return diff >= 1 && diff < 3;
}).length,
threeToFiveDays: active.filter(t => {
const diff = (now - new Date(t.created_at)) / (1000 * 60 * 60 * 24);
- return diff >= 2 && diff < 5;
+ return diff >= 3 && diff < 5;
}).length,
overFiveDays: active.filter(t => (now - new Date(t.created_at)) / (1000 * 60 * 60 * 24) >= 5).length,
};
diff --git a/app/templates/tickets/detail.html b/app/templates/tickets/detail.html
index b722ec5..f3ddbcb 100644
--- a/app/templates/tickets/detail.html
+++ b/app/templates/tickets/detail.html
@@ -328,21 +328,17 @@
},
async loadTechnicians() {
- // Load all users and filter for Tech role
- try {
- const me = await app().apiGet('/api/auth/me');
- // Users list not exposed via API directly, so use a known list
- // In a real system we'd have GET /api/users
- this.technicians = [
- { id: 9, full_name: 'Prosper' },
- { id: 10, full_name: 'Sam' },
- { id: 11, full_name: 'Steven' },
- { id: 12, full_name: 'Junior (Samuel)' },
- { id: 13, full_name: 'Francis' },
- { id: 14, full_name: 'Desmond Afful' },
- { id: 15, full_name: 'Afful' },
- ];
- } catch (e) { console.error('Tech load error', e); }
+ // Users list not exposed via API directly, so use a known list
+ // In a real system we'd have GET /api/users
+ this.technicians = [
+ { id: 9, full_name: 'Prosper' },
+ { id: 10, full_name: 'Sam' },
+ { id: 11, full_name: 'Steven' },
+ { id: 12, full_name: 'Junior (Samuel)' },
+ { id: 13, full_name: 'Francis' },
+ { id: 14, full_name: 'Desmond Afful' },
+ { id: 15, full_name: 'Afful' },
+ ];
},
async submitStatusUpdate() {