added ui changes to sales

This commit is contained in:
Faheedkhan 2025-05-22 13:43:01 +03:00
parent 8acf63a22c
commit d628aeb8ca
5 changed files with 16 additions and 19 deletions

View File

@ -9,9 +9,9 @@
<h3 class="mb-3"><i class="fa-solid fa-receipt"></i> {% trans "Invoices" %}</h3>
<div class="table-responsive px-1 scrollbar">
<table class="table fs-9 mb-0 border-top border-translucent">
<table class="table align-items-center table-flush">
<thead>
<tr>
<tr class="bg-body-highlight">
<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>

View File

@ -5,12 +5,12 @@
{% block content %}
<div class="row mt-4">
<h3 class="mb-3">{% trans "Orders" %}</h3>
<h3 class="mb-3"><i class="fa-solid fa-list"></i> {% trans "Orders" %}</h3>
<div class="table-responsive px-1 scrollbar">
<table class="table fs-9 mb-0 border-top border-translucent">
<table class="table align-items-center table-flush">
<thead>
<tr>
<tr class="bg-body-highlight">
<th class="sort white-space-nowrap align-middle" scope="col">{% trans "Order 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 "For Quotation" %}</th>
@ -28,12 +28,6 @@
{{ order.estimate }}
</a>
</td>
<td class="text-center">
{% comment %} <a href="{% url 'estimate_detail' estimate.pk %}"
class="btn btn-sm btn-phoenix-success">
{% trans "view"|capfirst %}
</a> {% endcomment %}
</td>
</tr>
{% empty %}
<tr>

View File

@ -8,9 +8,9 @@
<h3 class="mb-3"><i class="fa-solid fa-right-left"></i> {% trans "Transactions" %}</h3>
<div class="table-responsive px-1 scrollbar">
<table class="table fs-9 mb-0 border-top border-translucent">
<table class="table align-items-center table-flush">
<thead>
<tr>
<tr class="bg-body-highlight">
<th class="sort white-space-nowrap align-middle" scope="col">{% trans "#" %}</th>
<th class="sort white-space-nowrap align-middle" scope="col">{% trans "Timestamp" %}</th>
<th class="sort white-space-nowrap align-middle" scope="col">{% trans "Account Name" %}</th>
@ -39,8 +39,11 @@
</tbody>
</table>
</div>
<div class="d-flex justify-content-center">
</div>
<div class="d-flex justify-content-center">
{% if is_paginated %}
{% include 'partials/pagination.html' %}
{% endif %}
</div>
</div>
{% endblock %}

View File

@ -12,9 +12,9 @@
</div>
<div class="table-responsive px-1 scrollbar">
<table class="table fs-9 mb-0 border-top border-translucent">
<table class="table align-items-center table-flush">
<thead>
<tr>
<tr class="bg-body-highlight">
<th>#</th>
<th class="sort white-space-nowrap align-middle" scope="col">{% trans "Payment Number" %}</th>
<th class="sort white-space-nowrap align-middle" scope="col">{% trans "Invoice" %}</th>

View File

@ -101,9 +101,9 @@
hx-on::after-request="on_after_request()">
</div>
<table class="table table-sm fs-9 mb-0 border-translucent">
<table class="table align-items-center table-flush">
<thead>
<tr>
<tr class="bg-body-highlight">
<th class="sort white-space-nowrap align-middle ps-0" scope="col" data-sort="customer_name" style="width:10%;">
{{ _("Customer Name")}}</th>
<th class="sort align-middle ps-3" scope="col" data-sort="customer_address" style="width:5%;">{{ _("Customer Address")}}</th>