From 99466c6ceb848cf8147645f25deea89804b7b279 Mon Sep 17 00:00:00 2001 From: Joris Date: Sun, 10 Oct 2021 21:21:06 +0200 Subject: Filter payments by start and end date --- templates/payment/update.html | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'templates/payment/update.html') diff --git a/templates/payment/update.html b/templates/payment/update.html index 002117e..07549de 100644 --- a/templates/payment/update.html +++ b/templates/payment/update.html @@ -12,9 +12,13 @@ class="g-Link g-Media__Large" href="/{{ 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 ) }}" > Retour aux paiements @@ -35,9 +39,13 @@ class="g-Form" action="/payment/{{ payment.id }}/update{{ 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, highlight=query.highlight ) }}" method="POST" @@ -128,9 +136,13 @@ class="g-Form" action="/payment/{{ payment.id }}/delete{{ 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, highlight=query.highlight ) }}" method="POST" -- cgit v1.2.3