From 0ffd79cee9ed3c8a793a43bb4d789924d256ef3b Mon Sep 17 00:00:00 2001 From: kikimor Date: Tue, 15 Jul 2025 20:57:15 +0300 Subject: [PATCH] payments --- .idea/workspace.xml | 97 ++++---- DepoT/settings.py | 17 +- DepoT/urls.py | 2 + accounts/urls.py | 8 +- accounts/views.py | 70 +++++- booking/views/employee_views.py | 8 +- common/forms/company.py | 17 ++ common/forms/line.py | 17 ++ common/urls.py | 36 ++- common/utils/utils.py | 2 +- common/views/client_views.py | 131 ++++++++++- common/views/employee_views.py | 103 ++++++++- containers/models.py | 14 ++ containers/urls.py | 3 +- containers/views/employee_views.py | 43 +++- damages_api/admin.py | 3 + damages_api/apps.py | 6 + damages_api/migrations/__init__.py | 0 damages_api/models.py | 3 + damages_api/tests.py | 3 + damages_api/urls.py | 7 + damages_api/views.py | 43 ++++ payments/forms.py | 19 ++ payments/models.py | 25 +++ payments/urls.py | 7 + payments/views.py | 44 ++++ preinfo/urls.py | 2 +- preinfo/views/employee_views.py | 12 - static/js/crud-list.js | 97 +++++--- static/styles/forms.css | 33 +++ static/styles/sidebar.css | 8 + static/styles/tables.css | 17 +- templates/client-base.html | 20 -- templates/client-sidebar.html | 15 +- templates/client/line-create.html | 2 +- templates/client/line-list.html | 2 - templates/client/line-update.html | 2 +- templates/employee-base.html | 193 ++-------------- templates/employee-dashboard-content.html | 257 +++++++++------------- templates/employee-sidebar.html | 134 +++++------ templates/employee/booking-list.html | 73 +++--- templates/employee/company-list.html | 4 +- templates/employee/containers-list.html | 45 ++-- templates/employee/line-create.html | 2 +- templates/employee/line-list.html | 8 +- templates/employee/line-update.html | 2 +- templates/employee/payment-create.html | 42 +++- templates/employee/payment-list.html | 88 +++++++- templates/employee/preinfo-list.html | 2 +- templates/list-crud.html | 46 ++-- templates/registration/user-list.html | 48 +++- 51 files changed, 1228 insertions(+), 654 deletions(-) create mode 100644 damages_api/admin.py create mode 100644 damages_api/apps.py create mode 100644 damages_api/migrations/__init__.py create mode 100644 damages_api/models.py create mode 100644 damages_api/tests.py create mode 100644 damages_api/views.py diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 2d5530a..44b4c3d 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -6,51 +6,50 @@ - - - + + + - - - + + - - - - + - - - + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + + @@ -89,10 +88,11 @@ "RunOnceActivity.OpenDjangoStructureViewOnStart": "true", "RunOnceActivity.ShowReadmeOnStart": "true", "RunOnceActivity.git.unshallow": "true", + "RunOnceActivity.pycharm.django.structure.promotion.once.per.project": "true", "django.template.preview.state": "SHOW_EDITOR_AND_PREVIEW", "git-widget-placeholder": "master", "ignore.virus.scanning.warn.message": "true", - "last_opened_file_path": "C:/dev_projects/python/Django/DepoT/templates/client", + "last_opened_file_path": "C:/dev_projects/python/Django/DepoT/templates/employee", "list.type.of.created.stylesheet": "CSS", "node.js.detected.package.eslint": "true", "node.js.detected.package.tslint": "true", @@ -109,17 +109,18 @@ }]]> + + + - - @@ -167,7 +168,7 @@ 1750784740296 - +