HH/templates/projects/partials/phase_column.html
ismail 7369d08012
All checks were successful
Build and Push Docker Image / build (push) Successful in 4m14s
feat: unified reference numbers + feedback modules QA audit
Reference numbers (unified scheme PREFIX-YYYYMM-HOSP-NNNN, e.g. CMP-202606-HHN-0001):
- new ReferenceSequence model + generate_reference() helper (apps/core)
- Complaint/Inquiry/Observation/Appreciation/Suggestion emit unified refs via save()
- prefix-based auto-routing in public track API (CMP/INQ/OBS trackable; APR/SGT internal-only)
- removed legacy CMP-/INQ- generators in ui_views, integrations, px_sources
- migrations: core.0003_referencesequence, appreciation.0006, feedback.0008, observations.0012
- unit tests (format, sanitization, monthly reset, 40-thread concurrency)

QA audit:
- isolated E2E hospital sandbox mirroring HH-N + 10 role users (create_e2e_isolated_env)
- feedback-modules-audit.spec.ts + audit helper (headed, run-to-completion)
- reports/feedback-modules-qa-report.md

Also bundles accumulated in-progress work across complaints, observations,
organizations, templates, and other modules.
2026-06-14 14:29:23 +03:00

29 lines
1.5 KiB
HTML

{% load i18n %}
<div class="phase-column bg-slate-50 rounded-2xl border border-slate-200 overflow-hidden flex flex-col"
style="min-height: 400px;"
id="phase-column-{{ phase_type }}-{{ phase_key }}">
<!-- Header -->
<div class="p-3 bg-white border-b border-slate-200">
{% include "projects/partials/phase_header.html" with project=project phase_obj=phase_obj phase_key=phase_key phase_label=phase_label tasks_count=tasks_count can_edit=can_edit phase_type=phase_type %}
</div>
<!-- Task List -->
<div class="flex-grow p-3 overflow-y-auto" style="max-height: 500px;">
{% include "projects/partials/phase_task_list.html" with tasks=tasks project=project can_edit=can_edit today=today phase_type=phase_type phase_key=phase_key %}
</div>
<!-- Add Task Button -->
{% if can_edit %}
<div class="p-3 bg-white border-t border-slate-200">
<button hx-get="{% url 'projects:htmx_task_create' project_pk=project.pk phase_type=phase_type phase=phase_key %}"
hx-target="#taskModalContent"
onclick="openTaskModal('{% trans "Add Task" %}')"
class="w-full py-2 border-2 border-dashed border-slate-300 rounded-xl text-sm font-semibold text-slate-500 hover:border-blue-400 hover:text-blue-600 hover:bg-blue-50 transition flex items-center justify-center gap-2">
<i data-lucide="plus" class="w-4 h-4"></i>
{% trans "Add Task" %}
</button>
</div>
{% endif %}
</div>