diff --git a/src/main/resources/templates/reports/reports.ftl b/src/main/resources/templates/reports/reports.ftl index e6d01c6f147f52b1762b1da3cf0539903b0000c9..7d3a8757327e63d4b8c796a6cd68e87861461d40 100644 --- a/src/main/resources/templates/reports/reports.ftl +++ b/src/main/resources/templates/reports/reports.ftl @@ -17,7 +17,7 @@ <main> <div class="card main-card background-color"> <#import "../helpers/globalDatePicker.ftl" as datePicker> - <@datePicker.datePicker currentDate springMacroRequestContext.getRequestUri()/> + <@datePicker.datePicker currentDate "/transactions"/> <br> diff --git a/src/main/resources/templates/transactions/transactions.ftl b/src/main/resources/templates/transactions/transactions.ftl index 50fc52389d962ee03587a1059d42ecfae653d191..63bbb697c06e8bc542f1854ec3639912f19d9163 100644 --- a/src/main/resources/templates/transactions/transactions.ftl +++ b/src/main/resources/templates/transactions/transactions.ftl @@ -18,7 +18,7 @@ <main> <div class="card main-card background-color"> <#import "../helpers/globalDatePicker.ftl" as datePicker> - <@datePicker.datePicker currentDate springMacroRequestContext.getRequestUri()/> + <@datePicker.datePicker currentDate "/transactions"/> <div class="container transaction-container"> <div class="row"> <div class="col s4">