diff --git a/database/migrations/090_update_lord_company.sql b/database/migrations/090_update_lord_company.sql new file mode 100644 index 0000000..1a28543 --- /dev/null +++ b/database/migrations/090_update_lord_company.sql @@ -0,0 +1,24 @@ +-- Migration 090: Update Lord Alkohole → Lord sp. z o.o. +-- Firma przekształciła się ze spółki cywilnej (P.H.U. S&K TOBACCO s.c.) +-- w spółkę z o.o. Nowe dane od kierownika biura Izby (2026-03-25). +-- +-- Stare dane: name='Lord Alkohole', legal_name='P.H.U. S&K TOBACCO s.c.', NIP=5871649864 +-- Nowe dane: legal_name='Lord sp. z o.o.', NIP=5882533102 + +BEGIN; + +-- Backup current values (as comment for reference) +-- SELECT id, name, legal_name, nip, slug FROM companies WHERE id = 76; + +UPDATE companies +SET + legal_name = 'Lord sp. z o.o.', + nip = '5882533102', + updated_at = NOW() +WHERE id = 76 + AND nip = '5871649864'; -- safety check: only update if old NIP matches + +-- Verify +-- SELECT id, name, legal_name, nip, slug, updated_at FROM companies WHERE id = 76; + +COMMIT; diff --git a/templates/gbp_audit.html b/templates/gbp_audit.html index 79b8b14..dfe4ac3 100644 --- a/templates/gbp_audit.html +++ b/templates/gbp_audit.html @@ -2448,7 +2448,7 @@ function updateStep(stepId, status, message) { iconEl.innerHTML = icons[status] || icons.pending; textEl.className = 'step-text ' + status; if (message) { - textEl.textContent = message; + textEl.innerHTML = message; } }