{% extends 'base.html' %} {% block content %}

{{ institution.name }}

{{ institution.tax_number or 'VKN/TCKN yok' }} · {{ institution.contact_person or 'Yetkili belirtilmedi' }}
{% if current_user.has_permission('institutions.manage') %}Düzenle
{% endif %} {% if current_user.has_permission('invoices.manage') and institution.is_active %}Fatura Ekle{% endif %} {% if current_user.has_permission('payments.manage') and institution.is_active %}Ödeme / Tahsilat{% endif %}
{% for currency, item in balances.items() %}
Alacak · {{ currency }}
{{ item.receivable|money }} {{ currency }}
Borç · {{ currency }}
{{ item.payable|money }} {{ currency }}
Net · {{ currency }}
{{ item.net|money }} {{ currency }}
{% else %}
Bu kurumda henüz bakiye hareketi yok.
{% endfor %}

Son Faturalar

Tümünü gör
{% for item in invoices %} {% else %}{% endfor %}
TarihFaturaYönToplamAçıkDurum
{{ item.invoice_date|date_tr }}{{ item.invoice_number }}{{ 'Gelen' if item.direction=='IN' else 'Giden' }}{{ item.total|money }} {{ item.currency }}{{ invoice_open_amount(item)|money }} {{ item.currency }}{{ 'İptal' if item.is_cancelled else 'Aktif' }}
Fatura yok.

Son Ödeme / Tahsilatlar

{% for item in payments %}{% else %}{% endfor %}
TarihYönTürTutarDurum
{{ item.transaction_date|date_tr }}{{ 'Ödeme' if item.direction=='PAYMENT' else 'Tahsilat' }}{{ {'CASH_ACCOUNT':'Nakit/Hesap','CHECK':'Çek','NOTE':'Senet'}.get(item.method,item.method) }}{{ item.amount|money }} {{ item.currency }}{{ 'İptal' if item.is_cancelled else 'Aktif' }}
İşlem yok.

Açılış Bakiyesi

{% if current_user.has_permission('institutions.manage') %}
{% endif %} {% for item in openings %}
{{ item.balance_date|date_tr }} · {{ 'Alacak' if item.side=='RECEIVABLE' else 'Borç' }}{% if item.is_cancelled %} İptal{% endif %}{{ item.amount|money }} {{ item.currency }}{% if not item.is_cancelled and current_user.has_permission('institutions.manage') %}
{% endif %}
{% else %}
Kayıt yok.
{% endfor %}
{% endblock %}