nordabiz/templates
Maciej Pienczyn f274d59ae6
Some checks are pending
NordaBiz Tests / Unit & Integration Tests (push) Waiting to run
NordaBiz Tests / E2E Tests (Playwright) (push) Blocked by required conditions
NordaBiz Tests / Smoke Tests (Production) (push) Blocked by required conditions
NordaBiz Tests / Send Failure Notification (push) Blocked by required conditions
feat(fees): klikalne kwadraciki miesięcy w panelu składek — quick payment registration
Przed: w widoku rocznym /admin/fees kwadraciki miesięcy były tylko
dekoracyjne (span z tooltipem). Żeby wpisać płatność trzeba było
przełączyć widok na konkretny miesiąc przez dropdown i dopiero wtedy
pojawiał się przycisk „Opłać". Magdalena (kierownik biura) spędziła
8 minut próbując klikać w kwadraciki — nic się nie działo.

Teraz: każdy kwadrat miesiąca jest klikalny, otwiera okienko płatności
dla konkretnej firmy × miesiąca. Jeśli rekord MembershipFee nie istnieje
— backend sam go tworzy z wyliczoną stawką (200/300 zł wg zasad brand).

Zmiany:
- Nowy endpoint /admin/fees/ensure-and-mark-paid — tworzy rekord
  jeśli brak, potem mark-paid. Odrzuca firmy-córki (parent_company_id)
  z komunikatem „Płatność rejestruj przy firmie matce"
- openPaymentModalSmart() w JS — wybór między /mark-paid (istniejący fee)
  a /ensure-and-mark-paid (nowy fee) na podstawie obecności feeId
- Hidden fields company_id, fee_year, fee_month w formularzu modala
- Modal pokazuje teraz osobno „Stawka" (disabled) i „Kwota wpłacona"
  (editable) — jeden pole amount zmyliło Magdalenę
- Żółty info-box nad tabelą roczną: „Kliknij kwadrat miesiąca, aby
  zarejestrować wpłatę"
- Hover: kwadrat się powiększa, pokazuje cień — afordancja kliknięcia

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14 19:07:17 +02:00
..
admin feat(fees): klikalne kwadraciki miesięcy w panelu składek — quick payment registration 2026-04-14 19:07:17 +02:00
announcements fix: use created_by instead of author_id in announcement detail template 2026-04-12 16:17:39 +02:00
auth
benefits
board fix(classifieds,admin): blokada duplikatów przez double/triple-click 2026-04-14 16:35:14 +02:00
calendar fix: 500 on event page when user has no company (active_company undefined) 2026-04-10 20:55:26 +02:00
classifieds fix(classifieds,admin): blokada duplikatów przez double/triple-click 2026-04-14 16:35:14 +02:00
company
contacts feat: migrate prod docs to OVH VPS + UTC→Warsaw timezone in all templates 2026-04-06 13:41:53 +02:00
education fix: add Polish diacritics to Google Reviews guide 2026-03-13 12:21:00 +01:00
errors fix: replace sad face SVG with Norda logo on 500 error page 2026-03-12 10:44:16 +01:00
forum feat(forum): klik w wątek przechodzi do najnowszego posta 2026-04-14 18:03:40 +02:00
konto feat(notifications): D.2+D.3 — forum, broadcasty Izby, wydarzenia, cron 24h 2026-04-14 18:20:38 +02:00
membership feat: migrate prod docs to OVH VPS + UTC→Warsaw timezone in all templates 2026-04-06 13:41:53 +02:00
messages fix: back links in messages point to new conversations page 2026-04-10 14:32:16 +02:00
partials
pej feat: migrate prod docs to OVH VPS + UTC→Warsaw timezone in all templates 2026-04-06 13:41:53 +02:00
reports feat: migrate prod docs to OVH VPS + UTC→Warsaw timezone in all templates 2026-04-06 13:41:53 +02:00
settings feat: migrate prod docs to OVH VPS + UTC→Warsaw timezone in all templates 2026-04-06 13:41:53 +02:00
zopk feat: migrate prod docs to OVH VPS + UTC→Warsaw timezone in all templates 2026-04-06 13:41:53 +02:00
admin_seo_dashboard.html feat: migrate prod docs to OVH VPS + UTC→Warsaw timezone in all templates 2026-04-06 13:41:53 +02:00
base.html feat(push): nowa ikona (smartfon z falami) + toast per urządzenie 2026-04-14 17:25:09 +02:00
base.html.bak.20251229_142208
base.html.bak.20260101_161750
chamber_authorities.html feat(izba): chamber roles — badges on profiles + Władze Izby page 2026-03-20 13:59:04 +01:00
chat_members_only.html
chat.html fix: UTC timezone correction for all JS date parsing across portal 2026-04-10 06:09:42 +02:00
CLAUDE.md
company_detail_enhanced.html
company_detail_safe.html
company_detail.html feat: make user names and avatars clickable links to profiles 2026-04-10 06:23:30 +02:00
company_detail.html.bak.20251229_142208
company_edit.html improve(company): add user feedback for logo upload and conversion 2026-04-08 14:30:33 +02:00
connections_map.html
connections_modal.html
dashboard.html feat(forum): klik w wątek przechodzi do najnowszego posta 2026-04-14 18:03:40 +02:00
events.html feat: add deprecation banner on /aktualnosci page with redirect to /ogloszenia 2026-03-12 12:07:12 +01:00
gbp_audit.html feat: migrate prod docs to OVH VPS + UTC→Warsaw timezone in all templates 2026-04-06 13:41:53 +02:00
index.html feat(forum): klik w wątek przechodzi do najnowszego posta 2026-04-14 18:03:40 +02:00
it_audit_form.html
it_audit.html feat: migrate prod docs to OVH VPS + UTC→Warsaw timezone in all templates 2026-04-06 13:41:53 +02:00
landing.html perf+a11y: heading order, image dimensions, static cache headers 2026-04-07 18:00:21 +02:00
new_members.html feat: Post-Rada Workflow Engine + redesign /nowi-czlonkowie 2026-04-06 23:51:38 +02:00
person_detail.html fix(person): prefer portal user name over masked KRS name 2026-03-20 14:33:16 +01:00
polityka_prywatnosci.html fix: correct InPi company data - name, NIP, address, phone 2026-03-12 09:37:45 +01:00
pwa_install.html
regulamin.html fix: correct InPi company data - name, NIP, address, phone 2026-03-12 09:37:45 +01:00
release_notes.html feat: add "Wypróbuj" deep links to release notes items 2026-03-12 11:26:26 +01:00
search_results.html feat(search): add portal users to search results alongside KRS persons 2026-03-20 14:27:25 +01:00
seo_audit.html feat: migrate prod docs to OVH VPS + UTC→Warsaw timezone in all templates 2026-04-06 13:41:53 +02:00
social_audit.html feat: migrate prod docs to OVH VPS + UTC→Warsaw timezone in all templates 2026-04-06 13:41:53 +02:00
unsubscribe.html feat(email): one-click unsubscribe w mailach powiadomień (RFC 8058) 2026-04-14 17:56:36 +02:00
user_profile.html improve: company list on profile - vertical, alphabetical, alternating bg 2026-04-10 14:27:32 +02:00