diff --git a/nginx/html/index.html b/nginx/html/index.html index d531849..d2c5530 100644 --- a/nginx/html/index.html +++ b/nginx/html/index.html @@ -73,7 +73,7 @@ - - + + diff --git a/nginx/html/js/dashboard.js b/nginx/html/js/dashboard.js index 0f13b9f..aabb7b3 100644 --- a/nginx/html/js/dashboard.js +++ b/nginx/html/js/dashboard.js @@ -94,8 +94,8 @@ async function loadDashboard() { document.getElementById('s-30d').textContent = stats.total_eggs_30d; document.getElementById('s-avg-day').textContent = stats.avg_eggs_per_day_30d ?? '—'; document.getElementById('s-avg-hen').textContent = stats.avg_eggs_per_hen_day_30d ?? '—'; - document.getElementById('s-cpe').textContent = fmtMoneyFull(budget.cost_per_egg); - document.getElementById('s-cpe-30d').textContent = fmtMoneyFull(budget.cost_per_egg_30d); + document.getElementById('s-cpe').textContent = fmtMoney(budget.cost_per_egg); + document.getElementById('s-cpe-30d').textContent = fmtMoney(budget.cost_per_egg_30d); document.getElementById('s-cpd').textContent = fmtMoney(budget.cost_per_dozen); document.getElementById('s-cpd-30d').textContent = fmtMoney(budget.cost_per_dozen_30d);