# Quick Setup After Pull - January 26, 2025

Andrew, after you pull this code, you need to install one new library:

## Required Step

```bash
# Install TCPDF library (needed for PDF generation)
ddev composer install

# Clear cache
ddev drush cr
```

## What Was Added

- **City Payment Report** - Multi-season PDF reports at `/admin/ccsoccer/reports/city-payment`
- **Schedule PDFs** - Full schedule and "My Schedule" PDFs with download links on schedule pages
- **TCPDF Library** - PHP library for PDF generation (installed via composer)

## Test It Works

1. Go to `/admin/ccsoccer/reports/city-payment`
2. Select one or more seasons
3. Click "Generate PDF Report"
4. Should download a PDF with 3 pages per season

5. Go to `/schedule` (while logged in)
6. Click "Printer Friendly (pdf)" at bottom
7. Should download full schedule PDF

8. Go to `/my-schedule` (while logged in and registered)
9. Click "Printer Friendly (pdf)" at bottom
10. Should download your schedule with your games bolded

## Files Changed

All changes are in `/web/modules/custom/ccsoccer/src/`:
- New: `Service/PdfService.php` (base class)
- New: `Service/CityReportService.php` 
- New: `Service/SchedulePdfService.php`
- New: `Form/CityPaymentReportForm.php`
- New: `Controller/ReportController.php`
- Modified: `Controller/ContentController.php` (footer links)
- Modified: `ccsoccer.services.yml` (3 new services)
- Modified: `ccsoccer.routing.yml` (5 new routes)

Plus: `composer.json` updated with tcpdf dependency

---

See `SESSION_HANDOFF.md` for full details.
