sortowanie_w_mass_add #10

Merged
gru merged 90 commits from sortowanie_w_mass_add into master 2025-09-02 17:08:55 +02:00
Showing only changes of commit 372bd8eb20 - Show all commits

View File

@@ -7,7 +7,7 @@ document.addEventListener("DOMContentLoaded", function () {
window.selectedCategoryId = "";
}
function loadExpenses(range = "last30days", startDate = null, endDate = null) {
function loadExpenses(range = "currentmonth", startDate = null, endDate = null) {
let url = '/expenses_data?range=' + range;
const showAllCheckbox = document.getElementById("showAllLists");
@@ -15,7 +15,7 @@ document.addEventListener("DOMContentLoaded", function () {
url += showAllCheckbox.checked ? '&show_all=true' : '&show_all=false';
} else {
url += '&show_all=true';
}
}
if (startDate && endDate) {
url += `&start_date=${startDate}&end_date=${endDate}`;