Skip to content

fix(bank-payments): show flash messages once - #519

Open
hedon77 wants to merge 1 commit into
Panelica:mainfrom
hedon77:fix/bank-payments-duplicate-flash
Open

hedon77 wants to merge 1 commit into
Panelica:mainfrom
hedon77:fix/bank-payments-duplicate-flash

Conversation

@hedon77

@hedon77 hedon77 commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Fixes the duplicated green import-result bars visible on the BankPayments dashboard after an import.

Cause: the add-on dashboard and mailbox views rendered session('success') / session('error') themselves, while the shared admin layout already renders all flash messages. After an import the same message appeared twice.

  • Removes the duplicate flash block from the BankPayments dashboard.
  • Removes the same duplicate block from the Mailboxes page.
  • Adds a regression test asserting the import result appears exactly once.

Tests

  • BankAssignmentTest: 15 passed, 98 assertions.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant