feat(admin-center): implement organization calculation method settings
- Added functionality to update the organization's calculation method (hourly or man-days) in the Admin Center. - Created a new component for managing the calculation method, including UI elements for selection and saving changes. - Updated API service to handle the new endpoint for updating the calculation method. - Enhanced localization files to support new keys related to the calculation method settings. - Introduced a settings page to manage organization working days and hours alongside the calculation method.
This commit is contained in:
@@ -4,5 +4,29 @@
|
||||
"owner": "Organization Owner",
|
||||
"admins": "Organization Admins",
|
||||
"contactNumber": "Add Contact Number",
|
||||
"edit": "Edit"
|
||||
"edit": "Edit",
|
||||
"organizationWorkingDaysAndHours": "Organization Working Days & Hours",
|
||||
"workingDays": "Working Days",
|
||||
"workingHours": "Working Hours",
|
||||
"monday": "Monday",
|
||||
"tuesday": "Tuesday",
|
||||
"wednesday": "Wednesday",
|
||||
"thursday": "Thursday",
|
||||
"friday": "Friday",
|
||||
"saturday": "Saturday",
|
||||
"sunday": "Sunday",
|
||||
"hours": "hours",
|
||||
"saveButton": "Save",
|
||||
"saved": "Settings saved successfully",
|
||||
"errorSaving": "Error saving settings",
|
||||
"organizationCalculationMethod": "Organization Calculation Method",
|
||||
"calculationMethod": "Calculation Method",
|
||||
"hourlyRates": "Hourly Rates",
|
||||
"manDays": "Man Days",
|
||||
"saveChanges": "Save Changes",
|
||||
"hourlyCalculationDescription": "All project costs will be calculated using estimated hours × hourly rates",
|
||||
"manDaysCalculationDescription": "All project costs will be calculated using estimated man days × daily rates",
|
||||
"calculationMethodTooltip": "This setting applies to all projects in your organization",
|
||||
"calculationMethodUpdated": "Organization calculation method updated successfully",
|
||||
"calculationMethodUpdateError": "Failed to update calculation method"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user