added payments, epay and other stuff

This commit is contained in:
2025-07-21 18:08:01 +03:00
parent 0ffd79cee9
commit 680a508d42
11 changed files with 43 additions and 0 deletions
View File
View File
View File
+7
View File
@@ -0,0 +1,7 @@
from django.urls import path
from .views import validate_container
urlpatterns = [
# ... your other urls
path('api/validate-container/<str:number>/', validate_container, name='validate_container'),
]
+6
View File
@@ -0,0 +1,6 @@
from django.http import JsonResponse
from common.utils.utils import check_container_number_validity
def validate_container(request, number):
is_valid = check_container_number_validity(number)
return JsonResponse({'valid': is_valid})
View File
View File
View File
+10
View File
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>$Title$</title>
</head>
<body>
$END$
</body>
</html>
+10
View File
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>$Title$</title>
</head>
<body>
$END$
</body>
</html>
+10
View File
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>$Title$</title>
</head>
<body>
$END$
</body>
</html>