From 46039534589bd7bc8fe41ffe873b1993cb93579f Mon Sep 17 00:00:00 2001 From: kikimor Date: Wed, 23 Jul 2025 11:08:25 +0300 Subject: [PATCH] fixed crud list fixed payments upload -a --- .idea/workspace.xml | 133 ++--- DepoT/settings.py | 47 +- DepoT/urls.py | 3 +- accounts/forms.py | 2 +- accounts/views.py | 11 + booking/forms.py | 13 +- common/templatetags/filters.py | 20 + common/utils/owncloud_utls.py | 40 ++ common/utils/utils.py | 48 +- common/views/barrier_views.py | 13 +- common_api/urls.py | 2 +- containers/forms.py | 33 +- containers/models.py | 8 + containers/services.py | 4 +- containers/urls.py | 12 +- containers/views/barrier_views.py | 290 ++++++++--- containers/views/employee_views.py | 31 +- damages_api/urls.py | 2 +- damages_api/views.py | 27 +- docker-compose.yml | 11 + dockerfile | 7 + payments/forms.py | 2 +- payments/services.py | 94 ++++ payments/urls.py | 3 +- payments/utils.py | 36 ++ payments/views.py | 200 ++++++- populate_database.txt | 20 + preinfo/forms.py | 12 +- preinfo/views/client_views.py | 3 +- static/images/k-depot-logo.svg | 2 +- static/js/container_validation.js | 35 ++ static/js/crud-list.js | 14 - static/styles/forms.css | 71 ++- static/styles/styles.css | 5 +- static/styles/tables.css | 102 ++-- templates/barrier/barrier-base.html | 61 ++- templates/barrier/barrier-dashboard.html | 109 ++-- templates/client-base.html | 17 + templates/client-sidebar.html | 4 +- templates/client/booking-list.html | 12 +- templates/client/preinfo-list.html | 6 +- templates/container-expedition.html | 74 ++- templates/container-photos.html | 100 +++- templates/container-receive.html | 631 ++--------------------- templates/email.html | 15 +- templates/employee-base.html | 9 + templates/employee/container-search.html | 57 +- templates/employee/containers-list.html | 6 +- templates/employee/payment-create.html | 62 ++- templates/employee/payment-list.html | 14 +- templates/landing-page.html | 2 +- templates/list-crud.html | 50 +- templates/registration/login.html | 1 - 53 files changed, 1510 insertions(+), 1076 deletions(-) create mode 100644 common/utils/owncloud_utls.py diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 44b4c3d..0cd9f48 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -8,48 +8,55 @@ - + - - - - + + - - + + + + + + + + - + + - - + + + + + - + + + - - - + + + + + + - - - - + - - - - + - +