Files
libra/docs/tasks/6-5.md
T
Naser Mansour 0f9d12c3cf Prepare project for pipeline takeover: task tracker, UX doc, CLAUDE.md pointers
Adds docs/tasks/ (16 epics + 102 stories converted to task/subtask files with
statuses.md as the new status source of truth) and docs/ux-design.md
(retrospective design-system reference), and points CLAUDE.md at them.
docs/prd.md and docs/architecture.md are kept as BMAD wrote them; the legacy
docs/stories/, docs/epics/, docs/qa/gates/ and .bmad-core/ stay in place as
historical/traceability records, superseded but not deleted.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-27 22:02:23 +03:00

31 lines
1.2 KiB
Markdown

---
id: 6-5
title: 6-5 Data Export - Consultation Records
status: QA Review
date: 2026-09-27
parent: 6
---
## Description
As an admin, I want to export consultation/booking data in CSV and PDF formats, So that I can generate reports for accounting, analyze consultation patterns, and maintain offline records of client interactions. Follow the export pattern established in Story 6.4. Reuse any base export functionality created there. Full implementation history: docs/stories/story-6.5-data-export-consultation-records.md
## Acceptance Criteria
- [ ] Export all consultations
- [ ] Export filtered subset based on criteria below
- [ ] Date range (booking_date between start/end)
- [ ] Consultation type (free/paid)
- [ ] Status (pending/approved/completed/no-show/cancelled/rejected)
- [ ] Payment status (pending/received/na)
- [ ] Client name (from user relationship)
- [ ] Date and time (booking_date, booking_time)
- [ ] Consultation type (free/paid)
- [ ] Status
- [ ] Payment status
- [ ] Problem summary (truncated in PDF if > 500 chars)
- [ ] CSV format with streaming download
- [ ] PDF format with professional layout and Libra branding
- [ ] Column headers based on admin's preferred language
- [ ] Use translation keys from `lang/{locale}/export.php`