feat: track wartosc_zlecenia in project updates and display in ProjectViewPage for team leads

This commit is contained in:
2025-11-14 09:09:23 +01:00
parent 3f87ea16f2
commit c2dbc9d777
2 changed files with 12 additions and 12 deletions

View File

@@ -59,7 +59,7 @@ async function updateProjectHandler(req, { params }) {
}
// Track field changes for specific fields we want to monitor
const fieldsToTrack = ['finish_date', 'project_status', 'assigned_to', 'contract_id'];
const fieldsToTrack = ['finish_date', 'project_status', 'assigned_to', 'contract_id', 'wartosc_zlecenia'];
for (const fieldName of fieldsToTrack) {
if (data.hasOwnProperty(fieldName)) {