@open-mercato/core 0.6.7-develop.6606.1.3b1ec9b1ea → 0.6.7-develop.6621.1.cdbe9dee3d
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +1 -1
- package/dist/modules/auth/api/session/refresh.js +12 -11
- package/dist/modules/auth/api/session/refresh.js.map +2 -2
- package/dist/modules/auth/lib/rateLimitCheck.js +4 -4
- package/dist/modules/auth/lib/rateLimitCheck.js.map +2 -2
- package/dist/modules/catalog/api/categories/route.js +8 -14
- package/dist/modules/catalog/api/categories/route.js.map +2 -2
- package/dist/modules/catalog/api/tags/route.js +3 -10
- package/dist/modules/catalog/api/tags/route.js.map +2 -2
- package/dist/modules/customers/api/interactions/[id]/visibility/route.js +15 -17
- package/dist/modules/customers/api/interactions/[id]/visibility/route.js.map +2 -2
- package/dist/modules/customers/api/people/[id]/email-threads/route.js +6 -4
- package/dist/modules/customers/api/people/[id]/email-threads/route.js.map +2 -2
- package/dist/modules/customers/api/people/[id]/emails/route.js +19 -17
- package/dist/modules/customers/api/people/[id]/emails/route.js.map +2 -2
- package/dist/modules/customers/components/detail/CustomFieldValuesList.js +22 -5
- package/dist/modules/customers/components/detail/CustomFieldValuesList.js.map +2 -2
- package/dist/modules/customers/components/detail/create/CreateDealForm.js +5 -2
- package/dist/modules/customers/components/detail/create/CreateDealForm.js.map +2 -2
- package/dist/modules/customers/components/detail/customFieldUtils.js +10 -3
- package/dist/modules/customers/components/detail/customFieldUtils.js.map +2 -2
- package/dist/modules/directory/backend/directory/organizations/[id]/edit/page.meta.js +4 -2
- package/dist/modules/directory/backend/directory/organizations/[id]/edit/page.meta.js.map +2 -2
- package/dist/modules/directory/backend/directory/tenants/[id]/edit/page.meta.js +4 -2
- package/dist/modules/directory/backend/directory/tenants/[id]/edit/page.meta.js.map +2 -2
- package/dist/modules/integrations/api/[id]/credentials/route.js +10 -7
- package/dist/modules/integrations/api/[id]/credentials/route.js.map +2 -2
- package/dist/modules/integrations/api/[id]/health/route.js +6 -4
- package/dist/modules/integrations/api/[id]/health/route.js.map +2 -2
- package/dist/modules/integrations/api/[id]/route.js +4 -2
- package/dist/modules/integrations/api/[id]/route.js.map +2 -2
- package/dist/modules/integrations/api/[id]/state/route.js +7 -5
- package/dist/modules/integrations/api/[id]/state/route.js.map +2 -2
- package/dist/modules/integrations/api/[id]/version/route.js +7 -5
- package/dist/modules/integrations/api/[id]/version/route.js.map +2 -2
- package/dist/modules/integrations/api/logs/route.js +4 -2
- package/dist/modules/integrations/api/logs/route.js.map +2 -2
- package/dist/modules/integrations/api/route.js +4 -2
- package/dist/modules/integrations/api/route.js.map +2 -2
- package/dist/modules/integrations/api/umes-read.js +2 -1
- package/dist/modules/integrations/api/umes-read.js.map +2 -2
- package/dist/modules/integrations/lib/organization-scope.js +12 -0
- package/dist/modules/integrations/lib/organization-scope.js.map +7 -0
- package/dist/modules/payment_gateways/lib/gateway-service.js +10 -1
- package/dist/modules/payment_gateways/lib/gateway-service.js.map +2 -2
- package/dist/modules/sales/api/document-history/route.js +6 -9
- package/dist/modules/sales/api/document-history/route.js.map +2 -2
- package/dist/modules/sales/api/quotes/accept/route.js +3 -3
- package/dist/modules/sales/api/quotes/accept/route.js.map +2 -2
- package/dist/modules/sales/api/returns/[id]/route.js +6 -9
- package/dist/modules/sales/api/returns/[id]/route.js.map +2 -2
- package/dist/modules/sales/backend/sales/documents/[id]/page.js +6 -2
- package/dist/modules/sales/backend/sales/documents/[id]/page.js.map +2 -2
- package/dist/modules/sales/components/documents/AddressesSection.js +6 -4
- package/dist/modules/sales/components/documents/AddressesSection.js.map +2 -2
- package/dist/modules/sales/workflows.js +1 -1
- package/dist/modules/sales/workflows.js.map +1 -1
- package/dist/modules/workflows/api/definitions/[id]/route.js +10 -1
- package/dist/modules/workflows/api/definitions/[id]/route.js.map +2 -2
- package/dist/modules/workflows/lib/event-trigger-service.js +44 -3
- package/dist/modules/workflows/lib/event-trigger-service.js.map +2 -2
- package/package.json +7 -7
- package/src/modules/auth/api/session/refresh.ts +19 -11
- package/src/modules/auth/lib/rateLimitCheck.ts +4 -4
- package/src/modules/catalog/api/categories/route.ts +14 -16
- package/src/modules/catalog/api/tags/route.ts +6 -10
- package/src/modules/catalog/i18n/pl.json +9 -9
- package/src/modules/customer_accounts/i18n/pl.json +129 -129
- package/src/modules/customers/api/interactions/[id]/visibility/route.ts +24 -20
- package/src/modules/customers/api/people/[id]/email-threads/route.ts +10 -6
- package/src/modules/customers/api/people/[id]/emails/route.ts +25 -21
- package/src/modules/customers/components/detail/CustomFieldValuesList.tsx +28 -4
- package/src/modules/customers/components/detail/create/CreateDealForm.tsx +7 -2
- package/src/modules/customers/components/detail/customFieldUtils.ts +15 -3
- package/src/modules/data_sync/i18n/pl.json +68 -68
- package/src/modules/directory/backend/directory/organizations/[id]/edit/page.meta.ts +4 -2
- package/src/modules/directory/backend/directory/tenants/[id]/edit/page.meta.ts +4 -2
- package/src/modules/integrations/api/[id]/credentials/route.ts +10 -7
- package/src/modules/integrations/api/[id]/health/route.ts +6 -4
- package/src/modules/integrations/api/[id]/route.ts +4 -2
- package/src/modules/integrations/api/[id]/state/route.ts +7 -5
- package/src/modules/integrations/api/[id]/version/route.ts +7 -5
- package/src/modules/integrations/api/logs/route.ts +4 -2
- package/src/modules/integrations/api/route.ts +4 -2
- package/src/modules/integrations/api/umes-read.ts +2 -1
- package/src/modules/integrations/i18n/de.json +0 -76
- package/src/modules/integrations/i18n/en.json +0 -76
- package/src/modules/integrations/i18n/es.json +0 -76
- package/src/modules/integrations/i18n/pl.json +0 -76
- package/src/modules/integrations/lib/organization-scope.ts +27 -0
- package/src/modules/payment_gateways/lib/gateway-service.ts +12 -1
- package/src/modules/sales/api/document-history/route.ts +10 -9
- package/src/modules/sales/api/quotes/accept/route.ts +3 -3
- package/src/modules/sales/api/returns/[id]/route.ts +10 -9
- package/src/modules/sales/backend/sales/documents/[id]/page.tsx +26 -19
- package/src/modules/sales/components/documents/AddressesSection.tsx +8 -4
- package/src/modules/sales/i18n/pl.json +24 -24
- package/src/modules/sales/workflows.ts +1 -1
- package/src/modules/staff/i18n/pl.json +178 -178
- package/src/modules/workflows/api/definitions/[id]/route.ts +14 -1
- package/src/modules/workflows/i18n/pl.json +128 -128
- package/src/modules/workflows/lib/event-trigger-service.ts +87 -8
|
@@ -948,7 +948,7 @@
|
|
|
948
948
|
"staff.timesheets.errors.notOwner": "Możesz zarządzać tylko własnymi wpisami czasu.",
|
|
949
949
|
"staff.timesheets.errors.projectCodeDuplicate": "Projekt o tym kodzie już istnieje.",
|
|
950
950
|
"staff.timesheets.errors.projectNotFound": "Projekt czasowy nie został znaleziony lub jest niedostępny.",
|
|
951
|
-
"staff.timesheets.errors.projectsKpis": "
|
|
951
|
+
"staff.timesheets.errors.projectsKpis": "Nie udało się załadować wskaźników KPI projektów.",
|
|
952
952
|
"staff.timesheets.errors.segmentCreate": "Nie udało się utworzyć segmentu wpisu czasu.",
|
|
953
953
|
"staff.timesheets.errors.staffMemberNotFound": "Pracownik nie został znaleziony lub jest niedostępny.",
|
|
954
954
|
"staff.timesheets.errors.timerAlreadyRunning": "Inny licznik czasu jest już uruchomiony. Zatrzymaj go przed rozpoczęciem nowego.",
|
|
@@ -956,207 +956,207 @@
|
|
|
956
956
|
"staff.timesheets.errors.timerStart": "Nie udało się uruchomić czasomierza.",
|
|
957
957
|
"staff.timesheets.errors.timerStop": "Nie udało się zatrzymać czasomierza.",
|
|
958
958
|
"staff.timesheets.errors.updateMyProject": "Nie udało się zaktualizować widoczności projektu.",
|
|
959
|
-
"staff.timesheets.my.addRow.createProject": "
|
|
959
|
+
"staff.timesheets.my.addRow.createProject": "Utwórz nowy projekt",
|
|
960
960
|
"staff.timesheets.my.addRow.error": "Nie udało się dodać projektu. Spróbuj ponownie.",
|
|
961
|
-
"staff.timesheets.my.addRow.noProjects": "
|
|
962
|
-
"staff.timesheets.my.addRow.searchPlaceholder": "
|
|
963
|
-
"staff.timesheets.my.addRow.trigger": "
|
|
964
|
-
"staff.timesheets.my.calendar.lastWeek": "
|
|
965
|
-
"staff.timesheets.my.calendar.nextMonth": "
|
|
966
|
-
"staff.timesheets.my.calendar.open": "
|
|
967
|
-
"staff.timesheets.my.calendar.prevMonth": "
|
|
968
|
-
"staff.timesheets.my.calendar.thisWeek": "
|
|
969
|
-
"staff.timesheets.my.confirm_save.body": "
|
|
970
|
-
"staff.timesheets.my.confirm_save.title": "
|
|
961
|
+
"staff.timesheets.my.addRow.noProjects": "Brak przypisanych projektów",
|
|
962
|
+
"staff.timesheets.my.addRow.searchPlaceholder": "Szukaj po projekcie",
|
|
963
|
+
"staff.timesheets.my.addRow.trigger": "Dodaj wiersz",
|
|
964
|
+
"staff.timesheets.my.calendar.lastWeek": "Poprzedni tydzień",
|
|
965
|
+
"staff.timesheets.my.calendar.nextMonth": "Następny miesiąc",
|
|
966
|
+
"staff.timesheets.my.calendar.open": "Otwórz kalendarz",
|
|
967
|
+
"staff.timesheets.my.calendar.prevMonth": "Poprzedni miesiąc",
|
|
968
|
+
"staff.timesheets.my.calendar.thisWeek": "Ten tydzień",
|
|
969
|
+
"staff.timesheets.my.confirm_save.body": "Twoje wpisy w karcie czasu pracy zostaną zapisane.",
|
|
970
|
+
"staff.timesheets.my.confirm_save.title": "Zapisać zmiany?",
|
|
971
971
|
"staff.timesheets.my.createProfile": "Create Team Member Profile",
|
|
972
|
-
"staff.timesheets.my.daily_average": "
|
|
973
|
-
"staff.timesheets.my.daily_total": "
|
|
972
|
+
"staff.timesheets.my.daily_average": "Średnia dzienna",
|
|
973
|
+
"staff.timesheets.my.daily_total": "Suma dzienna",
|
|
974
974
|
"staff.timesheets.my.durationPlaceholder": "0",
|
|
975
|
-
"staff.timesheets.my.errors.load": "
|
|
976
|
-
"staff.timesheets.my.errors.save": "
|
|
977
|
-
"staff.timesheets.my.errors.updateAssignment": "
|
|
978
|
-
"staff.timesheets.my.list.addDescription": "
|
|
979
|
-
"staff.timesheets.my.list.noEntries": "
|
|
975
|
+
"staff.timesheets.my.errors.load": "Nie udało się załadować kart czasu pracy.",
|
|
976
|
+
"staff.timesheets.my.errors.save": "Nie udało się zapisać kart czasu pracy.",
|
|
977
|
+
"staff.timesheets.my.errors.updateAssignment": "Nie udało się zaktualizować projektów.",
|
|
978
|
+
"staff.timesheets.my.list.addDescription": "Dodaj opis",
|
|
979
|
+
"staff.timesheets.my.list.noEntries": "Brak wpisów w tym okresie.",
|
|
980
980
|
"staff.timesheets.my.list.saveError": "Nie udało się zapisać opisu. Spróbuj ponownie.",
|
|
981
|
-
"staff.timesheets.my.list.today": "
|
|
982
|
-
"staff.timesheets.my.list.yesterday": "
|
|
983
|
-
"staff.timesheets.my.loading": "
|
|
984
|
-
"staff.timesheets.my.noProfile": "
|
|
985
|
-
"staff.timesheets.my.noProfile.title": "
|
|
986
|
-
"staff.timesheets.my.noProjects": "
|
|
987
|
-
"staff.timesheets.my.noProjects.admin": "
|
|
988
|
-
"staff.timesheets.my.noProjects.createProject": "
|
|
989
|
-
"staff.timesheets.my.noProjects.employee": "
|
|
990
|
-
"staff.timesheets.my.noProjects.title": "
|
|
991
|
-
"staff.timesheets.my.noProjects.viewProjects": "
|
|
992
|
-
"staff.timesheets.my.project": "
|
|
981
|
+
"staff.timesheets.my.list.today": "Dziś",
|
|
982
|
+
"staff.timesheets.my.list.yesterday": "Wczoraj",
|
|
983
|
+
"staff.timesheets.my.loading": "Ładowanie kart czasu pracy...",
|
|
984
|
+
"staff.timesheets.my.noProfile": "Aby rejestrować czas, potrzebujesz profilu członka zespołu.",
|
|
985
|
+
"staff.timesheets.my.noProfile.title": "Skonfiguruj profil, aby zacząć rejestrować czas",
|
|
986
|
+
"staff.timesheets.my.noProjects": "Brak aktywnych projektów. Najpierw utwórz projekt.",
|
|
987
|
+
"staff.timesheets.my.noProjects.admin": "Utwórz projekt i przypisz siebie, aby zacząć rejestrować czas.",
|
|
988
|
+
"staff.timesheets.my.noProjects.createProject": "Utwórz projekt",
|
|
989
|
+
"staff.timesheets.my.noProjects.employee": "Poproś przełożonego o przypisanie do projektu.",
|
|
990
|
+
"staff.timesheets.my.noProjects.title": "Brak przypisanych projektów",
|
|
991
|
+
"staff.timesheets.my.noProjects.viewProjects": "Zobacz projekty",
|
|
992
|
+
"staff.timesheets.my.project": "Projekt",
|
|
993
993
|
"staff.timesheets.my.removeRow": "Usuń z siatki",
|
|
994
994
|
"staff.timesheets.my.removeRow.confirm": "Usunąć {projectName} z Twojej siatki? Możesz go ponownie dodać przez \"+ Dodaj wiersz\".",
|
|
995
995
|
"staff.timesheets.my.removeRow.error": "Nie udało się usunąć projektu. Spróbuj ponownie.",
|
|
996
|
-
"staff.timesheets.my.save_changes": "
|
|
997
|
-
"staff.timesheets.my.saved": "
|
|
998
|
-
"staff.timesheets.my.saving": "
|
|
996
|
+
"staff.timesheets.my.save_changes": "Zapisz zmiany",
|
|
997
|
+
"staff.timesheets.my.saved": "Zapisano kartę czasu pracy.",
|
|
998
|
+
"staff.timesheets.my.saving": "Zapisywanie...",
|
|
999
999
|
"staff.timesheets.my.status": "Status",
|
|
1000
|
-
"staff.timesheets.my.status_open": "
|
|
1001
|
-
"staff.timesheets.my.timer.noProjects": "
|
|
1002
|
-
"staff.timesheets.my.timer.placeholder": "
|
|
1003
|
-
"staff.timesheets.my.timer.searchProject": "
|
|
1004
|
-
"staff.timesheets.my.timer.selectProject": "
|
|
1005
|
-
"staff.timesheets.my.timer.start": "
|
|
1000
|
+
"staff.timesheets.my.status_open": "Otwarta",
|
|
1001
|
+
"staff.timesheets.my.timer.noProjects": "Nie znaleziono projektów",
|
|
1002
|
+
"staff.timesheets.my.timer.placeholder": "Nad czym pracujesz?",
|
|
1003
|
+
"staff.timesheets.my.timer.searchProject": "Szukaj projektów...",
|
|
1004
|
+
"staff.timesheets.my.timer.selectProject": "Projekt",
|
|
1005
|
+
"staff.timesheets.my.timer.start": "Uruchom stoper",
|
|
1006
1006
|
"staff.timesheets.my.timer.startError": "Nie udało się uruchomić licznika czasu",
|
|
1007
|
-
"staff.timesheets.my.timer.stop": "
|
|
1007
|
+
"staff.timesheets.my.timer.stop": "Zatrzymaj stoper",
|
|
1008
1008
|
"staff.timesheets.my.timer.stopError": "Nie udało się zatrzymać licznika czasu",
|
|
1009
|
-
"staff.timesheets.my.timerStart": "
|
|
1010
|
-
"staff.timesheets.my.timerStop": "
|
|
1011
|
-
"staff.timesheets.my.total": "
|
|
1012
|
-
"staff.timesheets.my.total_hours": "
|
|
1013
|
-
"staff.timesheets.my.unsaved": "
|
|
1014
|
-
"staff.timesheets.my.viewMode.monthly": "
|
|
1015
|
-
"staff.timesheets.my.viewMode.weekly": "
|
|
1016
|
-
"staff.timesheets.my.viewType.list": "
|
|
1017
|
-
"staff.timesheets.my.viewType.timesheet": "
|
|
1018
|
-
"staff.timesheets.my.weekTotal": "
|
|
1019
|
-
"staff.timesheets.my.working_days": "
|
|
1020
|
-
"staff.timesheets.nav.create_project": "
|
|
1021
|
-
"staff.timesheets.nav.edit_project": "
|
|
1022
|
-
"staff.timesheets.nav.my_timesheets": "
|
|
1023
|
-
"staff.timesheets.nav.project_details": "
|
|
1024
|
-
"staff.timesheets.nav.projects": "
|
|
1025
|
-
"staff.timesheets.projects.actions.add": "
|
|
1026
|
-
"staff.timesheets.projects.actions.addFirst": "+
|
|
1009
|
+
"staff.timesheets.my.timerStart": "Uruchom stoper",
|
|
1010
|
+
"staff.timesheets.my.timerStop": "Zatrzymaj stoper",
|
|
1011
|
+
"staff.timesheets.my.total": "Razem",
|
|
1012
|
+
"staff.timesheets.my.total_hours": "Łączna liczba godzin",
|
|
1013
|
+
"staff.timesheets.my.unsaved": "Niezapisane zmiany",
|
|
1014
|
+
"staff.timesheets.my.viewMode.monthly": "Miesięcznie",
|
|
1015
|
+
"staff.timesheets.my.viewMode.weekly": "Tygodniowo",
|
|
1016
|
+
"staff.timesheets.my.viewType.list": "Widok listy",
|
|
1017
|
+
"staff.timesheets.my.viewType.timesheet": "Karta czasu pracy",
|
|
1018
|
+
"staff.timesheets.my.weekTotal": "Suma tygodniowa",
|
|
1019
|
+
"staff.timesheets.my.working_days": "Dni robocze",
|
|
1020
|
+
"staff.timesheets.nav.create_project": "Utwórz projekt",
|
|
1021
|
+
"staff.timesheets.nav.edit_project": "Edytuj projekt",
|
|
1022
|
+
"staff.timesheets.nav.my_timesheets": "Moje karty czasu pracy",
|
|
1023
|
+
"staff.timesheets.nav.project_details": "Szczegóły projektu",
|
|
1024
|
+
"staff.timesheets.nav.projects": "Projekty",
|
|
1025
|
+
"staff.timesheets.projects.actions.add": "Dodaj projekt",
|
|
1026
|
+
"staff.timesheets.projects.actions.addFirst": "+ Dodaj pierwszy projekt",
|
|
1027
1027
|
"staff.timesheets.projects.actions.backToList": "Powrót do projektów",
|
|
1028
|
-
"staff.timesheets.projects.actions.delete": "
|
|
1029
|
-
"staff.timesheets.projects.actions.deleteConfirm": "
|
|
1030
|
-
"staff.timesheets.projects.actions.refresh": "
|
|
1031
|
-
"staff.timesheets.projects.actions.viewDetails": "
|
|
1032
|
-
"staff.timesheets.projects.active_employees": "
|
|
1033
|
-
"staff.timesheets.projects.add_employee": "
|
|
1034
|
-
"staff.timesheets.projects.detail.subtitle": "
|
|
1035
|
-
"staff.timesheets.projects.employees.addError": "
|
|
1036
|
-
"staff.timesheets.projects.employees.added": "
|
|
1037
|
-
"staff.timesheets.projects.employees.assignmentStartDate": "
|
|
1038
|
-
"staff.timesheets.projects.employees.department": "
|
|
1039
|
-
"staff.timesheets.projects.employees.empty": "
|
|
1040
|
-
"staff.timesheets.projects.employees.endDate": "
|
|
1041
|
-
"staff.timesheets.projects.employees.loading": "
|
|
1042
|
-
"staff.timesheets.projects.employees.noResults": "
|
|
1043
|
-
"staff.timesheets.projects.employees.remove": "
|
|
1044
|
-
"staff.timesheets.projects.employees.removeConfirm": "
|
|
1045
|
-
"staff.timesheets.projects.employees.removeError": "
|
|
1046
|
-
"staff.timesheets.projects.employees.removed": "
|
|
1047
|
-
"staff.timesheets.projects.employees.role": "
|
|
1048
|
-
"staff.timesheets.projects.employees.roleOnProject": "
|
|
1049
|
-
"staff.timesheets.projects.employees.rolePlaceholder": "
|
|
1050
|
-
"staff.timesheets.projects.employees.searchEmployee": "
|
|
1051
|
-
"staff.timesheets.projects.employees.selectEmployee": "
|
|
1052
|
-
"staff.timesheets.projects.employees.startDate": "
|
|
1028
|
+
"staff.timesheets.projects.actions.delete": "Usuń",
|
|
1029
|
+
"staff.timesheets.projects.actions.deleteConfirm": "Usunąć projekt „{{name}}”?",
|
|
1030
|
+
"staff.timesheets.projects.actions.refresh": "Odśwież",
|
|
1031
|
+
"staff.timesheets.projects.actions.viewDetails": "Zobacz szczegóły",
|
|
1032
|
+
"staff.timesheets.projects.active_employees": "Aktywni pracownicy",
|
|
1033
|
+
"staff.timesheets.projects.add_employee": "Dodaj pracownika",
|
|
1034
|
+
"staff.timesheets.projects.detail.subtitle": "Ustawienia projektu",
|
|
1035
|
+
"staff.timesheets.projects.employees.addError": "Nie udało się dodać pracownika.",
|
|
1036
|
+
"staff.timesheets.projects.employees.added": "Dodano pracownika.",
|
|
1037
|
+
"staff.timesheets.projects.employees.assignmentStartDate": "Data rozpoczęcia przypisania",
|
|
1038
|
+
"staff.timesheets.projects.employees.department": "Dział",
|
|
1039
|
+
"staff.timesheets.projects.employees.empty": "Nie przypisano jeszcze żadnych pracowników.",
|
|
1040
|
+
"staff.timesheets.projects.employees.endDate": "Koniec przypisania",
|
|
1041
|
+
"staff.timesheets.projects.employees.loading": "Ładowanie pracowników...",
|
|
1042
|
+
"staff.timesheets.projects.employees.noResults": "Nie znaleziono członków zespołu",
|
|
1043
|
+
"staff.timesheets.projects.employees.remove": "Usuń",
|
|
1044
|
+
"staff.timesheets.projects.employees.removeConfirm": "Usunąć tego pracownika z projektu?",
|
|
1045
|
+
"staff.timesheets.projects.employees.removeError": "Nie udało się usunąć pracownika.",
|
|
1046
|
+
"staff.timesheets.projects.employees.removed": "Usunięto pracownika.",
|
|
1047
|
+
"staff.timesheets.projects.employees.role": "Rola",
|
|
1048
|
+
"staff.timesheets.projects.employees.roleOnProject": "Rola w projekcie",
|
|
1049
|
+
"staff.timesheets.projects.employees.rolePlaceholder": "np. Programista, Projektant...",
|
|
1050
|
+
"staff.timesheets.projects.employees.searchEmployee": "Szukaj członków zespołu...",
|
|
1051
|
+
"staff.timesheets.projects.employees.selectEmployee": "Wybierz pracownika",
|
|
1052
|
+
"staff.timesheets.projects.employees.startDate": "Początek przypisania",
|
|
1053
1053
|
"staff.timesheets.projects.employees.status": "Status",
|
|
1054
|
-
"staff.timesheets.projects.employees.title": "
|
|
1055
|
-
"staff.timesheets.projects.errors.delete": "
|
|
1056
|
-
"staff.timesheets.projects.errors.fieldRequired": "
|
|
1057
|
-
"staff.timesheets.projects.errors.load": "
|
|
1058
|
-
"staff.timesheets.projects.errors.notFound": "
|
|
1059
|
-
"staff.timesheets.projects.errors.required": "
|
|
1060
|
-
"staff.timesheets.projects.errors.save": "
|
|
1061
|
-
"staff.timesheets.projects.form.actions.cancel": "
|
|
1062
|
-
"staff.timesheets.projects.form.actions.create": "
|
|
1063
|
-
"staff.timesheets.projects.form.actions.edit": "
|
|
1064
|
-
"staff.timesheets.projects.form.actions.save": "
|
|
1065
|
-
"staff.timesheets.projects.form.code": "
|
|
1054
|
+
"staff.timesheets.projects.employees.title": "Przypisani pracownicy",
|
|
1055
|
+
"staff.timesheets.projects.errors.delete": "Nie udało się usunąć projektu.",
|
|
1056
|
+
"staff.timesheets.projects.errors.fieldRequired": "Wymagane",
|
|
1057
|
+
"staff.timesheets.projects.errors.load": "Nie udało się załadować projektu.",
|
|
1058
|
+
"staff.timesheets.projects.errors.notFound": "Nie znaleziono projektu.",
|
|
1059
|
+
"staff.timesheets.projects.errors.required": "Nazwa i kod są wymagane.",
|
|
1060
|
+
"staff.timesheets.projects.errors.save": "Nie udało się zapisać projektu.",
|
|
1061
|
+
"staff.timesheets.projects.form.actions.cancel": "Anuluj",
|
|
1062
|
+
"staff.timesheets.projects.form.actions.create": "Utwórz",
|
|
1063
|
+
"staff.timesheets.projects.form.actions.edit": "Edytuj projekt",
|
|
1064
|
+
"staff.timesheets.projects.form.actions.save": "Zapisz",
|
|
1065
|
+
"staff.timesheets.projects.form.code": "Kod",
|
|
1066
1066
|
"staff.timesheets.projects.form.codePlaceholder": "PROJECT-001",
|
|
1067
1067
|
"staff.timesheets.projects.form.color": "Kolor projektu",
|
|
1068
|
-
"staff.timesheets.projects.form.colorAuto": "
|
|
1069
|
-
"staff.timesheets.projects.form.costCenter": "
|
|
1070
|
-
"staff.timesheets.projects.form.costCenterPlaceholder": "
|
|
1071
|
-
"staff.timesheets.projects.form.createTitle": "
|
|
1072
|
-
"staff.timesheets.projects.form.description": "
|
|
1073
|
-
"staff.timesheets.projects.form.descriptionPlaceholder": "
|
|
1074
|
-
"staff.timesheets.projects.form.editTitle": "
|
|
1075
|
-
"staff.timesheets.projects.form.groupDetails": "
|
|
1076
|
-
"staff.timesheets.projects.form.groupMain": "
|
|
1077
|
-
"staff.timesheets.projects.form.name": "
|
|
1078
|
-
"staff.timesheets.projects.form.namePlaceholder": "
|
|
1079
|
-
"staff.timesheets.projects.form.projectType": "
|
|
1080
|
-
"staff.timesheets.projects.form.projectTypePlaceholder": "
|
|
1081
|
-
"staff.timesheets.projects.form.startDate": "
|
|
1068
|
+
"staff.timesheets.projects.form.colorAuto": "Automatycznie",
|
|
1069
|
+
"staff.timesheets.projects.form.costCenter": "Centrum kosztów",
|
|
1070
|
+
"staff.timesheets.projects.form.costCenterPlaceholder": "Kod centrum kosztów",
|
|
1071
|
+
"staff.timesheets.projects.form.createTitle": "Utwórz projekt",
|
|
1072
|
+
"staff.timesheets.projects.form.description": "Opis",
|
|
1073
|
+
"staff.timesheets.projects.form.descriptionPlaceholder": "Opis projektu",
|
|
1074
|
+
"staff.timesheets.projects.form.editTitle": "Edytuj projekt",
|
|
1075
|
+
"staff.timesheets.projects.form.groupDetails": "Informacje dodatkowe",
|
|
1076
|
+
"staff.timesheets.projects.form.groupMain": "Szczegóły projektu",
|
|
1077
|
+
"staff.timesheets.projects.form.name": "Nazwa",
|
|
1078
|
+
"staff.timesheets.projects.form.namePlaceholder": "Nazwa projektu",
|
|
1079
|
+
"staff.timesheets.projects.form.projectType": "Typ projektu",
|
|
1080
|
+
"staff.timesheets.projects.form.projectTypePlaceholder": "np. Wewnętrzny, Klient, R&D",
|
|
1081
|
+
"staff.timesheets.projects.form.startDate": "Data rozpoczęcia",
|
|
1082
1082
|
"staff.timesheets.projects.form.status": "Status",
|
|
1083
|
-
"staff.timesheets.projects.inactive_employees": "
|
|
1084
|
-
"staff.timesheets.projects.loading": "
|
|
1085
|
-
"staff.timesheets.projects.messages.deleted": "
|
|
1086
|
-
"staff.timesheets.projects.messages.saved": "
|
|
1087
|
-
"staff.timesheets.projects.page.description": "
|
|
1088
|
-
"staff.timesheets.projects.page.title": "
|
|
1089
|
-
"staff.timesheets.projects.portfolio.card.hoursPanelCollab": "
|
|
1090
|
-
"staff.timesheets.projects.portfolio.card.hoursPanelPm": "
|
|
1091
|
-
"staff.timesheets.projects.portfolio.card.role": "
|
|
1092
|
-
"staff.timesheets.projects.portfolio.emptyState.noAssignments": "
|
|
1093
|
-
"staff.timesheets.projects.portfolio.emptyState.noMatches": "
|
|
1094
|
-
"staff.timesheets.projects.portfolio.emptyState.noProjects": "
|
|
1095
|
-
"staff.timesheets.projects.portfolio.hoursWeek": "
|
|
1096
|
-
"staff.timesheets.projects.portfolio.kpi.assignedToMe": "
|
|
1097
|
-
"staff.timesheets.projects.portfolio.kpi.deltaFlat": "
|
|
1098
|
-
"staff.timesheets.projects.portfolio.kpi.hoursMonth": "
|
|
1099
|
-
"staff.timesheets.projects.portfolio.kpi.hoursMonthSub": "
|
|
1100
|
-
"staff.timesheets.projects.portfolio.kpi.hoursWeek": "
|
|
1101
|
-
"staff.timesheets.projects.portfolio.kpi.hoursWeekSub": "
|
|
1102
|
-
"staff.timesheets.projects.portfolio.kpi.myHoursMonth": "
|
|
1103
|
-
"staff.timesheets.projects.portfolio.kpi.myHoursWeek": "
|
|
1104
|
-
"staff.timesheets.projects.portfolio.kpi.myProjects": "
|
|
1105
|
-
"staff.timesheets.projects.portfolio.kpi.noPrevious": "
|
|
1106
|
-
"staff.timesheets.projects.portfolio.kpi.onHold": "
|
|
1107
|
-
"staff.timesheets.projects.portfolio.kpi.teamActive": "
|
|
1108
|
-
"staff.timesheets.projects.portfolio.kpi.teamActiveSub": "
|
|
1109
|
-
"staff.timesheets.projects.portfolio.kpi.totalProjects": "
|
|
1110
|
-
"staff.timesheets.projects.portfolio.myHoursWeek": "
|
|
1111
|
-
"staff.timesheets.projects.portfolio.myRole": "
|
|
1083
|
+
"staff.timesheets.projects.inactive_employees": "Nieaktywni pracownicy",
|
|
1084
|
+
"staff.timesheets.projects.loading": "Ładowanie projektu...",
|
|
1085
|
+
"staff.timesheets.projects.messages.deleted": "Usunięto projekt.",
|
|
1086
|
+
"staff.timesheets.projects.messages.saved": "Zapisano projekt.",
|
|
1087
|
+
"staff.timesheets.projects.page.description": "Zarządzaj projektami do rejestracji czasu pracy.",
|
|
1088
|
+
"staff.timesheets.projects.page.title": "Projekty",
|
|
1089
|
+
"staff.timesheets.projects.portfolio.card.hoursPanelCollab": "Moje godziny · ost. 7 tyg.",
|
|
1090
|
+
"staff.timesheets.projects.portfolio.card.hoursPanelPm": "Godziny zespołu · ost. 7 tyg.",
|
|
1091
|
+
"staff.timesheets.projects.portfolio.card.role": "Rola",
|
|
1092
|
+
"staff.timesheets.projects.portfolio.emptyState.noAssignments": "Nie jesteś jeszcze przypisany do żadnego projektu. Poproś kierownika projektu, aby Cię dodał.",
|
|
1093
|
+
"staff.timesheets.projects.portfolio.emptyState.noMatches": "Żaden projekt nie pasuje do tych filtrów.",
|
|
1094
|
+
"staff.timesheets.projects.portfolio.emptyState.noProjects": "Brak projektów.",
|
|
1095
|
+
"staff.timesheets.projects.portfolio.hoursWeek": "Godziny / tydzień",
|
|
1096
|
+
"staff.timesheets.projects.portfolio.kpi.assignedToMe": "Przypisane do mnie",
|
|
1097
|
+
"staff.timesheets.projects.portfolio.kpi.deltaFlat": "bez zmian",
|
|
1098
|
+
"staff.timesheets.projects.portfolio.kpi.hoursMonth": "Godziny w tym miesiącu",
|
|
1099
|
+
"staff.timesheets.projects.portfolio.kpi.hoursMonthSub": "wobec poprzedniego miesiąca",
|
|
1100
|
+
"staff.timesheets.projects.portfolio.kpi.hoursWeek": "Godziny w tym tygodniu",
|
|
1101
|
+
"staff.timesheets.projects.portfolio.kpi.hoursWeekSub": "wobec poprzedniego tygodnia",
|
|
1102
|
+
"staff.timesheets.projects.portfolio.kpi.myHoursMonth": "Moje godziny w tym miesiącu",
|
|
1103
|
+
"staff.timesheets.projects.portfolio.kpi.myHoursWeek": "Moje godziny w tym tygodniu",
|
|
1104
|
+
"staff.timesheets.projects.portfolio.kpi.myProjects": "Moje projekty",
|
|
1105
|
+
"staff.timesheets.projects.portfolio.kpi.noPrevious": "brak wcześniejszych danych",
|
|
1106
|
+
"staff.timesheets.projects.portfolio.kpi.onHold": "Wstrzymane",
|
|
1107
|
+
"staff.timesheets.projects.portfolio.kpi.teamActive": "Aktywny zespół",
|
|
1108
|
+
"staff.timesheets.projects.portfolio.kpi.teamActiveSub": "Osoby z wpisami w tym miesiącu",
|
|
1109
|
+
"staff.timesheets.projects.portfolio.kpi.totalProjects": "Wszystkie projekty",
|
|
1110
|
+
"staff.timesheets.projects.portfolio.myHoursWeek": "Moje godziny / tydzień",
|
|
1111
|
+
"staff.timesheets.projects.portfolio.myRole": "Moja rola",
|
|
1112
1112
|
"staff.timesheets.projects.portfolio.relativeTime.daysAgo": "{days}d temu",
|
|
1113
1113
|
"staff.timesheets.projects.portfolio.relativeTime.hoursAgo": "{hours}h temu",
|
|
1114
1114
|
"staff.timesheets.projects.portfolio.relativeTime.justNow": "przed chwilą",
|
|
1115
1115
|
"staff.timesheets.projects.portfolio.relativeTime.minutesAgo": "{minutes}m temu",
|
|
1116
1116
|
"staff.timesheets.projects.portfolio.savedViews.ariaLabel": "Zapisane widoki",
|
|
1117
|
-
"staff.timesheets.projects.portfolio.sparkline.ariaLabel": "
|
|
1118
|
-
"staff.timesheets.projects.portfolio.tabs.active": "
|
|
1119
|
-
"staff.timesheets.projects.portfolio.tabs.all": "
|
|
1120
|
-
"staff.timesheets.projects.portfolio.tabs.completed": "
|
|
1121
|
-
"staff.timesheets.projects.portfolio.tabs.mine": "
|
|
1122
|
-
"staff.timesheets.projects.portfolio.tabs.onHold": "
|
|
1123
|
-
"staff.timesheets.projects.portfolio.team": "
|
|
1117
|
+
"staff.timesheets.projects.portfolio.sparkline.ariaLabel": "Godziny na tydzień, ostatnie 7 tygodni",
|
|
1118
|
+
"staff.timesheets.projects.portfolio.tabs.active": "Aktywne",
|
|
1119
|
+
"staff.timesheets.projects.portfolio.tabs.all": "Wszystkie",
|
|
1120
|
+
"staff.timesheets.projects.portfolio.tabs.completed": "Zakończone",
|
|
1121
|
+
"staff.timesheets.projects.portfolio.tabs.mine": "Moje",
|
|
1122
|
+
"staff.timesheets.projects.portfolio.tabs.onHold": "Wstrzymane",
|
|
1123
|
+
"staff.timesheets.projects.portfolio.team": "Zespół",
|
|
1124
1124
|
"staff.timesheets.projects.portfolio.viewMode.ariaLabel": "Tryb widoku",
|
|
1125
|
-
"staff.timesheets.projects.portfolio.viewMode.cards": "
|
|
1126
|
-
"staff.timesheets.projects.portfolio.viewMode.table": "
|
|
1127
|
-
"staff.timesheets.projects.stats.active": "
|
|
1128
|
-
"staff.timesheets.projects.stats.onHold": "
|
|
1129
|
-
"staff.timesheets.projects.stats.total": "
|
|
1130
|
-
"staff.timesheets.projects.statuses.active": "
|
|
1131
|
-
"staff.timesheets.projects.statuses.all": "
|
|
1132
|
-
"staff.timesheets.projects.statuses.completed": "
|
|
1133
|
-
"staff.timesheets.projects.statuses.onHold": "
|
|
1134
|
-
"staff.timesheets.projects.table.empty": "
|
|
1135
|
-
"staff.timesheets.projects.table.name": "
|
|
1136
|
-
"staff.timesheets.projects.table.search": "
|
|
1137
|
-
"staff.timesheets.projects.table.startDate": "
|
|
1125
|
+
"staff.timesheets.projects.portfolio.viewMode.cards": "Karty",
|
|
1126
|
+
"staff.timesheets.projects.portfolio.viewMode.table": "Tabela",
|
|
1127
|
+
"staff.timesheets.projects.stats.active": "Aktywne projekty",
|
|
1128
|
+
"staff.timesheets.projects.stats.onHold": "Wstrzymane",
|
|
1129
|
+
"staff.timesheets.projects.stats.total": "Wszystkie projekty",
|
|
1130
|
+
"staff.timesheets.projects.statuses.active": "Aktywne",
|
|
1131
|
+
"staff.timesheets.projects.statuses.all": "Wszystkie",
|
|
1132
|
+
"staff.timesheets.projects.statuses.completed": "Zakończone",
|
|
1133
|
+
"staff.timesheets.projects.statuses.onHold": "Wstrzymane",
|
|
1134
|
+
"staff.timesheets.projects.table.empty": "Brak projektów.",
|
|
1135
|
+
"staff.timesheets.projects.table.name": "Nazwa",
|
|
1136
|
+
"staff.timesheets.projects.table.search": "Szukaj projektów...",
|
|
1137
|
+
"staff.timesheets.projects.table.startDate": "Data rozpoczęcia",
|
|
1138
1138
|
"staff.timesheets.projects.table.status": "Status",
|
|
1139
|
-
"staff.timesheets.projects.table.type": "
|
|
1140
|
-
"staff.timesheets.projects.table.updatedAt": "
|
|
1139
|
+
"staff.timesheets.projects.table.type": "Typ",
|
|
1140
|
+
"staff.timesheets.projects.table.updatedAt": "Zaktualizowano",
|
|
1141
1141
|
"staff.timesheets.sidebar.timerRunning": "Timer działa — kliknij, aby zobaczyć",
|
|
1142
|
-
"staff.timesheets.widgets.hoursByProject.empty": "
|
|
1143
|
-
"staff.timesheets.widgets.hoursByProject.error": "
|
|
1144
|
-
"staff.timesheets.widgets.hoursByProject.loading": "
|
|
1145
|
-
"staff.timesheets.widgets.hoursByProject.settings.dateRange": "
|
|
1146
|
-
"staff.timesheets.widgets.hoursByProject.total": "
|
|
1142
|
+
"staff.timesheets.widgets.hoursByProject.empty": "Nie zarejestrowano godzin w tym okresie.",
|
|
1143
|
+
"staff.timesheets.widgets.hoursByProject.error": "Nie udało się załadować danych",
|
|
1144
|
+
"staff.timesheets.widgets.hoursByProject.loading": "Ładowanie...",
|
|
1145
|
+
"staff.timesheets.widgets.hoursByProject.settings.dateRange": "Zakres dat",
|
|
1146
|
+
"staff.timesheets.widgets.hoursByProject.total": "Razem",
|
|
1147
1147
|
"staff.timesheets.widgets.timeReporting.error": "Nie udało się wczytać stanu licznika czasu",
|
|
1148
|
-
"staff.timesheets.widgets.timeReporting.loading": "
|
|
1149
|
-
"staff.timesheets.widgets.timeReporting.noProjects": "
|
|
1150
|
-
"staff.timesheets.widgets.timeReporting.notRunning": "
|
|
1151
|
-
"staff.timesheets.widgets.timeReporting.notesPlaceholder": "
|
|
1152
|
-
"staff.timesheets.widgets.timeReporting.project": "
|
|
1153
|
-
"staff.timesheets.widgets.timeReporting.running": "
|
|
1154
|
-
"staff.timesheets.widgets.timeReporting.selectProject": "
|
|
1155
|
-
"staff.timesheets.widgets.timeReporting.settings.description": "
|
|
1156
|
-
"staff.timesheets.widgets.timeReporting.start": "
|
|
1148
|
+
"staff.timesheets.widgets.timeReporting.loading": "Ładowanie...",
|
|
1149
|
+
"staff.timesheets.widgets.timeReporting.noProjects": "Brak przypisanych projektów.",
|
|
1150
|
+
"staff.timesheets.widgets.timeReporting.notRunning": "Zatrzymany",
|
|
1151
|
+
"staff.timesheets.widgets.timeReporting.notesPlaceholder": "Nad czym pracujesz?",
|
|
1152
|
+
"staff.timesheets.widgets.timeReporting.project": "Projekt",
|
|
1153
|
+
"staff.timesheets.widgets.timeReporting.running": "Stoper działa",
|
|
1154
|
+
"staff.timesheets.widgets.timeReporting.selectProject": "Wybierz projekt...",
|
|
1155
|
+
"staff.timesheets.widgets.timeReporting.settings.description": "Brak dodatkowych ustawień. Wybierz projekt i zacznij rejestrować czas z poziomu widżetu.",
|
|
1156
|
+
"staff.timesheets.widgets.timeReporting.start": "Uruchom stoper",
|
|
1157
1157
|
"staff.timesheets.widgets.timeReporting.startError": "Nie udało się uruchomić licznika czasu",
|
|
1158
|
-
"staff.timesheets.widgets.timeReporting.stop": "
|
|
1158
|
+
"staff.timesheets.widgets.timeReporting.stop": "Zatrzymaj stoper",
|
|
1159
1159
|
"staff.timesheets.widgets.timeReporting.stopError": "Nie udało się zatrzymać licznika czasu",
|
|
1160
|
-
"staff.timesheets.widgets.timeReporting.taskNote": "
|
|
1161
|
-
"staff.timesheets.widgets.timeReporting.unknownProject": "
|
|
1160
|
+
"staff.timesheets.widgets.timeReporting.taskNote": "Zadanie / Notatka",
|
|
1161
|
+
"staff.timesheets.widgets.timeReporting.unknownProject": "Nieznany projekt"
|
|
1162
1162
|
}
|
|
@@ -20,7 +20,8 @@ import {
|
|
|
20
20
|
} from '../../../data/validators'
|
|
21
21
|
import { serializeWorkflowDefinition, serializeCodeWorkflowDefinition } from '../serialize'
|
|
22
22
|
import { invalidateTriggerCache } from '../../../lib/event-trigger-service'
|
|
23
|
-
import { getCodeWorkflow } from '../../../lib/code-registry'
|
|
23
|
+
import { getCodeWorkflow, getAllCodeWorkflows } from '../../../lib/code-registry'
|
|
24
|
+
import { codeWorkflowUuid } from '../../../lib/find-definition'
|
|
24
25
|
import { createGenericOptimisticLockReader } from '@open-mercato/shared/lib/crud/optimistic-lock'
|
|
25
26
|
import { registerOptimisticLockReaderIfAbsent } from '@open-mercato/shared/lib/crud/optimistic-lock-store'
|
|
26
27
|
import { validateCrudMutationGuard, runCrudMutationGuardAfterSuccess } from '@open-mercato/shared/lib/crud/mutation-guard'
|
|
@@ -97,6 +98,18 @@ export async function GET(
|
|
|
97
98
|
})
|
|
98
99
|
|
|
99
100
|
if (!definition) {
|
|
101
|
+
// Instances started from an unpersisted code definition store the
|
|
102
|
+
// deterministic codeWorkflowUuid(workflowId) as their definitionId
|
|
103
|
+
// (see lib/find-definition.ts). Resolve that synthetic UUID back to
|
|
104
|
+
// the code registry so lookups by instance.definitionId succeed.
|
|
105
|
+
const codeDef = getAllCodeWorkflows().find(
|
|
106
|
+
(workflow) => codeWorkflowUuid(workflow.workflowId) === params.id
|
|
107
|
+
)
|
|
108
|
+
if (codeDef) {
|
|
109
|
+
return NextResponse.json({
|
|
110
|
+
data: serializeCodeWorkflowDefinition(codeDef, `code:${codeDef.workflowId}`),
|
|
111
|
+
})
|
|
112
|
+
}
|
|
100
113
|
return NextResponse.json(
|
|
101
114
|
{ error: 'Workflow definition not found' },
|
|
102
115
|
{ status: 404 }
|