{% extends 'admin_layout_two.html' %} {% load static %} {% block content %} Beni | Service Invoices

Service Invoices

{% csrf_token %}
{% comment %} {% endcomment %} {% for orders in all_order %} {% endfor %}
ID Invoice No. Customer Order Date Total Amount Payment Status Store IdActions
#{{orders.id}} {{orders.invoice_number}} {{orders.customer_name}} {{orders.start_date|date:"d M Y"}} {{orders.total_amount}} {% if orders.is_paid == True %}PAID{% else %}UNPAID{% endif %} {{orders.store.id}} {% comment %} {% endcomment %}
{% if all_order %}
    {% if all_order.has_previous %}
  • «
  • {% else %}
  • «
  • {% endif %} {% for i in all_order.paginator.page_range %} {% if all_order.number == i %}
  • {{ i }}
  • {% else %}
  • {{ i }}
  • {% endif %} {% endfor %} {% if all_order.has_next %}
  • »
  • {% else %}
  • »
  • {% endif %}
{% endif %}
{% endblock %}