Compare commits
10 Commits
d0e21d013f
...
61fa47a35e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
61fa47a35e | ||
|
|
9288141a1e | ||
|
|
52dad03524 | ||
|
|
2ab21be831 | ||
|
|
9e9bc3298f | ||
|
|
e9c9445377 | ||
|
|
5e5eec299a | ||
|
|
aa3abdb91e | ||
|
|
dd41c388db | ||
|
|
e8e2da284e |
BIN
car_inventory/__pycache__/settings.cpython-311.pyc
Normal file
BIN
car_inventory/__pycache__/settings.cpython-311.pyc
Normal file
Binary file not shown.
BIN
inventory/.DS_Store
vendored
BIN
inventory/.DS_Store
vendored
Binary file not shown.
@ -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
BIN
static/.DS_Store
vendored
Binary file not shown.
BIN
static/images/.DS_Store
vendored
BIN
static/images/.DS_Store
vendored
Binary file not shown.
BIN
static/images/logos/users/Logo-all.png
Normal file
BIN
static/images/logos/users/Logo-all.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
@ -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%;">
|
||||||
|
|||||||
@ -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>
|
||||||
|
|||||||
@ -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>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user