diff --git a/.DS_Store b/.DS_Store index 512642ef..8640cae4 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/car_inventory/__pycache__/settings.cpython-311.pyc b/car_inventory/__pycache__/settings.cpython-311.pyc index 55aabaa5..e01d2827 100644 Binary files a/car_inventory/__pycache__/settings.cpython-311.pyc and b/car_inventory/__pycache__/settings.cpython-311.pyc differ diff --git a/requirements.txt b/requirements.txt index ad9d08cd..15f8295f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,235 +1,270 @@ -aiohappyeyeballs -aiohttp -aiohttp-retry -aiosignal -alabaster -albucore -annotated-types -anyio -arabic-reshaper -asgiref -astor -astroid -attrs -autopep8 -Babel -beautifulsoup4 -bleach -blinker -Brotli -cattrs -certifi -cffi -chardet -charset-normalizer -click -colorama -commonmark -contourpy -crispy-bootstrap5 -cryptography -cycler -Cython -decorator -desert -diff-match-patch -dill -distro -dj-rest-auth -dj-shop-cart -Django -django-allauth -django-appointment -django-autoslug -django-bootstrap5 -django-classy-tags -django-cors-headers -django-countries -django-crispy-forms -django-debug-toolbar -django-extensions -django-filter -django-formtools -django-import-export -django-ledger -django-model-utils -django-money -django-next-url-mixin -django-nine -django-nonefield -django-ordered-model -django-pdf-actions -django-phonenumber-field -django-picklefield -django-plans -django-prometheus -django-q2 -django-schema-graph -django-sekizai -django-sequences -django-silk -django-sms -django-sslserver -django-tables2 -django-treebeard -django-view-breadcrumbs -djangocms-admin-style -djangorestframework -djangorestframework_simplejwt -djangoviz -docopt -docutils -easy-thumbnails -emoji -Faker -filelock -fire -fonttools -fpdf2 -frozenlist -fsspec -gprof2dot -graphqlclient -greenlet -h11 -h2 -hpack -hstspreload -httpcore -httpx -hyperframe -icalendar -idna -imageio -imagesize -imgaug -iso4217 -isodate -isort -itsdangerous -Jinja2 -jiter -joblib -kiwisolver -lazy_loader -ledger -libretranslatepy -Markdown -markdown-it-py -MarkupSafe -marshmallow -matplotlib -mccabe -mdurl -MouseInfo -mpmath -multidict -mypy-extensions -networkx -newrelic -nltk -num2words -numpy -oauthlib -ofxtools -openai -opencv-contrib-python -opencv-python -opencv-python-headless -openpyxl -opt_einsum -outcome -packaging -pandas -pango -pdfkit -platformdirs -prometheus_client -propcache -protobuf -psycopg-binary -py-moneyed -PyAutoGUI -pyclipper -pycodestyle -pycparser -pydotplus -pydyf -PyGetWindow -Pygments -PyJWT -pylint -PyMsgBox -pyparsing -pypdf -PyPDF2 -pyperclip -pyphen -pypng -PyRect -PyScreeze -pyserial -PySocks -python-bidi -python-dateutil -python-docx -python-openid -python-stdnum -python3-saml -pytweening -pytz -pyvin -pyzbar -qrcode -RapidFuzz -regex -reportlab -requests -requests-oauthlib -rfc3986 -rich -rubicon-objc -sacremoses -selenium -sentencepiece -shapely -simsimd -six -sniffio -snowballstemmer -sortedcontainers -soupsieve -sqlparse -stanza -stringzilla -suds -tablib -termcolor -threadpoolctl -tifffile -tomli -tomlkit -tqdm -trio -trio-websocket -typing-inspect -typing_extensions -tzdata -Unidecode -upgrade-requirements -urllib3 -vishap -vpic-api -weasyprint -webencodings -websocket-client -Werkzeug -wikipedia -wsproto -yarl -zopfli -python-dotenv -psycopg2-binary -phonenumbers -swapper -pillow \ No newline at end of file +aiohappyeyeballs==2.6.1 +aiohttp==3.11.13 +aiohttp-retry==2.9.1 +aiosignal==1.3.2 +alabaster==1.0.0 +albucore==0.0.23 +albumentations==2.0.5 +annotated-types==0.7.0 +anyio==4.8.0 +arabic-reshaper==3.0.0 +asgiref==3.8.1 +astor==0.8.1 +astroid==3.3.9 +attrs==25.3.0 +autopep8==2.3.2 +Babel==2.15.0 +beautifulsoup4==4.13.3 +bleach==6.2.0 +blinker==1.9.0 +Brotli==1.1.0 +cattrs==24.1.2 +certifi==2025.1.31 +cffi==1.17.1 +chardet==5.2.0 +charset-normalizer==3.4.1 +click==8.1.8 +colorama==0.4.6 +commonmark==0.9.1 +contourpy==1.3.1 +crispy-bootstrap5==2024.10 +cryptography==44.0.2 +cssselect2==0.8.0 +ctranslate2==4.5.0 +cycler==0.12.1 +Cython==3.1.0a1 +decorator==5.2.1 +defusedxml==0.7.1 +desert==2020.11.18 +diff-match-patch==20241021 +dill==0.3.9 +distro==1.9.0 +dj-rest-auth==7.0.1 +dj-shop-cart==8.0.0a2 +Django==5.1.7 +django-allauth==65.4.1 +django-appointment==3.8.0 +django-autoslug==1.9.9 +django-background-tasks==1.2.8 +django-bootstrap5==25.1 +django-classy-tags==4.1.0 +django-cors-headers==4.7.0 +django-countries==7.6.1 +django-crispy-forms==2.3 +django-debug-toolbar==5.0.1 +django-extensions==3.2.3 +django-filter==25.1 +django-formtools==2.5.1 +django-import-export==4.3.7 +django-ledger==0.7.5.2 +django-model-utils==5.0.0 +django-money==3.5.3 +django-next-url-mixin==0.4.0 +django-nine==0.2.7 +django-nonefield==0.4 +django-ordered-model==3.7.4 +django-pdf-actions==0.1.44 +django-phonenumber-field==8.0.0 +django-picklefield==3.3 +django-plans==2.0.0 +django-prometheus==2.3.1 +django-q2==1.7.6 +django-schema-graph==3.1.0 +django-sekizai==4.1.0 +django-sequences==3.0 +django-silk==5.3.2 +django-simple-history==3.8.0 +django-sms==0.7.0 +django-sslserver==0.22 +django-tables2==2.7.5 +django-treebeard==4.7.1 +django-view-breadcrumbs==2.5.1 +djangocms-admin-style==3.3.1 +djangorestframework==3.15.2 +djangorestframework_simplejwt==5.5.0 +djangoviz==0.1.1 +docopt==0.6.2 +docutils==0.21.2 +easy-thumbnails==2.10 +emoji==2.14.1 +et_xmlfile==2.0.0 +Faker==37.0.0 +filelock==3.17.0 +fire==0.7.0 +Flask==3.1.0 +fonttools==4.56.0 +fpdf2==2.8.2 +frozenlist==1.5.0 +fsspec==2025.3.0 +gprof2dot==2024.6.6 +graphqlclient==0.2.4 +greenlet==3.1.1 +h11==0.14.0 +h2==4.2.0 +hpack==4.1.0 +hstspreload==2025.1.1 +httpcore==1.0.7 +httpx==0.28.1 +hyperframe==6.1.0 +icalendar==6.1.1 +idna==3.10 +imageio==2.37.0 +imagesize==1.4.1 +imgaug==0.4.0 +iso4217==1.12.20240625 +isodate==0.7.2 +isort==6.0.1 +itsdangerous==2.2.0 +Jinja2==3.1.6 +jiter==0.9.0 +joblib==1.4.2 +kiwisolver==1.4.8 +lazy_loader==0.4 +ledger==1.0.1 +libretranslatepy==2.1.4 +lmdb==1.6.2 +luhnchecker==0.0.12 +lxml==5.3.1 +Markdown==3.7 +markdown-it-py==3.0.0 +MarkupSafe==3.0.2 +marshmallow==3.26.1 +matplotlib==3.10.1 +mccabe==0.7.0 +mdurl==0.1.2 +MouseInfo==0.1.3 +mpmath==1.3.0 +multidict==6.1.0 +mypy-extensions==1.0.0 +networkx==3.4.2 +newrelic==10.7.0 +nltk==3.9.1 +num2words==0.5.14 +numpy==2.2.3 +oauthlib==3.2.2 +ofxtools==0.9.5 +openai==1.66.3 +opencv-contrib-python==4.11.0.86 +opencv-python==4.11.0.86 +opencv-python-headless==4.11.0.86 +openpyxl==3.1.5 +opt_einsum==3.4.0 +outcome==1.3.0.post0 +packaging==24.2 +pandas==2.2.3 +pango==0.0.1 +pdfkit==1.0.0 +phonenumbers==9.0.0 +pillow==11.1.0 +platformdirs==4.3.6 +prometheus_client==0.21.1 +propcache==0.3.0 +protobuf==6.30.1 +psycopg==3.2.6 +psycopg-binary==3.2.6 +psycopg-c==3.2.6 +psycopg2-binary==2.9.10 +py-moneyed==3.0 +PyAutoGUI==0.9.54 +pyclipper==1.3.0.post6 +pycodestyle==2.12.1 +pycparser==2.22 +pydantic==2.10.6 +pydantic_core==2.31.1 +pydotplus==2.0.2 +pydyf==0.11.0 +PyGetWindow==0.0.9 +Pygments==2.19.1 +PyJWT==2.10.1 +pylint==3.3.5 +PyMsgBox==1.0.9 +PyMySQL==1.1.1 +pyobjc-core==11.0 +pyobjc-framework-Cocoa==11.0 +pyobjc-framework-Quartz==11.0 +pyparsing==3.2.1 +pypdf==5.3.1 +PyPDF2==3.0.1 +pyperclip==1.9.0 +pyphen==0.17.2 +pypng==0.20220715.0 +PyRect==0.2.0 +PyScreeze==1.0.1 +pyserial==3.5 +PySocks==1.7.1 +python-bidi==0.6.6 +python-dateutil==2.9.0.post0 +python-docx==1.1.2 +python-dotenv==1.0.1 +python-openid==2.2.5 +python-stdnum==1.20 +python3-saml==1.16.0 +pytweening==1.2.0 +pytz==2025.1 +pyvin==0.0.2 +pywa==2.7.0 +pywhat==5.1.0 +pywhatkit==5.4 +PyYAML==6.0.2 +pyzbar==0.1.9 +qrcode==8.0 +RapidFuzz==3.12.2 +regex==2024.11.6 +reportlab==4.3.1 +requests==2.32.3 +requests-oauthlib==2.0.0 +rfc3986==2.0.0 +rich==13.9.4 +rubicon-objc==0.5.0 +sacremoses==0.1.1 +scikit-image==0.25.2 +scikit-learn==1.6.1 +scipy==1.15.2 +selenium==4.29.0 +sentencepiece==0.2.0 +shapely==2.0.7 +simsimd==6.2.1 +six==1.17.0 +sniffio==1.3.1 +snowballstemmer==2.2.0 +sortedcontainers==2.4.0 +soupsieve==2.6 +SQLAlchemy==2.0.39 +sqlparse==0.5.3 +stanza==1.10.1 +stringzilla==3.12.3 +suds==1.2.0 +swapper==1.4.0 +sympy==1.13.1 +tablib==3.8.0 +termcolor==2.5.0 +threadpoolctl==3.6.0 +tifffile==2025.3.13 +tinycss2==1.4.0 +tinyhtml5==2.0.0 +tomli==2.2.1 +tomlkit==0.13.2 +torch==2.6.0 +tqdm==4.67.1 +trio==0.29.0 +trio-websocket==0.12.2 +twilio==9.5.0 +typing-inspect==0.9.0 +typing_extensions==4.12.2 +tzdata==2025.1 +Unidecode==1.3.8 +upgrade-requirements==1.7.0 +urllib3==2.3.0 +vin==0.6.2 +vininfo==1.8.0 +vishap==0.1.5 +vpic-api==0.7.4 +weasyprint==64.1 +webencodings==0.5.1 +websocket-client==1.8.0 +Werkzeug==3.1.3 +wikipedia==1.4.0 +wsproto==1.2.0 +xmlsec==1.3.15 +yarl==1.18.3 +zopfli==0.2.3.post1 diff --git a/templates/administration/user_profile.html b/templates/administration/user_profile.html index 00b74e10..093e94e4 100644 --- a/templates/administration/user_profile.html +++ b/templates/administration/user_profile.html @@ -165,7 +165,23 @@ {% for working_hour in working_hours %} - {{ working_hour.get_day_of_week_str }} + + {% if working_hour.day_of_week == 0 %} + {{ _("Sunday") }} + {% elif working_hour.day_of_week == 1 %} + {{ _("Monday") }} + {% elif working_hour.day_of_week == 2 %} + {{ _("Tuesday") }} + {% elif working_hour.day_of_week == 3 %} + {{ _("Wednesday") }} + {% elif working_hour.day_of_week == 4 %} + {{ _("Thursday") }} + {% elif working_hour.day_of_week == 5 %} + {{ _("Friday") }} + {% elif working_hour.day_of_week == 6 %} + {{ _("Saturday") }} + {% endif %} + {{ working_hour.start_time|time:"g:i A" }} {{ working_hour.end_time|time:"g:i A" }} diff --git a/templates/dashboards/manager.html b/templates/dashboards/manager.html index 51f9651d..929da8cd 100644 --- a/templates/dashboards/manager.html +++ b/templates/dashboards/manager.html @@ -37,7 +37,7 @@
-

{{ purchase_orders }}

+

{{ purchase_orders }}

{{ _("Purchase Orders")}}

diff --git a/templates/header.html b/templates/header.html index e17519ee..1280a869 100644 --- a/templates/header.html +++ b/templates/header.html @@ -366,13 +366,13 @@ {% if user.is_authenticated and request.is_dealer or request.is_staff %} - +