Skip to content

Commit

Permalink
UICIRC-983: Rename hours to minutes in reminder fees (#1078)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkuklis authored Oct 4, 2023
1 parent 003c34c commit 22f0b66
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ export const closingTypesMap = {
};

export const timeUnitsMap = {
HOUR: 'hour',
MINUTE: 'minute',
DAY: 'day',
WEEK: 'week',
};
Expand Down Expand Up @@ -411,8 +411,8 @@ export const closedLoansRules = {

export const timeUnits = [
{
value: timeUnitsMap.HOUR,
label: 'ui-circulation.settings.finePolicy.reminderFees.timeUnit.hours',
value: timeUnitsMap.MINUTE,
label: 'ui-circulation.settings.finePolicy.reminderFees.timeUnit.minutes',
},
{
value: timeUnitsMap.DAY,
Expand Down
1 change: 1 addition & 0 deletions translations/ui-circulation/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,7 @@
"settings.finePolicy.reminderFees.selectNoticeMethod": "Select notice method",
"settings.finePolicy.reminderFees.selectNoticeTemplate": "Select notice template",
"settings.finePolicy.reminderFees.selectBlockTemplate": "Select block template",
"settings.finePolicy.reminderFees.timeUnit.minutes": "Minute(s)",
"settings.finePolicy.reminderFees.timeUnit.hours": "Hour(s)",
"settings.finePolicy.reminderFees.timeUnit.days": "Day(s)",
"settings.finePolicy.reminderFees.timeUnit.weeks": "Week(s)",
Expand Down

0 comments on commit 22f0b66

Please sign in to comment.