Files
bigcapital/packages/server/src/modules
Ahmed Bouhuolia 3575d54efa fix: add attachment support for all transaction types
Fixed attachments not showing in edit forms for various transaction types by:

1. Adding @InjectAttachable() decorator to models:
   - SaleReceipt, SaleEstimate, CreditNote, PaymentReceived
   - Bill, BillPayment, VendorCredit
   - ManualJournal, Expense

2. Fixing transformers to include attachments in API responses:
   - SaleReceiptTransformer, PaymentReceivedTransformer

3. Registering missing event subscribers in Attachment.module.ts:
   - AttachmentsOnSaleReceipts, AttachmentsOnSaleEstimates

4. Fixing DocumentLink model relation mapping:
   - Changed Document.default to Document for proper module export

5. Fixing PaymentReceived model_ref consistency:
   - Changed from 'PaymentReceive' to 'PaymentReceived' to match class name

6. Adding missing withGraphFetched('attachments') to GetPaymentReceived.service.ts

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-26 23:16:12 +02:00
..
2026-01-29 20:37:04 +02:00
2026-02-23 00:37:56 +02:00
wip
2026-01-15 22:04:51 +02:00
2026-02-01 16:53:21 +02:00
2025-12-22 22:49:58 +02:00
wip
2025-11-19 23:42:06 +02:00
2025-12-18 21:21:54 +02:00
2025-11-30 22:38:00 +02:00
wip
2025-12-29 22:06:49 +02:00