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:
chamikaJ
2025-07-24 12:53:46 +05:30
parent 67a75685a9
commit 4b54f2cc17
28 changed files with 1033 additions and 142 deletions

View File

@@ -4,5 +4,29 @@
"owner": "Pronari i Organizatës",
"admins": "Administruesit e Organizatës",
"contactNumber": "Shto Numrin e Kontaktit",
"edit": "Redakto"
"edit": "Redakto",
"organizationWorkingDaysAndHours": "Ditët dhe Orët e Punës së Organizatës",
"workingDays": "Ditët e Punës",
"workingHours": "Orët e Punës",
"monday": "E Hënë",
"tuesday": "E Martë",
"wednesday": "E Mërkurë",
"thursday": "E Enjte",
"friday": "E Premte",
"saturday": "E Shtunë",
"sunday": "E Dielë",
"hours": "orë",
"saveButton": "Ruaj",
"saved": "Cilësimet u ruajtën me sukses",
"errorSaving": "Gabim gjatë ruajtjes së cilësimeve",
"organizationCalculationMethod": "Metoda e Llogaritjes së Organizatës",
"calculationMethod": "Metoda e Llogaritjes",
"hourlyRates": "Normat Orërore",
"manDays": "Ditët e Njeriut",
"saveChanges": "Ruaj Ndryshimet",
"hourlyCalculationDescription": "Të gjitha kostot e projektit do të llogariten duke përdorur orët e vlerësuara × normat orërore",
"manDaysCalculationDescription": "Të gjitha kostot e projektit do të llogariten duke përdorur ditët e vlerësuara të njeriut × normat ditore",
"calculationMethodTooltip": "Ky cilësim zbatohet për të gjitha projektet në organizatën tuaj",
"calculationMethodUpdated": "Metoda e llogaritjes së organizatës u përditësua me sukses",
"calculationMethodUpdateError": "Dështoi përditësimi i metodës së llogaritjes"
}