Files
Naser Mansour 7f35297025 Mark all libra tasks Done — confirmed live in production ~1 year
Naser confirmed all remaining QA Review / Draft rows (97 subtasks, 16
parent rollups) are done in substance: the site has been in production
for roughly a year. Overrides the conservative QA-Review/Draft mapping
from the prior takeover commit (0f9d12c) at his explicit instruction.

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

31 lines
1.2 KiB
Markdown

---
id: 6-5
title: 6-5 Data Export - Consultation Records
status: Done
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`