aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/payment/create.html6
-rw-r--r--templates/payment/table.html19
-rw-r--r--templates/payment/table/search.html20
-rw-r--r--templates/payment/update.html18
4 files changed, 55 insertions, 8 deletions
diff --git a/templates/payment/create.html b/templates/payment/create.html
index 4fc3245..519729e 100644
--- a/templates/payment/create.html
+++ b/templates/payment/create.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
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
diff --git a/templates/payment/table/search.html b/templates/payment/table/search.html
index 8805cbb..e46b582 100644
--- a/templates/payment/table/search.html
+++ b/templates/payment/table/search.html
@@ -63,6 +63,26 @@
</select>
</label>
+ <label class="g-Form__Label">
+ Date de début
+ <input
+ type="date"
+ name="start_date"
+ class="g-Form__Input"
+ value="{{ query.start_date }}"
+ />
+ </label>
+
+ <label class="g-Form__Label">
+ Date de fin
+ <input
+ type="date"
+ name="end_date"
+ class="g-Form__Input"
+ value="{{ query.end_date }}"
+ />
+ </label>
+
<input type="submit" class="g-Button__Validate" value="Rechercher">
</form>
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"