podzial dzienny
This commit is contained in:
@@ -171,4 +171,11 @@ document.addEventListener("DOMContentLoaded", function () {
|
||||
if (document.getElementById('chart-tab').classList.contains('active')) {
|
||||
loadExpenses("currentmonth");
|
||||
}
|
||||
|
||||
document.getElementById('toggleDailySplit').addEventListener('click', function() {
|
||||
// Zmień typ podziału na dzienny i odśwież dane wykresu
|
||||
currentRangeType = 'daily';
|
||||
refreshChart();
|
||||
});
|
||||
|
||||
});
|
||||
|
Reference in New Issue
Block a user