Files
integreat/resources
Bryce 74f1a49a10 fix(ssr): repair New Invoice + Transaction Edit 500s and broken modal sizes
Three regressions from the SSR rendering-modernization migration, all verified
live via agent-browser:

- BUG A — New Invoice: choosing a client 500'd from /invoice/new/due-date
  (ClassCastException: DateTime cannot be cast to java.util.Date). `due-date`
  and `scheduled-payment-date` called `coerce/from-date` on values already
  decoded to clj-time DateTimes. Drop the coerce; use the decoded dates.

- BUG C — Transaction Edit: any whole-form swap (mode toggle, vendor change,
  add/remove row) 500'd whenever the txn had >=1 autopay-invoice match
  (ClassCastException at links-body*: PersistentVector cannot be cast to Named).
  The autopay link-panel's hidden `action` input was missing `:form ""`, so it
  serialized alongside the main `action` hidden, producing a duplicate param
  that Ring collapsed to a vector. Add `:form ""` to match the unpaid/rule panels.

- Modal sizes: Vendor/Client/Invoice-Pay modals ballooned to full width because
  resources/public/output.css was missing their arbitrary Tailwind size classes.
  Root cause: tailwind.config.js `content` never scanned resources/templates/**/*.html
  (46 Selmer templates the migration introduced), so a rebuild also dropped
  template-only classes like md:w-[950px]. Add the templates glob and rebuild;
  all modal size classes now present, no working modal regressed.

Docs: add 2026-06-27 QA findings + resumable fix task list; cross-link from the
migration plan. Remaining (per the new plan): Vendor/Client inner step-body
overflow, wizard step animations, bulk-edit empty-selection 500, footer EDN leak.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-27 13:11:09 -07:00
..
2020-07-03 17:50:37 -07:00
2023-09-28 20:41:00 -07:00
2023-04-18 11:32:58 -07:00
2019-01-16 21:30:39 -08:00
2018-09-20 18:12:40 -07:00
2018-09-20 18:12:40 -07:00
2018-07-14 21:13:22 -07:00
2019-04-12 10:42:18 -07:00
2026-05-27 08:42:42 -07:00
2019-05-19 08:06:21 -07:00
2018-09-20 18:12:40 -07:00
2024-10-16 15:37:22 -07:00
2026-05-26 21:56:58 -07:00
2020-08-01 17:07:17 -07:00
2020-08-01 17:07:17 -07:00
2020-08-01 17:07:17 -07:00
2018-09-20 18:12:40 -07:00
2018-08-16 21:04:55 -07:00
2020-05-16 16:08:17 -07:00
2020-05-16 16:08:17 -07:00
2020-08-22 17:14:30 -07:00
2022-10-15 10:58:08 -07:00
2025-02-03 21:06:28 -08:00
2026-05-16 00:36:16 -07:00
2020-08-22 17:14:30 -07:00
2020-05-30 10:31:46 -07:00
2020-11-16 18:40:52 -08:00