feat(holiday-settings): implement organization holiday settings management
- Added SQL migration for creating organization holiday settings and state holidays tables with necessary constraints and indexes. - Implemented API endpoints in AdminCenterController for retrieving and updating organization holiday settings. - Updated admin-center API router to include routes for holiday settings management. - Enhanced localization files to support new holiday settings UI elements in multiple languages. - Improved holiday calendar component to display working days and integrate holiday settings.
This commit is contained in:
@@ -56,5 +56,17 @@
|
||||
"year": "Year",
|
||||
"import": "Import",
|
||||
"holidaysImported": "Successfully imported {{count}} holidays",
|
||||
"errorImportingHolidays": "Error importing holidays"
|
||||
"errorImportingHolidays": "Error importing holidays",
|
||||
"addCustomHoliday": "Add Custom Holiday",
|
||||
"officialHolidaysFrom": "Official holidays from",
|
||||
"workingDay": "Working Day",
|
||||
"holiday": "Holiday",
|
||||
"today": "Today",
|
||||
"cannotEditOfficialHoliday": "Cannot edit official holidays",
|
||||
"customHoliday": "Custom Holiday",
|
||||
"officialHoliday": "Official Holiday",
|
||||
"delete": "Delete",
|
||||
"deleteHolidayConfirm": "Are you sure you want to delete this holiday?",
|
||||
"yes": "Yes",
|
||||
"no": "No"
|
||||
}
|
||||
|
||||
@@ -13,5 +13,15 @@
|
||||
"sunday": "Sunday",
|
||||
"saveButton": "Save",
|
||||
"saved": "Settings saved successfully",
|
||||
"errorSaving": "Error saving settings"
|
||||
"errorSaving": "Error saving settings",
|
||||
"holidaySettings": "Holiday Settings",
|
||||
"country": "Country",
|
||||
"countryRequired": "Please select a country",
|
||||
"selectCountry": "Select country",
|
||||
"state": "State/Province",
|
||||
"selectState": "Select state/province (optional)",
|
||||
"autoSyncHolidays": "Automatically sync official holidays",
|
||||
"saveHolidaySettings": "Save Holiday Settings",
|
||||
"holidaySettingsSaved": "Holiday settings saved successfully",
|
||||
"errorSavingHolidaySettings": "Error saving holiday settings"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user