Implement exchange imports and frontend reporting APIs
Some checks failed
CI/CD Pipeline / Code Quality Checks (push) Failing after 3m50s
CI/CD Pipeline / Run Tests (push) Successful in 3m57s
CI/CD Pipeline / Build Docker Images (push) Has been skipped
CI/CD Pipeline / Push to Gitea Registry (push) Has been skipped
CI/CD Pipeline / Deploy to Server (push) Has been skipped
Some checks failed
CI/CD Pipeline / Code Quality Checks (push) Failing after 3m50s
CI/CD Pipeline / Run Tests (push) Successful in 3m57s
CI/CD Pipeline / Build Docker Images (push) Has been skipped
CI/CD Pipeline / Push to Gitea Registry (push) Has been skipped
CI/CD Pipeline / Deploy to Server (push) Has been skipped
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
"""Админка формы Ф-6."""
|
||||
|
||||
from django.contrib import admin
|
||||
|
||||
from apps.core.admin_mixins import HiddenFromAdminIndexMixin
|
||||
from apps.core.admin_paper_forms import PaperFormPreviewAdminMixin
|
||||
from apps.form_6.models import FormF6Record
|
||||
from django.contrib import admin
|
||||
|
||||
|
||||
@admin.register(FormF6Record)
|
||||
@@ -68,7 +69,13 @@ class FormF6RecordAdmin(
|
||||
"physical_wear_percent",
|
||||
"created_at",
|
||||
]
|
||||
list_filter = ["report_year", "report_quarter", "is_active_version", "load_batch", "created_at"]
|
||||
list_filter = [
|
||||
"report_year",
|
||||
"report_quarter",
|
||||
"is_active_version",
|
||||
"load_batch",
|
||||
"created_at",
|
||||
]
|
||||
search_fields = ["organization__name", "organization__inn", "row_code", "category"]
|
||||
readonly_fields = [
|
||||
"id",
|
||||
@@ -86,7 +93,15 @@ class FormF6RecordAdmin(
|
||||
fieldsets = [
|
||||
(
|
||||
"Основная информация",
|
||||
{"fields": ["id", "organization", "load_batch", "report_year", "report_quarter"]},
|
||||
{
|
||||
"fields": [
|
||||
"id",
|
||||
"organization",
|
||||
"load_batch",
|
||||
"report_year",
|
||||
"report_quarter",
|
||||
]
|
||||
},
|
||||
),
|
||||
(
|
||||
"Версия записи",
|
||||
|
||||
Reference in New Issue
Block a user