fix(members,subscriptions): drop due-date column from family tables, collect...
fix(members,subscriptions): drop due-date column from family tables, collect annual subscription via الخزنة
- Remove the "تاريخ الاستحقاق" column from the spouses/children/temporary
members tables on the member show page (display-only, no schema change).
- Annual subscription payments no longer post directly from the
اشتراك سنوي page. SubscriptionController::payYear() now queues a
payment_request instead of calling PaymentService::processPayment()
directly; the subscription rows are only marked paid once خزنة العضويات
(Membership Treasury / Cashier) actually collects it, via a new
payment_request.completed listener
(SubscriptionSyncService::completeFamilyYearPayment()).
- Closed the same bypass on the legacy generic /payments/process/{id}
page, which had its own divergent partial-payment, oldest-year-first
logic for annual_subscription that skipped the treasury entirely and
violated the all-or-nothing-per-family rule; that path now redirects to
the member's subscriptions page instead.
Co-Authored-By:
Claude Sonnet 5 <noreply@anthropic.com>
Showing
Please register or sign in to comment