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> <h3 class="mb-3"><i class="fa-solid fa-receipt"></i> {% trans "Invoices" %}</h3>
<div class="table-responsive px-1 scrollbar"> <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> <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 "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 "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" %}</th>

View File

@ -5,12 +5,12 @@
{% block content %} {% block content %}
<div class="row mt-4"> <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"> <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> <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 "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 "Customer" %}</th>
<th class="sort white-space-nowrap align-middle" scope="col">{% trans "For Quotation" %}</th> <th class="sort white-space-nowrap align-middle" scope="col">{% trans "For Quotation" %}</th>
@ -28,12 +28,6 @@
{{ order.estimate }} {{ order.estimate }}
</a> </a>
</td> </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> </tr>
{% empty %} {% empty %}
<tr> <tr>

View File

@ -8,9 +8,9 @@
<h3 class="mb-3"><i class="fa-solid fa-right-left"></i> {% trans "Transactions" %}</h3> <h3 class="mb-3"><i class="fa-solid fa-right-left"></i> {% trans "Transactions" %}</h3>
<div class="table-responsive px-1 scrollbar"> <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> <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 "#" %}</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 "Timestamp" %}</th>
<th class="sort white-space-nowrap align-middle" scope="col">{% trans "Account Name" %}</th> <th class="sort white-space-nowrap align-middle" scope="col">{% trans "Account Name" %}</th>
@ -39,8 +39,11 @@
</tbody> </tbody>
</table> </table>
</div> </div>
<div class="d-flex justify-content-center"> <div class="d-flex justify-content-center">
</div> {% if is_paginated %}
{% include 'partials/pagination.html' %}
{% endif %}
</div>
</div> </div>
{% endblock %} {% endblock %}

View File

@ -12,9 +12,9 @@
</div> </div>
<div class="table-responsive px-1 scrollbar"> <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> <thead>
<tr> <tr class="bg-body-highlight">
<th>#</th> <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 "Payment Number" %}</th>
<th class="sort white-space-nowrap align-middle" scope="col">{% trans "Invoice" %}</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()"> hx-on::after-request="on_after_request()">
</div> </div>
<table class="table table-sm fs-9 mb-0 border-translucent"> <table class="table align-items-center table-flush">
<thead> <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%;"> <th class="sort white-space-nowrap align-middle ps-0" scope="col" data-sort="customer_name" style="width:10%;">
{{ _("Customer Name")}}</th> {{ _("Customer Name")}}</th>
<th class="sort align-middle ps-3" scope="col" data-sort="customer_address" style="width:5%;">{{ _("Customer Address")}}</th> <th class="sort align-middle ps-3" scope="col" data-sort="customer_address" style="width:5%;">{{ _("Customer Address")}}</th>