This commit is contained in:
Marwan Alwali 2025-01-19 11:14:29 +03:00
parent 01d0515b32
commit feeb882ee5
2 changed files with 10 additions and 12 deletions

View File

@ -5,10 +5,9 @@
{% block content %}
<div class="row mt-4">
<h3 class="text-center">{% trans "Quotations" %}</h3>
<div class="mx-n4 px-4 mx-lg-n6 px-lg-6 bg-body-emphasis pt-7 border-y">
<h3 class="mb-3">{% trans "Quotations" %}</h3>
<div class="table-responsive mx-n1 px-1 scrollbar">
<div class="table-responsive px-1 scrollbar">
<table class="table fs-9 mb-0 border-top border-translucent">
<thead>
<tr>
@ -64,6 +63,6 @@
{% include 'partials/pagination.html' %}
{% endif %}
</div>
</div>
</div>
{% endblock %}

View File

@ -5,13 +5,12 @@
{% block content %}
<div class="row mt-4">
<div>
<a href="{% url 'payment_create' %}" class="btn btn-sm btn-success ">{% trans "Add Payment" %}</a>
<h3 class="text-center">{% trans "Payments" %}</h3>
</div>
<div class="mx-n4 px-4 mx-lg-n6 px-lg-6 bg-body-emphasis pt-7 border-y">
<div class="d-flex justify-content-end align-content-end">
<a href="{% url 'payment_create' %}" class="btn btn-sm btn-phoenix-success ">{% trans "Add Payment" %}</a>
<div class="table-responsive mx-n1 px-1 scrollbar">
</div>
<h3 class="mb-3">{% trans "Payments" %}</h3>
<div class="table-responsive px-1 scrollbar">
<table class="table fs-9 mb-0 border-top border-translucent">
<thead>
<tr>
@ -36,7 +35,7 @@
<td class="align-middle product white-space-nowrap py-0">{{ journal.timestamp }}</td>
<td class="align-middle product white-space-nowrap py-0">{{ journal.description }}</td>
<td class="text-center">
<a href="{% url 'payment_details' journal.pk %}" class="btn btn-sm btn-success">{% trans "View Tranactions" %}</a>
<a href="{% url 'payment_details' journal.pk %}" class="btn btn-sm btn-phoenix-primary">{% trans "View Tranactions" %}</a>
</td>
</tr>
{% empty %}
@ -49,6 +48,6 @@
</div>
<div class="d-flex justify-content-center">
</div>
</div>
</div>
{% endblock %}