passerelle/passerelle/apps/avis_imposition/templates/avis_imposition/avisimposition_detail.html

41 lines
1.5 KiB
HTML

{% extends "passerelle/manage/service_view.html" %}
{% load i18n passerelle %}
{% block description %}
<p>{% blocktrans trimmed %}
This connector verify fiscal number and tax notice number on
<a href="https://cfsmsp.impots.gouv.fr/secavis">https://cfsmsp.impots.gouv.fr/secavis/</a>
and returns the scrapped data.
{% endblocktrans %}
</p>
<p>{% blocktrans trimmed %}
<a href="https://www.economie.gouv.fr/particuliers/authenticite-avis-impot-svair">Documentation on the secavis service.</a>
{% endblocktrans %}
</p>
{% with test_data=object.get_test_data %}
{% if test_data %}
<h4>{% trans "Test datas" %}</h4>
<table class="main" style="width: 80%; margin: auto auto;">
<thead>
<tr>
<th>{% trans "Fiscal number" %}</th>
<th>{% trans "Tax notice number" %}</th>
<th>{% trans "Reference income" %}</th>
<th>{% trans "Test URL" %}</th>
</tr>
</thead>
<tbody>
{% for numero_fiscal, reference_avis, revenu_fiscal_de_reference in test_data %}
<tr>
<td>{{ numero_fiscal }}</td>
<td>{{ reference_avis }}</td>
<td>{{ revenu_fiscal_de_reference}}&nbsp;</td>
<td><a href="verify?numero_fiscal={{ numero_fiscal }}&reference_avis={{ reference_avis }}" class="button">Test</a></td>
</tr>
{% endfor %}
</tbody>
</table>
{% endif %}
{% endwith %}
{% endblock %}