aboutsummaryrefslogtreecommitdiff
path: root/templates/payment/table.html
diff options
context:
space:
mode:
authorJoris2021-10-10 21:21:06 +0200
committerJoris2021-10-10 21:21:34 +0200
commit99466c6ceb848cf8147645f25deea89804b7b279 (patch)
treeba184c40a8d30bfc76dcb2882420822c5518e199 /templates/payment/table.html
parent6e695bf7a0253b4f6d1db78fa4310616d8a1357f (diff)
Filter payments by start and end date
Diffstat (limited to 'templates/payment/table.html')
-rw-r--r--templates/payment/table.html19
1 files changed, 15 insertions, 4 deletions
diff --git a/templates/payment/table.html b/templates/payment/table.html
index c187f17..b0a6cee 100644
--- a/templates/payment/table.html
+++ b/templates/payment/table.html
@@ -28,9 +28,13 @@
class="g-Paragraph g-Button__Validate"
href="/payment{{ payments_params(
page=query.page,
+ frequency=query.frequency,
name=query.name,
cost=query.cost,
- frequency=query.frequency
+ user=query.user,
+ category=query.category,
+ start_date=query.start_date,
+ end_date=query.end_date
) }}"
>
Ajouter un paiement
@@ -52,9 +56,13 @@
class="g-Table__Row {% if query.highlight == payment.id %} g-Table__Row--Highlight {% endif %}"
href="/payment/{{ payment.id }}{{ payments_params(
page=query.page,
+ frequency=query.frequency,
name=query.name,
cost=query.cost,
- frequency=query.frequency
+ user=query.user,
+ category=query.category,
+ start_date=query.start_date,
+ end_date=query.end_date
) }}"
>
<span class="g-Table__Cell">{{ payment.name }}</span>
@@ -82,10 +90,13 @@
{{ paging::paging(
url="/" ~ payments_params(
+ frequency=query.frequency,
name=query.name,
cost=query.cost,
- frequency=query.frequency,
- category=query.category
+ user=query.user,
+ category=query.category,
+ start_date=query.start_date,
+ end_date=query.end_date
),
page=page,
max_page=max_page