Commit Graph

5 Commits

Author SHA1 Message Date
Knee Cola
494d358130 feat: add rent-due share page for rent payment information
Created a new /share/rent-due/ page to display rent payment information
separately from utility bills.

Changes:
- Created /share/rent-due/[id]/ page structure with RentViewPage component
- Created ViewRentCard component to display rent amount and payment info
- Added uploadRentProofOfPayment action for tenant proof upload
- Added translation keys for rent-specific labels (en/hr)
- Updated rent email templates to link to /share/rent-due/ instead of /share/bills-due/
- Updated documentation to reflect new URL structure

The rent page displays:
- Rent amount
- IBAN or Revolut payment information with QR/barcode
- Rent proof of payment upload (when enabled)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-31 11:56:01 +01:00
Knee Cola
1e83172491 refactor: rename share URL path from location to bills-due
- Renamed directory: app/[locale]/share/location -> app/[locale]/share/bills-due
- Updated all URL references in web-app (billActions, locationActions, ViewBillCard)
- Updated all URL references in email-worker templates (4 email templates)
- Updated documentation in sprints/email-worker.md

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-31 11:27:50 +01:00
Knee Cola
bb66ebe3b1 fix: use zero-width spaces to prevent email auto-linking
Replace &#46; encoding with zero-width space (&#8203;) approach to prevent
email clients from auto-linking "rezije.app" in header and body text.

Changed "rezije.app" to "rezije&#8203;.&#8203;app" which displays normally
but breaks the auto-link detection pattern.

Applied to:
- Header h1 tags in all templates
- Body text mentions in email-validation template

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-30 19:17:15 +01:00
Knee Cola
a7d13ba6dc fix: encode period in email template header to prevent auto-linking
Replace the period in "rezije.app" header text with HTML entity &#46; to
prevent email clients from automatically converting it into a clickable link.

This change only affects the display text in the h1 header, not the actual
URLs which remain unchanged for proper functionality.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-30 19:09:22 +01:00
Knee Cola
5a7fb35bd8 (refactor) moved email templates to emaikl-worker workspace 2025-12-30 18:03:28 +01:00