{{ company.created_at|local_time('%d.%m.%Y') if company.created_at else '---' }}
Utworzono
Dane firmy
{% if enrichment.logo.path %}
{% else %}
{% endif %}
{{ company.name }}
{% if company.legal_name and company.legal_name != company.name %}
{{ company.legal_name }}
{% endif %}
NIP
{% if company.nip %}{{ company.nip }}{% else %}—{% endif %}
KRS
{% if company.krs %}{{ company.krs }}{% else %}—{% endif %}
REGON
{% if company.regon %}{{ company.regon }}{% else %}—{% endif %}
Forma prawna
{{ company.legal_form or '' }}{%- if not company.legal_form %}—{% endif %}
PKD
{% if company.pkd_code %}{{ company.pkd_code }}{% if company.pkd_description %} — {{ company.pkd_description }}{% endif %}{% else %}—{% endif %}
Właściciel
{% if company.owner_first_name or company.owner_last_name %}{{ company.owner_first_name or '' }} {{ company.owner_last_name or '' }}{% else %}—{% endif %}
Adres
{% if company.address_street or company.address_city %}
{{ company.address_street or '' }}{% if company.address_street and company.address_city %}, {% endif %}
{{ company.address_postal or '' }} {{ company.address_city or '' }}
{% else %}
—
{% endif %}
{{ company.category.name if company.category else '' }}{%- if not company.category %}—{% endif %}
Opis
{% if company.description_short %}{{ company.description_short[:200] }}{% if company.description_short|length > 200 %}...{% endif %}{% else %}—{% endif %}
{% if company.admin_notes %}
Notatki administracyjne
{{ company.admin_notes }}
{% endif %}
Workflow uzbrajania firmy
1
Dane urzędowe
{% if enrichment.registry.done %}
Wykonano{% if enrichment.registry.date %} {{ enrichment.registry.date|local_time('%d.%m.%Y') }}{% endif %}
{% else %}
Nie wykonano
{% endif %}
{% if enrichment.registry.stale %}
Dane z rejestru pobrane ponad 6 mcy temu — odśwież
{% endif %}
{% if enrichment.registry.source %}
Źródło: {{ enrichment.registry.source }}
{% endif %}
2
Audyt SEO
{% if enrichment.seo.done %}
Wykonano{% if enrichment.seo.date %} {{ enrichment.seo.date|local_time('%d.%m.%Y') }}{% endif %}
{% else %}
Nie wykonano
{% endif %}
{% if enrichment.seo.score is not none and enrichment.seo.score is defined %}
Wynik: {{ enrichment.seo.score }}/100
{% endif %}
3
Audyt Social Media
{% if enrichment.social.done %}
Wykonano ({{ enrichment.social.count }} profili)
{% else %}
Nie wykonano
{% endif %}
4
Audyt GBP
{% if enrichment.gbp.done %}
Wykonano{% if enrichment.gbp.date %} {{ enrichment.gbp.date|local_time('%d.%m.%Y') }}{% endif %}
{% else %}
Nie wykonano
{% endif %}
{% if enrichment.gbp.score is not none and enrichment.gbp.score is defined %}
Wynik: {{ enrichment.gbp.score }}/100
{% endif %}
5
Logo firmy
{% if enrichment.logo.done %}
Pobrano
{% else %}
Nie pobrano
{% endif %}
Podgląd profilu użytkownika
{# Social Media #}
Social Media
{% if social_accounts and social_accounts|length > 0 %}
{% for sm in social_accounts %}
{% set colors = {'facebook': '#1877F2', 'instagram': '#E4405F', 'linkedin': '#0A66C2', 'youtube': '#FF0000', 'twitter': '#000000', 'tiktok': '#000000'} %}
{% set color = colors.get(sm.platform, '#6b7280') %}
{% endif %}
{% if sm.check_status == 'needs_verification' %}
Do weryfikacji
{% elif sm.is_valid %}
Zweryfikowany
{% endif %}
{% if sm.url %}
Zobacz profil
{% endif %}
{% endfor %}
{% else %}
Brak profili social media. Uruchom audyt powyżej.
{% endif %}
{# SEO PageSpeed #}
SEO — PageSpeed
{% if seo_analysis and seo_analysis.seo_audited_at %}
{% set scores = [
('SEO', seo_analysis.pagespeed_seo_score),
('Wydajność', seo_analysis.pagespeed_performance_score),
('Dostępność', seo_analysis.pagespeed_accessibility_score),
('Best Practices', seo_analysis.pagespeed_best_practices_score)
] %}
{% for label, score in scores %}
{% if score is not none %}
{% if score >= 90 %}
{% set sc = '#166534' %}{% set bg = '#dcfce7' %}{% set bc = '#86efac' %}
{% elif score >= 50 %}
{% set sc = '#92400e' %}{% set bg = '#fef3c7' %}{% set bc = '#fcd34d' %}
{% else %}
{% set sc = '#991b1b' %}{% set bg = '#fee2e2' %}{% set bc = '#fca5a5' %}
{% endif %}
{{ score }}
{% else %}
—
{% endif %}
{{ label }}
{% endfor %}
{% else %}
Brak audytu SEO. Uruchom audyt powyżej.
{% endif %}
{# GBP #}
Google Business Profile
{% if gbp_audit and gbp_audit.completeness_score is not none %}
{# Reviews #}
{{ gbp_audit.review_count or 0 }}
Opinii
{# Rating #}
{% set rating = gbp_audit.average_rating or 0 %}
{% if rating >= 4.5 %}{% set rc = '#166534' %}
{% elif rating >= 3.5 %}{% set rc = '#d97706' %}
{% else %}{% set rc = '#991b1b' %}{% endif %}
{{ '%.1f'|format(rating) }}
Średnia ocen
{# Photos #}
{{ gbp_audit.photo_count or 0 }}
Zdjęć
{# Completeness #}
{% set cs = gbp_audit.completeness_score %}
{% if cs >= 90 %}{% set cc = '#166534' %}
{% elif cs >= 50 %}{% set cc = '#d97706' %}
{% else %}{% set cc = '#991b1b' %}{% endif %}
{{ cs }}%
Kompletność
{% else %}
Brak audytu GBP. Uruchom audyt powyżej.
{% endif %}
Lista kompletności ({{ completeness.filled }}/{{ completeness.total }})
{% for field_name, is_filled in completeness.fields.items() %}
{% if is_filled %}
{{ field_name }}
{% else %}
{{ field_name }}
{% if hints and hints.get(field_name) %}
{{ hints[field_name].source }}{% if hints[field_name].value %}: {{ hints[field_name].value[:40] }}{% endif %}
{% if hints[field_name].get('google_name') %}
(profil: {{ hints[field_name].google_name[:30] }})
{% endif %}
{% if hints[field_name].action == 'apply' and hints[field_name].value %}
{% elif hints[field_name].action == 'fetch_registry' %}
{% endif %}