Reports: account drill-down to GL; bids/quotes PDF attachments

- P&L and Balance Sheet account rows are now clickable and open the
  General Ledger filtered to that account (its transaction list for the COA).
  Adds StructuredRow.accountId, threaded from the report builders, with a
  clickable row in StructuredTable and an initialAccountId prop on
  GeneralLedgerReport.
- Bids/Quotes: PDF upload on the New Bid/Quote dialog (bid-attachments
  bucket + document_url/document_name columns), shown as a link on the
  bid Details dialog.

Migration applied: bids_quotes_pdf_attachments.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-03 00:47:11 -04:00
parent c3a0682e57
commit c3d1d86b07
5 changed files with 90 additions and 13 deletions
+2
View File
@@ -9,6 +9,8 @@ export type StructuredRow = {
code?: string;
amount?: number;
compare?: number;
/** GL account id for per-account rows — enables drill-down from on-screen reports. */
accountId?: string;
};
export type StructuredReport = {