Compare commits

...

10 Commits

Author SHA1 Message Date
Marwan Alwali
61fa47a35e Fixed inventory/apps.py 2025-03-16 00:10:12 +03:00
Marwan Alwali
9288141a1e update 2025-03-15 23:36:58 +03:00
Marwan Alwali
52dad03524 update 2025-03-14 04:20:08 +03:00
Marwan Alwali
2ab21be831 update 2025-03-14 02:23:27 +03:00
Marwan Alwali
9e9bc3298f update 2025-03-14 02:13:44 +03:00
Marwan Alwali
e9c9445377 Revert "fixup! update"
This reverts commit 5e5eec299a4432784a9114264f6e7d39402a9812.
2025-03-14 02:12:50 +03:00
Marwan Alwali
5e5eec299a fixup! update 2025-03-14 02:04:21 +03:00
Marwan Alwali
aa3abdb91e update 2025-03-14 01:43:30 +03:00
Marwan Alwali
dd41c388db update 2025-03-12 00:12:12 +03:00
Marwan Alwali
e8e2da284e update 2025-03-09 21:42:12 +03:00
997 changed files with 61847 additions and 61837 deletions

BIN
.DS_Store vendored

Binary file not shown.

Binary file not shown.

BIN
inventory/.DS_Store vendored

Binary file not shown.

View File

@ -6,6 +6,7 @@ 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.

After

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>
<span>{{ _("Phone Number") }}</span> <div class="" dir="ltr">{{ _("Phone Number") }}</div>
</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>
<h4 class="fs-6 pt-3">{{ staff }}</h4> <a href="{% url 'user_list' %}"><h4 class="fs-6 pt-3">{{ staff }}</h4></a>
<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>
<h4 class="fs-6 pt-3">{{ customers }}</h4> <a href="{% url 'customer_list' %}"><h4 class="fs-6 pt-3">{{ customers }}</h4></a>
<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>
<h4 class="fs-6 pt-3">{{ invoices }}</h4> <a href="{% url 'invoice_list' %}"><h4 class="fs-6 pt-3">{{ invoices }}</h4></a>
<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>
<h4 class="fs-6 pt-3">{{ estimates }}</h4> <a href="{% url 'estimate_list' %}"><h4 class="fs-6 pt-3">{{ estimates }}</h4></a>
<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>
<h4 class="fs-6 pt-3">{{ purchase_orders }}</h4> <a href="{% url 'order_list' %}"><h4 class="fs-6 pt-3">{{ purchase_orders }}</h4></a>
<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,6 +44,11 @@
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;
} }
@ -94,17 +99,21 @@
<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="qr-code"> <div class="d-flex justify-content-center align-items-center">
<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="qr-code"> <div class="d-flex justify-content-end align-items-end">
<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>