Compare commits

..

No commits in common. "61fa47a35e20352459f4780aa64ff0a877d5fe73" and "d0e21d013fa1da5f769b2fde1a01c81af8dc0e04" have entirely different histories.

997 changed files with 61837 additions and 61847 deletions

BIN
.DS_Store vendored

Binary file not shown.

BIN
inventory/.DS_Store vendored

Binary file not shown.

View File

@ -6,7 +6,6 @@ class InventoryConfig(AppConfig):
def ready(self): def ready(self):
import inventory.signals import inventory.signals
# from decimal import Decimal from decimal import Decimal
# from inventory.models import VatRate from inventory.models import VatRate
# VatRate.objects.get_or_create(rate=Decimal('0.15'), is_active=True) VatRate.objects.get_or_create(rate=Decimal('0.15'), is_active=True)

BIN
static/.DS_Store vendored

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

View File

@ -44,7 +44,7 @@
<th class="align-middle white-space-nowrap text-uppercase" scope="col" style="width: 15%;"> <th class="align-middle white-space-nowrap text-uppercase" scope="col" style="width: 15%;">
<div class="d-inline-flex flex-center"> <div class="d-inline-flex flex-center">
<div class="d-flex align-items-center px-1 py-1 bg-primary-subtle rounded me-2"><span class="text-primary-dark" data-feather="phone"></span></div> <div class="d-flex align-items-center px-1 py-1 bg-primary-subtle rounded me-2"><span class="text-primary-dark" data-feather="phone"></span></div>
<div class="" dir="ltr">{{ _("Phone Number") }}</div> <span>{{ _("Phone Number") }}</span>
</div> </div>
</th> </th>
<th class="align-middle white-space-nowrap text-uppercase" scope="col" style="width: 15%;"> <th class="align-middle white-space-nowrap text-uppercase" scope="col" style="width: 15%;">

View File

@ -13,7 +13,7 @@
<div class="row justify-content-between mb-2"> <div class="row justify-content-between mb-2">
<div class="col-6 col-md-4 col-xxl-2 text-center border-translucent border-start-xxl border-end-xxl-0 border-bottom-xxl-0 border-end border-bottom pb-4 pb-xxl-0 "> <div class="col-6 col-md-4 col-xxl-2 text-center border-translucent border-start-xxl border-end-xxl-0 border-bottom-xxl-0 border-end border-bottom pb-4 pb-xxl-0 ">
<span class="uil fs-5 lh-1 uil-users-alt text-success"></span> <span class="uil fs-5 lh-1 uil-users-alt text-success"></span>
<a href="{% url 'user_list' %}"><h4 class="fs-6 pt-3">{{ staff }}</h4></a> <h4 class="fs-6 pt-3">{{ staff }}</h4>
<p class="fs-9 mb-0">{{ _("Staff")}}</p> <p class="fs-9 mb-0">{{ _("Staff")}}</p>
</div> </div>
<div class="col-6 col-md-4 col-xxl-2 text-center border-translucent border-start-xxl border-end-xxl-0 border-bottom-xxl-0 border-end border-bottom pb-4 pb-xxl-0 "> <div class="col-6 col-md-4 col-xxl-2 text-center border-translucent border-start-xxl border-end-xxl-0 border-bottom-xxl-0 border-end border-bottom pb-4 pb-xxl-0 ">
@ -23,22 +23,22 @@
</div> </div>
<div class="col-6 col-md-4 col-xxl-2 text-center border-translucent border-start-xxl border-end-xxl-0 border-bottom-xxl-0 border-end border-bottom pb-4 pb-xxl-0 "> <div class="col-6 col-md-4 col-xxl-2 text-center border-translucent border-start-xxl border-end-xxl-0 border-bottom-xxl-0 border-end border-bottom pb-4 pb-xxl-0 ">
<span class="uil fs-5 lh-1 uil-user-plus text-warning"></span> <span class="uil fs-5 lh-1 uil-user-plus text-warning"></span>
<a href="{% url 'customer_list' %}"><h4 class="fs-6 pt-3">{{ customers }}</h4></a> <h4 class="fs-6 pt-3">{{ customers }}</h4>
<p class="fs-9 mb-0">{{ _("Customers")}}</p> <p class="fs-9 mb-0">{{ _("Customers")}}</p>
</div> </div>
<div class="col-6 col-md-4 col-xxl-2 text-center border-translucent border-start-xxl border-end-xxl-0 border-bottom-xxl-0 border-end border-bottom pb-4 pb-xxl-0 "> <div class="col-6 col-md-4 col-xxl-2 text-center border-translucent border-start-xxl border-end-xxl-0 border-bottom-xxl-0 border-end border-bottom pb-4 pb-xxl-0 ">
<span class="uil fs-5 lh-1 uil-bill text-info"></span> <span class="uil fs-5 lh-1 uil-bill text-info"></span>
<a href="{% url 'invoice_list' %}"><h4 class="fs-6 pt-3">{{ invoices }}</h4></a> <h4 class="fs-6 pt-3">{{ invoices }}</h4>
<p class="fs-9 mb-0">{{ _("Invoices")}}</p> <p class="fs-9 mb-0">{{ _("Invoices")}}</p>
</div> </div>
<div class="col-6 col-md-4 col-xxl-2 text-center border-translucent border-start-xxl border-end-xxl-0 border-bottom-xxl-0 border-end border-bottom pb-4 pb-xxl-0 "> <div class="col-6 col-md-4 col-xxl-2 text-center border-translucent border-start-xxl border-end-xxl-0 border-bottom-xxl-0 border-end border-bottom pb-4 pb-xxl-0 ">
<span class="uil fs-5 lh-1 uil-comment-alt-question text-success-dark"></span> <span class="uil fs-5 lh-1 uil-comment-alt-question text-success-dark"></span>
<a href="{% url 'estimate_list' %}"><h4 class="fs-6 pt-3">{{ estimates }}</h4></a> <h4 class="fs-6 pt-3">{{ estimates }}</h4>
<p class="fs-9 mb-0">{{ _("Quotations")}}</p> <p class="fs-9 mb-0">{{ _("Quotations")}}</p>
</div> </div>
<div class="col-6 col-md-4 col-xxl-2 text-center border-translucent border-start-xxl border-end-xxl-0 border-bottom-xxl-0 border-end border-bottom pb-4 pb-xxl-0 "> <div class="col-6 col-md-4 col-xxl-2 text-center border-translucent border-start-xxl border-end-xxl-0 border-bottom-xxl-0 border-end border-bottom pb-4 pb-xxl-0 ">
<span class="uil fs-5 lh-1 uil-receipt-alt text-secondary"></span> <span class="uil fs-5 lh-1 uil-receipt-alt text-secondary"></span>
<a href="{% url 'order_list' %}"><h4 class="fs-6 pt-3">{{ purchase_orders }}</h4></a> <h4 class="fs-6 pt-3">{{ purchase_orders }}</h4>
<p class="fs-9 mb-0">{{ _("Purchase Orders")}}</p> <p class="fs-9 mb-0">{{ _("Purchase Orders")}}</p>
</div> </div>
</div> </div>

View File

@ -44,11 +44,6 @@
height: 3cm; height: 3cm;
border-radius: 0.3333333333rem; border-radius: 0.3333333333rem;
} }
.dealer-logo img {
width: 3cm;
height: 1cm;
position: relative;
}
.invoice-details, .invoice-table { .invoice-details, .invoice-table {
font-size: 12px; font-size: 12px;
} }
@ -99,21 +94,17 @@
<table class="table table-sm table-responsive border-gray-50"> <table class="table table-sm table-responsive border-gray-50">
<tr> <tr>
<td> <td>
<div class="d-flex justify-content-center align-items-center"> <div class="qr-code">
<div class="qr-code">
<img src="{% static 'qr_code/Marwan_qr.png' %}" alt="QR Code"> <img src="{% static 'qr_code/Marwan_qr.png' %}" alt="QR Code">
</div>
</div> </div>
</td> </td>
<td></td> <td></td>
<td> <td>
<div class="d-flex justify-content-end align-items-end"> <div class="qr-code">
<div class="dealer-logo ">
{% if dealer.logo %} {% if dealer.logo %}
<img class="rounded-soft" src="{{ dealer.logo.url|default:'' }}" alt="Dealer Logo"/> <img class="rounded-soft" src="{{ dealer.logo.url|default:'' }}" alt="Dealer Logo"/>
{% endif %} {% endif %}
</div> </div>
</div>
</td> </td>
</tr> </tr>
<tr> <tr>