{% extends 'taxsystem/base.html' %}
{% load i18n %}
{% load humanize %}
{% load taxsystem %}

{% block page_title %}
    {{ title }} ⋗ {% translate "Tax System" %}
{% endblock %}

{% block page_topic %}
    <h1 class="page-header text-center">
        {{ title }}
    </h1>
{% endblock page_topic %}

{% block taxsystem_block %}
    <div class="mb-4">
        <div class="card">
            <div class="card-header bg-primary rounded-top d-flex align-items-center">
                <h3 class="me-3">{% translate "Own Payments" %}</h3>
            </div>
            <div class="card-body bg-secondary">
                {% include 'taxsystem/partials/table/own-payments.html' %}
            </div>
        </div>
    </div>
<!-- Tab Session -->
{% include 'taxsystem/modals/modal.html' with name="ViewDetails" %}
{% endblock %}

{% block extra_css %}
{% endblock %}

{% block extra_javascript %}
    <!-- load modals -->
    {% include 'taxsystem/bundles/modal-js.html' %}
    <script>
        setupModal('#modalViewDetailsContainer', 'ajax_details', '#modalViewDetailsContent', '#modalViewDetailsLoader');
    </script>
    <!-- load the datatables-js-bs5.html bundle -->
    {% include 'bundles/datatables-js-bs5.html' %}
    {% include "bundles/filterdropdown-js.html" %}
    <!-- load the settings bundle -->
    {% include "taxsystem/bundles/settings-css.html" %}
    {% include 'taxsystem/bundles/settings-js.html' %}
    <!-- load the payments bundle -->
    {% include 'taxsystem/bundles/own-payments-bundle.html' %}
{% endblock extra_javascript %}

{% block extra_script %}
{% endblock extra_script %}
