• Mahmoud Aglan's avatar
    fix(reports): stop the daily financial print 500ing on any day with a payment · 131911dc
    Mahmoud Aglan authored
    dailyFinancial() eager-loaded `createdBy` on Payment. That relation does not
    exist — Payment names it `creator`, after the person rather than the column,
    and the print view has always read `$payment->creator`. Eloquent throws
    RelationNotFoundException on an eager load it cannot resolve, so this was not
    a missed optimisation: the report 500'd on every date that had a confirmed
    inbound payment and only rendered on an empty day, which is why it survived.
    
    Caught by BranchScopedScreensTest, which renders every staff screen; it had
    been failing on reports.daily-print.
    Co-Authored-By: 's avatarClaude Opus 5 (1M context) <noreply@anthropic.com>
    131911dc
Name
Last commit
Last update
..
Financial Loading commit data...
Portal Loading commit data...
CertificateController.php Loading commit data...
ContactFormController.php Loading commit data...
Controller.php Loading commit data...
DocumentController.php Loading commit data...
ExpenseAttachmentController.php Loading commit data...
ExportController.php Loading commit data...
GroupSchedulePrintController.php Loading commit data...
HealthController.php Loading commit data...
InvoicePrintController.php Loading commit data...
MemberFileController.php Loading commit data...
ParticipantCardController.php Loading commit data...
PublicDocumentController.php Loading commit data...
PublicEventController.php Loading commit data...
PublicWebsiteController.php Loading commit data...
ReceiptController.php Loading commit data...
ReportPrintController.php Loading commit data...
SchedulePrintController.php Loading commit data...
WebsitePageController.php Loading commit data...