(admin) minor fixes to timesheets view

This commit is contained in:
Andrea Vos 2025-01-02 12:12:48 +01:00
parent adff6efe7a
commit 932657c1b4
2 changed files with 4 additions and 3 deletions

View File

@ -87,7 +87,6 @@
</div>
<section>
<Debug :v="transferMethod" />
<p>
<strong>Transfer method:</strong>
<span v-for="(label, value) in transferMethods" class="form-check form-check-inline">

View File

@ -53,6 +53,8 @@ export const TRANSFER_METHODS = {
export const PERIODS = {
'2020-2022': [2020, 1, 2022, 12],
'2023': [2023, 1, 2023, 12],
'previous month': [now.year, now.month, now.year, now.month],
'current month': [prevMonth.year, prevMonth.month, prevMonth.year, prevMonth.month],
'2024': [2024, 1, 2024, 12],
'2025': [2025, 1, 2025, 12],
'previous month': [prevMonth.year, prevMonth.month, prevMonth.year, prevMonth.month],
'current month': [now.year, now.month, now.year, now.month],
};