w wydatkach domyslnie tylko z wydatkami >0

This commit is contained in:
Mateusz Gruszczyński
2025-08-18 00:16:26 +02:00
parent 04995f4ab4
commit 5d977c644b
2 changed files with 1 additions and 38 deletions

View File

@@ -75,15 +75,6 @@
</div>
</div>
<div class="d-flex justify-content-center mb-3">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" id="onlyWithExpenses">
<label class="form-check-label ms-2 text-white" for="onlyWithExpenses">
Pokaż tylko listy z wydatkami
</label>
</div>
</div>
<div class="d-flex justify-content-between align-items-center mb-2">
<div>
<button id="selectAllBtn" class="btn btn-sm btn-outline-light">Zaznacz wszystko</button>
@@ -123,15 +114,6 @@
<td>{{ '%.2f'|format(list.total_expense) }}</td>
</tr>
{% endfor %}
{% if list|length == 0 %}
<tr>
<td colspan="12" class="text-center py-4">
Brak list zakupowych do wyświetlenia
</td>
</tr>
{% endif %}
</tbody>
</table>
</div>