{% load static %}


{% include "diaxeirisi/00_head.html" %}
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.9.0/css/bootstrap-datepicker.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.9.0/js/bootstrap-datepicker.js"></script>
<script type="text/javascript">
    $(document).ready(function() {
     $('.datepicker').datepicker({ format: 'dd/mm/yyyy',
startDate: new Date(),
todayHighlight: true,
autoclose: true,
calendarWeeks : false,
clearBtn: true,
disableTouchKeyboard: true });
   });
</script>
<body id="app-container" class="menu-default show-spinner vertical boxed">
{% if user.is_authenticated %}
{% include "diaxeirisi/01_menu.html" %}
{% endif %}
{% block content %}



      <div class="card">
        <div class="card-body">
          {% if collections %}
          {% for object in collections %}
            <li>
                <a href="{% url 'orders:collection_detail' pk=object.pk %}">Αριθμός Παραγγελίας {{ object }}</a>
            </li>
          {% endfor %}
          {% else %}
            <p>No collections</p>
          {% endif %}
        </div>
      </div>

    {% endblock %}


    <!-- Optional JavaScript -->
    <!-- jQuery first, then Popper.js, then Bootstrap JS -->
    <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
    <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.0/js/bootstrap.min.js" integrity="sha384-7aThvCh9TypR7fIc2HV4O/nFMVCBwyIUKL8XCtKE+8xgCgl/PQGuFsvShjr74PBp" crossorigin="anonymous"></script>


                        </div>
                    </div>
        </div>

    </main>

{% include "diaxeirisi/99_footer.html" %}
