{% extends 'base.html' %}
{% load calctags %}

{% block top %}
{% endblock %}

{% block body %}

  lista domini in scadenza per contratto</p>
  <table class='table'>
    <thead>
      <tr>
        <th scope='col'>#</th>
        <th scope='col'>Dominio</th>
        <th scope='col'>Sc.Contratto</th>
	<th scope='col'>Gg. al Contr.</th>
	<th scope='col'>Causale</th>
        <th scope='col'>Uuid</th>
      </tr>
    </thead>
    <tbody>
      {% for d in listascadenzacontract %}
        <tr>
          <th scope='row'>{{ d.id }}</th>
          <td>{{ d.nome }}</td>
          <td>{{ d.date_expire_contract }}</td>
	  <td>{{ d.date_expire_contract|GGscadenza }}</td>
	  <td>{{ d.causale.nome }}</td>
          <td>{{ d.renew_code }} </td>

        </tr>
      {% endfor %}
    </tbody>
  </table>

  lista domini in scadenza per registrar</p>
  <table class='table'>
    <thead>
      <tr>
        <th scope='col'>#</th>
        <th scope='col'>Dominio</th>
        <th scope='col'>Sc.Registrar</th>
	<th scope='col'>Gg. al Regs.</th>
	<th scope='col'>Causale</th>
        <th scope='col'>Uuid</th>
      </tr>
    </thead>
    <tbody>
      {% for d in listascadenzaregistrar %}
        <tr>
          <th scope='row'>{{ d.id }}</th>
          <td>{{ d.nome }}</td>
          <td>{{ d.date_expire_registrar }}</td>
	  <td>{{ d.date_expire_registrar|GGscadenza }}</td>
	  <td>{{ d.causale.nome }}</td>
          <td>{{ d.renew_code }} </td>

        </tr>
      {% endfor %}
    </tbody>
  </table>

{% endblock %}


