diff --git a/app/Views/sales/target_view.php b/app/Views/sales/target_view.php index 11bb95aa..abff15ad 100644 --- a/app/Views/sales/target_view.php +++ b/app/Views/sales/target_view.php @@ -110,8 +110,8 @@ body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans- .table-wrap tbody tr:last-child td { border-bottom: none; } .table-wrap tbody tr:hover td { background: #fafafa; } /* Empty row fix for modal table */ -.table-wrap tbody tr.empty-row { display: table-row; } -.table-wrap tbody tr.empty-row td { padding: 0 !important; border: none !important; text-align: center;} +/* .table-wrap tbody tr.empty-row { display: table-row; } +.table-wrap tbody tr.empty-row td { padding: 0 !important; border: none !important; text-align: center;} */ /* ═══════════════════════════════════════════ BUTTONS @@ -298,7 +298,14 @@ body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans- - No targets added yet. + + +
+
🎯
+

No targets added yet.

+
+ + @@ -445,7 +452,7 @@ body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans- ────────────────────────────────────────── */ async function renderDetailTable(userId) { const tbody = document.getElementById('detailTableBody'); - tbody.innerHTML = 'Loading...'; + tbody.innerHTML = `⏳ Loading targets...`; try { const res = await fetch(`${API}/targets/user/${userId}`); @@ -453,7 +460,7 @@ body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans- const records = json.data || []; if (records.length === 0) { - tbody.innerHTML = 'No targets added yet.'; + tbody.innerHTML = '
🎯

No targets added yet.

'; return; } // records.sort((a, b) => b.id - a.id);