- Versioned product specification table (Unrefined Shea Butter v1.0 seed) with spec-based QC evaluation replacing hard-coded thresholds - Structured QC results with test methods and four-eyes verification (submitter cannot self-approve) - reportlab IXG Quality Summary PDF auto-generated on quality approval, SHA-256 hashed; original independent lab PDF kept authoritative - CertificateOfAnalysis version/status/hash/approval/supersede lifecycle; commercial release publishes to buyers and triggers notification - EUDR evidence workflow: Facility, OriginZone, CollectorGroup, HarvestIntake, IntakeBatchLineage, DueDiligenceCase, EUDREvidence, RiskAssessment, MitigationAction, DueDiligenceStatementReference with rule-based completeness check and risk assessment (no AI legal conclusions) - Ops portal: QC Approvals, CoA Reviews, EUDR Compliance screens - Buyer portal: /portal/compliance page - 22 automated tests covering four-eyes, CAPA, PDF+hash, publish/notify, EUDR blocks and buyer isolation
15 lines
681 B
Python
15 lines
681 B
Python
from django.urls import path
|
|
from . import views
|
|
|
|
app_name = 'portal'
|
|
|
|
urlpatterns = [
|
|
path("chat/", views.ChatView.as_view(), name="chat"),
|
|
path("chat/embed/", views.ChatEmbedView.as_view(), name="chat_embed"),
|
|
path('', views.DashboardView.as_view(), name='dashboard'),
|
|
path('batches/', views.BatchListView.as_view(), name='batch_list'),
|
|
path('batches/<uuid:pk>/', views.BatchDetailView.as_view(), name='batch_detail'),
|
|
path('documents/', views.DocumentListView.as_view(), name='document_list'),
|
|
path('subscription/', views.SubscriptionView.as_view(), name='subscription'),
|
|
path('compliance/', views.ComplianceView.as_view(), name='compliance'),
|
|
]
|