diff --git a/cotisations/templates/cotisations/aff_profil.html b/cotisations/templates/cotisations/aff_profil.html index a6e21624..28da5341 100644 --- a/cotisations/templates/cotisations/aff_profil.html +++ b/cotisations/templates/cotisations/aff_profil.html @@ -52,89 +52,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
- {% trans "User" as tr_user %} - {% include 'buttons/sort.html' with prefix='cotis' col='user' text=tr_user %} - | -{% trans "Designation" %} | -{% trans "Total price" %} | -- {% trans "Payment method" as tr_payment_method %} - {% include 'buttons/sort.html' with prefix='cotis' col='paiement' text=tr_payment_method %} - | -- {% trans "Date" as tr_date %} - {% include 'buttons/sort.html' with prefix='cotis' col='date' text=tr_date %} - | -- {% trans "Invoice ID" as tr_invoice_id %} - {% include 'buttons/sort.html' with prefix='cotis' col='id' text=tr_invoice_id %} - | -- | - | |
---|---|---|---|---|---|---|---|---|
{{ facture.user }} | -
-
|
- {{ facture.prix_total }} | -{{ facture.paiement }} | -{{ facture.date }} | -{{ facture.id }} | -- {% can_edit facture %} - {% include 'buttons/edit.html' with href='cotisations:edit-facture' id=facture.id %} - {% acl_else %} - {% trans "Controlled invoice" %} - {% acl_end %} - {% can_delete facture %} - {% include 'buttons/suppr.html' with href='cotisations:del-facture' id=facture.id %} - {% acl_end %} - {% history_button facture %} - | -- {% if facture.valid %} - - {% trans "PDF" %} - - {% else %} - {% trans "Invalidated invoice" %} - {% endif %} - {% if facture.control and facture.is_subscription %} - - {% trans "Voucher" %} - - {% endif %} - | -
{% trans "No invoice" %}
+ {% include 'cotisations/aff_cotisations.html' with facture_list=facture_list %} + {% else %} +{% trans "No invoice" %}
{% endif %}{% include 'buttons/sort.html' with prefix='machine' col='name' text=tr_dns_name %} | -{% trans "Type" %} | -{% trans "MAC address" %} | -{% trans "IP address" %} | -{% trans "Actions" %} | - - {% for machine in machines_list %} -|||
---|---|---|---|---|---|---|---|
- {% trans "No name" as tr_no_name %} - {% trans "View the profile" as tr_view_the_profile %} - {% if machine.active %} - - {% else %} - {% trans "Deactivated" %}: - {% endif %} - {{ machine.get_name|default:tr_no_name }} - - {{ machine.user }} - - | -- {% can_create Interface machine.id %} - {% trans "Create an interface" as tr_create_an_interface %} - {% include 'buttons/add.html' with href='machines:new-interface' id=machine.id desc=tr_create_an_interface %} - {% acl_end %} - {% history_button machine %} - {% can_delete machine %} - {% include 'buttons/suppr.html' with href='machines:del-machine' id=machine.id %} - {% acl_end %} - | -||||||
- {% if interface.domain.related_domain.all %} - {{ interface.domain }} - - {% else %} - {{ interface.domain }} - {% endif %} - | -- {{ interface.machine_type }} - | -- {{ interface.mac_address }} - - | -
- IPv4 {{ interface.ipv4 }}
- - {% if ipv6_enabled and interface.ipv6 != 'None' %} - IPv6 - - {% endif %} - |
-
-
-
-
-
-
- {% history_button interface %}
- {% can_delete interface %}
- {% include 'buttons/suppr.html' with href='machines:del-interface' id=interface.id %}
- {% acl_end %}
-
- |
- |||
-
-
-
|
- |||||||
-
-
-
|
- |||||||
-
-
-
|
- |||||||
- |
{% trans "No machine" %}
- {% endif %} +{%trans "No machines" %}
+ {% endif %}