49 lines
2.7 KiB
HTML
49 lines
2.7 KiB
HTML
{% extends "base.html" %}
|
|
{% load i18n static %}
|
|
|
|
{% block title %}{{ _("Invoices") }}{% endblock title %}
|
|
|
|
{% block content %}
|
|
<div class="row mt-4">
|
|
<h3 class="mb-3">{% trans "Invoices" %}</h3>
|
|
|
|
<div class="table-responsive px-1 scrollbar">
|
|
<table class="table fs-9 mb-0 border-top border-translucent">
|
|
<thead>
|
|
<tr>
|
|
<th class="sort white-space-nowrap align-middle" scope="col">{% trans "Invoice Number" %}</th>
|
|
<th class="sort white-space-nowrap align-middle" scope="col">{% trans "Customer" %}</th>
|
|
<th class="sort white-space-nowrap align-middle" scope="col">{% trans "Status" %}</th>
|
|
<th class="sort white-space-nowrap align-middle" scope="col">{% trans "Status Date" %}</th>
|
|
<th class="sort white-space-nowrap align-middle" scope="col">{% trans "Created" %}</th>
|
|
<th class="sort white-space-nowrap align-middle" scope="col">{% trans "Actions" %}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="list">
|
|
{% for journal in journals %}
|
|
<tr class="hover-actions-trigger btn-reveal-trigger position-static">
|
|
<td class="align-middle product white-space-nowrap py-0">{{ invoice.invoice_number }}</td>
|
|
<td class="align-middle product white-space-nowrap">{{ journal.timestamp }}</td>
|
|
<td class="align-middle product white-space-nowrap">{{ journal. }}</td>
|
|
<td class="align-middle product white-space-nowrap">{{ journal. }}</td>
|
|
<td class="align-middle product white-space-nowrap">{{ journal. }}</td>
|
|
<td class="text-center">
|
|
<a href="{% url 'invoice_detail' invoice.pk %}"
|
|
class="btn btn-sm btn-success">
|
|
{% trans "view" %}
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
{% empty %}
|
|
<tr>
|
|
<td colspan="6" class="text-center">{% trans "No Quotations Found" %}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="d-flex justify-content-center">
|
|
</div>
|
|
|
|
</div>
|
|
{% endblock %} |