Payment reporting: monthly per-instructor view + CSV export #8
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Monthly payments view per instructor with a downloadable spreadsheet (CSV) export. Studio admin sees all instructors and can filter; instructors see only their own.
Spec:
docs/features/payment-reporting.mdScope
{prefix}us_payments(no new table); group by month + instructor; join student + offering for displayview_all_payments(admin, all + filter),view_own_payments(instructor, own only),export_paymentsGET /paymentsandGET /payments/export(returnstext/csvwith attachment header); querymonth=YYYY-MM,instructor_idPaymentReportController,PaymentExporter,PaymentRepository::report()Depends on
Payments
Acceptance
tests/Unit/Payment/passingClosing as complete. Implemented and merged in PR #27 (monthly per-instructor report + CSV export, with HST aggregation).