From ec6ca7dfd7cb857292595669de86507d1ee609e1 Mon Sep 17 00:00:00 2001
From: Marwan Alwali
Date: Sun, 16 Feb 2025 12:56:14 +0300
Subject: [PATCH] update
---
inventory/__pycache__/admin.cpython-311.pyc | Bin 7337 -> 7644 bytes
inventory/admin.py | 12 +-
locale/ar/LC_MESSAGES/django.po | 117 ++++++++++++++++----
templates/inventory/car_list_view.html | 22 ++--
4 files changed, 116 insertions(+), 35 deletions(-)
diff --git a/inventory/__pycache__/admin.cpython-311.pyc b/inventory/__pycache__/admin.cpython-311.pyc
index 9d071e16f489f641d0678d911fbe1497b9fca6b1..44e0e8c8bdaa344489f5a60f26471701ed8c6c23 100644
GIT binary patch
delta 1907
zcmaJ>O>7%Q6y9Ci>$SZb|JV7G^XIhLh7{AZO-tes5=4W*rcxpfLB(vm<6z_1W;RLH
z3-+N0A5bY8Bn}9vHvhh3UvoHkp2429B7{OL}mLQ$y@6*Uf~08N>6W
z7vM9Fa4Wpdtq3~5Vk36qSQA!6T>!StlomAlvc8@xs=R62$`wj3_|0`R<4MtI4|e?C#j?Zr4lI>-bVX
zn~;N5MQ6(YbFpV%x=@u~&8efXRdl|AqHt~3r_exv9W+~O4N
zL-uJG8o}enEJ8E70ggAP9vQC5^{?+26BH|n8j_OvV8FmMzV#|1hGMRSGS@(or_7YpqNjgFpNfr({kPl5o)QPm?OH5uO%
zc5FNU-;R?NGJ*fIwk?i5gd{Wr;rK86!5Pe*um%52BlkGuzRVu_dt%M}O&1hSS)-)5
zv3+<>5}=~;Gy&OOWQ&1#W(o#6rZ)!@1!zWVdgt5Hqt`l!Oyd|rmi-!7Zp1ik6?iIm
zUBvCAvk=8{<(Uz@0-R0cT}3!?`ow3u*{O!+aXCU6n(->YNgvst0f}veCL0mXv#&zS
zQ!ORXytf+1x#fVMAVv6)y%>(kR-E{mQZKW7xVH0Gc$OzNxFJn<5)ZI-QCioX>4edw
z_CB#L0_zsF7*@espG#K7Vhxx+;4YO(CYQ}+G`u`5b4?cvzgf1v=h?kTuWE&JI>djZ
z8Mrz&3uKml08%_O!{uPVMDE+&953#C+7Ix
k-181R<^+C@e`?`l8z=O`?16w|2NEpX`Mvjh-j1372T%-zGynhq
delta 1544
zcmaJ>&2Jl35Z_(fyX*C?zt&D{;?#EPsNJ~fM;d6-CbS^})C#+m;w!it?{iq!v8}h}
zqY_ecs1QO(1r0|I2#`=N6(|?(T#FJ=5n+W;4;%krijYJ~bZ-1X_70gqFnuToadfehwu>xFt=)U-CHoE}P;h
zh^rIf(0##?iP$;~1!dZ_B!R7YFbqfntr^Zz7)w25m5;E_APaUCRUE{bJ;FH47$^Vn
zo;%__&$AdTOY|_yg%MV$HOE;o#)==Xl#5PcO|X*C55Ee3Xz!%AC5q+K2m?!^I<7T%
zkjlcN=p=j<$t&otZigVMO^@qu61v{?NWEik5?}37hfue(0X40n`@st7+cd`L7a*e-
zU(8^vXYjP8(Ijq6gcJi`Z@XTfb70nET>dR^v@Fet_Yc_0WrF{UJHz>h{TS!7%*FjPv5phlNVXy%eF$q#y@
z-Sh+9^_C|wbD=Row;&9x)?mG2`P3xOohqT%7HQ0-fgPJHyejfD1L=dM8
zhItM)5~bPyPLQTqvSamLWR5C)lgM2k>fKiUU+=L4p2Z9ZFT-RqE6%~CWlP)wMK>DiQY`Uh9~GCOLC^fJ56bFgHdKQWI1M>@#6isNm<`)1A>mQ1mwqwEE=
zA>4*tvo0q9oG$X7MHr^CUhO@UKzfPf2vFDuD;PG&(jXuitO=rgYYQxX-*YH`M&m(VE!POAHMYQ
gjqip0V\n"
"Language-Team: LANGUAGE \n"
@@ -395,11 +395,13 @@ msgid "Cancelled"
msgstr "ملغى"
#: inventory/models.py:277 templates/inventory/car_inventory.html:99
+#: templates/inventory/car_list_view.html:85
#: venv/lib/python3.11/site-packages/django_ledger/templates/django_ledger/invoice/tags/invoice_item_formset.html:21
msgid "Available"
msgstr "متاح"
#: inventory/models.py:278 templates/inventory/car_inventory.html:101
+#: templates/inventory/car_list_view.html:87
msgid "Sold"
msgstr "تم البيع"
@@ -413,10 +415,12 @@ msgstr "تالف"
#: inventory/models.py:281 templates/index.html:24
#: templates/inventory/car_inventory.html:105
+#: templates/inventory/car_list_view.html:86
msgid "Reserved"
msgstr "محجوزة"
-#: inventory/models.py:282 templates/inventory/car_location_form.html:8
+#: inventory/models.py:282 templates/inventory/car_list_view.html:88
+#: templates/inventory/car_location_form.html:8
#: templates/inventory/transfer_preview.html:213
msgid "Transfer"
msgstr "نقل"
@@ -519,6 +523,7 @@ msgid "Vendor"
msgstr "المورد"
#: inventory/models.py:353 inventory/models.py:1131
+#: templates/inventory/car_list_view.html:63
#: templates/inventory/car_list_view.html:110
#: templates/sales/estimates/estimate_detail.html:125
#: templates/sales/estimates/sale_order_preview.html:239
@@ -528,6 +533,7 @@ msgid "Make"
msgstr "الصانع"
#: inventory/models.py:361 inventory/models.py:1138
+#: templates/inventory/car_list_view.html:72
#: templates/inventory/car_list_view.html:111
#: templates/sales/estimates/estimate_detail.html:126
#: templates/sales/estimates/sale_order_preview.html:240
@@ -540,6 +546,7 @@ msgstr "الموديل"
#: templates/inventory/car_form.html:56
#: templates/inventory/car_form_qabl alfalsafa.html:61
#: templates/inventory/car_inventory.html:54
+#: templates/inventory/car_list_view.html:78
#: templates/inventory/car_list_view.html:112
#: templates/ledger/reports/components/period_navigator.html:21
#: templates/sales/estimates/estimate_detail.html:127
@@ -1308,12 +1315,15 @@ msgstr "ملاحظة"
msgid "Notes"
msgstr "ملاحظات"
+#: inventory/models.py:1359
msgid "From Email"
msgstr "من البريد الإلكتروني"
+#: inventory/models.py:1360
msgid "To Email"
msgstr "إلى البريد الإلكتروني"
+#: inventory/models.py:1361
msgid "Subject"
msgstr "الموضوع"
@@ -1818,24 +1828,37 @@ msgstr "تم إنشاء المنظمة بنجاح."
msgid "Estimate is not ready for review"
msgstr "التقدير غير جاهز للمراجعة."
+#: inventory/views.py:2778
msgid "Estimate is not ready for approval"
msgstr "التقدير غير جاهز للموافقة."
+#: inventory/views.py:2781
msgid "Estimate approved successfully."
msgstr "تمت الموافقة على التقدير بنجاح."
+#: inventory/views.py:2784
msgid "Estimate is not ready for rejection"
msgstr "التقدير غير جاهز للرفض."
+#: inventory/views.py:2787
msgid "Estimate canceled successfully."
msgstr "تم إلغاء التقدير بنجاح."
+#: inventory/views.py:2790
msgid "Estimate is not ready for completion"
msgstr "التقدير غير جاهز للإكمال."
+#: inventory/views.py:3297
+#, fuzzy
+#| msgid "User deleted successfully."
+msgid "Note deleted successfully."
+msgstr "تم حذف المستخدم بنجاح."
+
+#: inventory/views.py:3369
msgid "Email Draft successfully!"
msgstr "تم حفظ مسودة البريد الإلكتروني بنجاح!"
+#: inventory/views.py:3394 inventory/views.py:4007
msgid "Email sent successfully!"
msgstr "تم إرسال البريد الإلكتروني بنجاح!"
@@ -3793,18 +3816,24 @@ msgstr "وضع علامة مقروء"
msgid "Opportunity details"
msgstr "تفاصيل الفرصة"
+#: templates/crm/opportunities/opportunity_detail.html:17
+#: templates/sales/estimates/estimate_detail.html:4
msgid "View Quotation"
msgstr "مشاهدة عرض السعر"
+#: templates/crm/opportunities/opportunity_detail.html:86
msgid "Other Information"
msgstr "معلومات أخرى"
+#: templates/crm/opportunities/opportunity_detail.html:92
msgid "Update Status"
msgstr "تحديث الحالة"
+#: templates/crm/opportunities/opportunity_detail.html:99
msgid "Update Stage"
msgstr "تحديث المرحلة"
+#: templates/crm/opportunities/opportunity_detail.html:117
msgid "Quotation Amount"
msgstr "مبلغ عرض السعر"
@@ -4903,9 +4932,30 @@ msgstr "لا توجد سيارات متاحة."
msgid "Error loading options."
msgstr "خطأ في تحميل الخيارات."
+#: templates/inventory/car_list_view.html:41
msgid "Filter"
msgstr "تصفية"
+#: templates/inventory/car_list_view.html:84
+#: venv/lib/python3.11/site-packages/django_ledger/templates/django_ledger/bills/bill_list.html:98
+#: venv/lib/python3.11/site-packages/django_ledger/templates/django_ledger/bills/bill_list.html:110
+#: venv/lib/python3.11/site-packages/django_ledger/templates/django_ledger/closing_entry/closing_entry_list.html:76
+#: venv/lib/python3.11/site-packages/django_ledger/templates/django_ledger/closing_entry/closing_entry_list.html:88
+#: venv/lib/python3.11/site-packages/django_ledger/templates/django_ledger/estimate/estimate_list.html:98
+#: venv/lib/python3.11/site-packages/django_ledger/templates/django_ledger/estimate/estimate_list.html:110
+#: venv/lib/python3.11/site-packages/django_ledger/templates/django_ledger/invoice/invoice_list.html:94
+#: venv/lib/python3.11/site-packages/django_ledger/templates/django_ledger/invoice/invoice_list.html:106
+#: venv/lib/python3.11/site-packages/django_ledger/templates/django_ledger/journal_entry/je_list.html:100
+#: venv/lib/python3.11/site-packages/django_ledger/templates/django_ledger/journal_entry/je_list.html:112
+#: venv/lib/python3.11/site-packages/django_ledger/templates/django_ledger/ledger/ledger_list.html:101
+#: venv/lib/python3.11/site-packages/django_ledger/templates/django_ledger/ledger/ledger_list.html:113
+#: venv/lib/python3.11/site-packages/django_ledger/templates/django_ledger/purchase_order/po_list.html:99
+#: venv/lib/python3.11/site-packages/django_ledger/templates/django_ledger/purchase_order/po_list.html:111
+msgid "All"
+msgstr "الكل"
+
+#: templates/inventory/car_list_view.html:157
+#: templates/sales/sales_list.html:230
msgid "Export"
msgstr "تصدير"
@@ -6318,6 +6368,7 @@ msgstr "لم يتم العثور على ممثلين للشركات."
msgid "Quotation"
msgstr "عرض سعر"
+#: templates/sales/estimates/estimate_detail.html:42
msgid "Send Quotation"
msgstr "إرسال عرض السعر"
@@ -6338,12 +6389,16 @@ msgstr "إنشاء أمر بيع"
msgid "Preview"
msgstr "عرض"
+#: templates/sales/estimates/estimate_detail.html:66
+#: templates/sales/estimates/estimate_list.html:14
msgid "Quotation Number"
msgstr "رقم عرض السعر"
+#: templates/sales/estimates/estimate_detail.html:76
msgid "Quotation Date"
msgstr "تاريخ عرض السعر"
+#: templates/sales/estimates/estimate_detail.html:100
msgid "Quotation Status"
msgstr "حالة عرض السعر"
@@ -6558,9 +6613,11 @@ msgstr "عرض المعالملات"
msgid "No Payments Found"
msgstr "لم يتم العثور على عملية دفع"
+#: templates/sales/sales_list.html:135
msgid "Customer Address"
msgstr "عنوان العميل"
+#: templates/sales/sales_list.html:136
msgid "Customer Phone"
msgstr "هاتف العميل"
@@ -11223,23 +11280,6 @@ msgstr "أحدث الفواتير"
msgid "Go to month:"
msgstr "الذهاب إلى الشهر:"
-#: venv/lib/python3.11/site-packages/django_ledger/templates/django_ledger/bills/bill_list.html:98
-#: venv/lib/python3.11/site-packages/django_ledger/templates/django_ledger/bills/bill_list.html:110
-#: venv/lib/python3.11/site-packages/django_ledger/templates/django_ledger/closing_entry/closing_entry_list.html:76
-#: venv/lib/python3.11/site-packages/django_ledger/templates/django_ledger/closing_entry/closing_entry_list.html:88
-#: venv/lib/python3.11/site-packages/django_ledger/templates/django_ledger/estimate/estimate_list.html:98
-#: venv/lib/python3.11/site-packages/django_ledger/templates/django_ledger/estimate/estimate_list.html:110
-#: venv/lib/python3.11/site-packages/django_ledger/templates/django_ledger/invoice/invoice_list.html:94
-#: venv/lib/python3.11/site-packages/django_ledger/templates/django_ledger/invoice/invoice_list.html:106
-#: venv/lib/python3.11/site-packages/django_ledger/templates/django_ledger/journal_entry/je_list.html:100
-#: venv/lib/python3.11/site-packages/django_ledger/templates/django_ledger/journal_entry/je_list.html:112
-#: venv/lib/python3.11/site-packages/django_ledger/templates/django_ledger/ledger/ledger_list.html:101
-#: venv/lib/python3.11/site-packages/django_ledger/templates/django_ledger/ledger/ledger_list.html:113
-#: venv/lib/python3.11/site-packages/django_ledger/templates/django_ledger/purchase_order/po_list.html:99
-#: venv/lib/python3.11/site-packages/django_ledger/templates/django_ledger/purchase_order/po_list.html:111
-msgid "All"
-msgstr "الكل"
-
#: venv/lib/python3.11/site-packages/django_ledger/templates/django_ledger/bills/bill_list.html:107
#: venv/lib/python3.11/site-packages/django_ledger/templates/django_ledger/closing_entry/closing_entry_list.html:85
#: venv/lib/python3.11/site-packages/django_ledger/templates/django_ledger/estimate/estimate_list.html:107
@@ -12353,57 +12393,92 @@ msgstr "إنشاء مورد جديد"
msgid "Vendor Update"
msgstr "تحديث المورد"
+#: venv/lib/python3.11/site-packages/django_pdf_actions/models.py:17
+#, python-format
msgid "%(value)s is not a valid hex color. Format should be #RRGGBB or #RGB"
msgstr "%(value)s ليس لون سداسي عشري صالح. يجب أن يكون التنسيق #RRGGBB أو #RGB"
+#: venv/lib/python3.11/site-packages/django_pdf_actions/models.py:53
+#, fuzzy
+#| msgid "Invoice Configuration"
+msgid "Name of this configuration"
+msgstr "تكوين الفاتورة"
+
+#: venv/lib/python3.11/site-packages/django_pdf_actions/models.py:57
msgid "Only one configuration can be active at a time"
msgstr "يمكن أن يكون هناك تكوين نشط واحد فقط في كل مرة"
+#: venv/lib/python3.11/site-packages/django_pdf_actions/models.py:64
msgid "Number of items to display per page"
msgstr "عدد العناصر التي سيتم عرضها لكل صفحة"
+#: venv/lib/python3.11/site-packages/django_pdf_actions/models.py:69
msgid "Page margin in millimeters"
msgstr "هامش الصفحة بالمليمترات"
+#: venv/lib/python3.11/site-packages/django_pdf_actions/models.py:77
+#, fuzzy
+#| msgid "Request next available slot"
+msgid "Select font from available system fonts"
+msgstr "طلب الفترة الزمنية المتاحة التالية"
+
+#: venv/lib/python3.11/site-packages/django_pdf_actions/models.py:82
msgid "Font size for headers"
msgstr "حجم الخط للعناوين"
+#: venv/lib/python3.11/site-packages/django_pdf_actions/models.py:87
msgid "Font size for table content"
msgstr "حجم الخط لمحتوى الجدول"
+#: venv/lib/python3.11/site-packages/django_pdf_actions/models.py:93
msgid "Logo to display on PDF"
msgstr "الشعار المعروض في ملف PDF"
+#: venv/lib/python3.11/site-packages/django_pdf_actions/models.py:99
msgid "Header background color (hex format, e.g. #F0F0F0)"
msgstr "لون خلفية العنوان (تنسيق سداسي عشري، مثل #F0F0F0)"
+#: venv/lib/python3.11/site-packages/django_pdf_actions/models.py:103
msgid "Grid line color (hex format, e.g. #000000)"
msgstr "لون خطوط الشبكة (تنسيق سداسي عشري، مثل #000000)"
+#: venv/lib/python3.11/site-packages/django_pdf_actions/models.py:108
msgid "Grid line width in points"
msgstr "عرض خطوط الشبكة بالنقاط"
+#: venv/lib/python3.11/site-packages/django_pdf_actions/models.py:114
msgid "Display the header with model name"
msgstr "عرض العنوان مع اسم النموذج"
+#: venv/lib/python3.11/site-packages/django_pdf_actions/models.py:118
msgid "Display the logo in the PDF"
msgstr "عرض الشعار في ملف PDF"
+#: venv/lib/python3.11/site-packages/django_pdf_actions/models.py:122
msgid "Display export timestamp"
msgstr "عرض الطابع الزمني للتصدير"
+#: venv/lib/python3.11/site-packages/django_pdf_actions/models.py:126
msgid "Display page numbers"
msgstr "عرض أرقام الصفحات"
+#: venv/lib/python3.11/site-packages/django_pdf_actions/models.py:133
msgid "Spacing between table cells in millimeters"
msgstr "المسافة بين خلايا الجدول بالمليمترات"
+#: venv/lib/python3.11/site-packages/django_pdf_actions/models.py:138
msgid "Maximum characters per line before wrapping"
msgstr "الحد الأقصى لعدد الأحرف في السطر قبل الانتقال إلى سطر جديد"
-msgid "There can only be one active configuration. Please deactivate the current active configuration first."
-msgstr "يمكن أن يكون هناك تكوين نشط واحد فقط. يرجى إلغاء تنشيط التكوين الحالي أولاً."
+#: venv/lib/python3.11/site-packages/django_pdf_actions/models.py:152
+msgid ""
+"There can only be one active configuration. Please deactivate the current "
+"active configuration first."
+msgstr ""
+"يمكن أن يكون هناك تكوين نشط واحد فقط. يرجى إلغاء تنشيط التكوين الحالي أولاً."
+#: venv/lib/python3.11/site-packages/django_pdf_actions/models.py:156
+#: venv/lib/python3.11/site-packages/django_pdf_actions/models.py:157
msgid "Export PDF Settings"
msgstr "إعدادات تصدير PDF"
diff --git a/templates/inventory/car_list_view.html b/templates/inventory/car_list_view.html
index 3cd5674c..2b1051f3 100644
--- a/templates/inventory/car_list_view.html
+++ b/templates/inventory/car_list_view.html
@@ -60,32 +60,32 @@
- {{car.id_car_trim.get_local_name|default:car.id_ca_trim.name }}
+ {{car.id_car_trim }}
|
{{car.vin}}
|