Skip to content

fix: resolve double slash issue in report print functionality#1051

Merged
abouolia merged 2 commits intobigcapitalhq:developfrom
matbalba09:feature-reports-print
Mar 26, 2026
Merged

fix: resolve double slash issue in report print functionality#1051
abouolia merged 2 commits intobigcapitalhq:developfrom
matbalba09:feature-reports-print

Conversation

@matbalba09
Copy link
Copy Markdown
Contributor

This PR fixes the issue when clicking the "Print" button in the Reports tab (Balance Sheet, Trial Balance Sheet, Journal, General Ledger, etc.), PDF would fail because the URL constructed for Gotenberg contained a double slash:
https://example.com/api//reports/balance-sheet?...

  • Fixes the double slash (/api//) issue in report print functionality by correcting URL construction and ensuring consistent path handling across the codebase.

@abouolia abouolia merged commit ad0451f into bigcapitalhq:develop Mar 26, 2026
2 checks passed
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.

2 participants