{% extends 'base.html' %} {% block title %}Dashboard{% endblock %} {% block content %} {% if not company %} {% set eyebrow='Pulpit firmy' %}{% set heading='Dashboard operacyjny' %}{% set description='Podsumowanie pracy na aktywnej firmie.' %} {% include 'partials/page_header.html' with context %}

Brak wybranej firmy

Najpierw wybierz firmę z przełącznika w górnym pasku albo dodaj ją w panelu administracyjnym.

{{ 'Dodaj firmę' if current_user.role == 'admin' else 'Przejdź do ustawień' }}
{% else %} {% set eyebrow='Pulpit firmy' %}{% set heading='Dashboard operacyjny' %}{% set description='Podsumowanie bieżącego miesiąca, synchronizacji i ostatnich dokumentów.' %} {% include 'partials/page_header.html' with context %}
Faktury w miesiącu
{{ month_invoices|length }}
{{ company.name }}
Nowe
{{ unread }}
Netto
{{ totals.net|pln }}
VAT
{{ totals.vat|pln }}
Brutto
{{ totals.gross|pln }}
Synchronizacja KSeF
Status: {{ sync_status }}Ostatni sync:{{ last_sync_display }}
0%
Kliknij "Pobierz ręcznie" aby pobrać faktury z KSeF.
Ostatnie faktury
{% for invoice in recent_invoices %}{% else %}{% endfor %}
NumerKontrahentBrutto
{{ invoice.invoice_number }}{{ invoice.contractor_name }}{{ invoice.gross_amount|pln }}
Otwórz
{% set payment_details = payment_details_map.get(invoice.id, {}) %}{% set modal_id = 'payModalDashboard' ~ invoice.id %}{% include 'partials/payment_modal.html' %}
Brak danych.
{% if health.critical %}
Raport krytyczny
{% if health.ksef != 'ok' %}
API KSeF: {{ health.ksef }}
{% if health.ksef_message %}
{{ health.ksef_message }}
{% endif %} {% endif %} {% if health.ceidg != 'ok' %}
API CEIDG: {{ health.ceidg }}
{% if health.ceidg_message %}
{{ health.ceidg_message }}
{% endif %} {% endif %}
{% endif %}
Harmonogram
Automatyczna synchronizacja {{ 'włączona' if company.sync_enabled else 'wyłączona' }}
Interwał {{ company.sync_interval_minutes }} min
Tryb pracy {% if read_only %} tylko pobieranie {% else %} pełna synchronizacja {% endif %}
{% endif %} {% endblock %} {% block scripts %} {% endblock %}