Ahmed Bouhuolia
3bf2803360
feat(trpc): implement tRPC integration for accounts module
...
- Add tRPC server setup with NestJS (nestjs-trpc)
- Create AccountsTrpcRouter with CRUD operations
- Add tRPC client configuration in webapp
- Create tRPC React hooks for accounts module
- Replace existing REST hooks with tRPC hooks across 35+ files
- Maintain backward compatibility with existing REST API
- Add proper cache invalidation for mutations
New files:
- packages/server/src/modules/Trpc/*
- packages/webapp/src/trpc.ts
- packages/webapp/src/hooks/trpc/*
- shared/bigcapital-utils/src/trpc.ts
Dependencies added:
- @trpc/server, @trpc/client, @trpc/react-query
- nestjs-trpc, superjson
- @tanstack/react-query
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-02-24 04:34:04 +02:00
Ahmed Bouhuolia
2a87103bc8
fix: Add DELETE endpoint for credit notes applied invoices
...
- Add missing DELETE /credit-notes/applied-invoices/:id endpoint
- Fix CreditNotesApplyInvoice controller to use correct service methods
- Add missing GetCreditNoteAssociatedInvoicesToApply endpoint
- Add proper DTO for ApplyCreditNoteToInvoices
- Update frontend creditNote hook to use correct API paths
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-02-24 02:15:32 +02:00
Ahmed Bouhuolia
fcee85e358
fix: add dark mode support to email confirmation UI
...
Refactored RegisterVerify component to use xstyled for styling
with proper dark mode color values instead of hardcoded light theme colors.
2026-02-23 00:48:32 +02:00
Ahmed Bouhuolia
ce9f2a238f
fix: signup confirmation
2026-02-23 00:37:56 +02:00
Ahmed Bouhuolia
78032d7bfc
fix: invite user service issues
2026-02-18 12:32:04 +02:00
Ahmed Bouhuolia
8416b45f4e
fix: correct cash flow transaction type naming inconsistencies
...
- Fix typo ONWERS_DRAWING -> OWNERS_DRAWING in server constants
- Change OwnerDrawing -> owner_drawing for consistency in webapp
- Fix typo TRANSACRIONS_TYPE -> TRANSACTIONS_TYPE
- Fix typo OnwersDrawing -> OwnerDrawing
- Add missing Icon and FDateInput imports
- Add dark mode styling for BranchRowDivider
Co-Authored-By: Claude Code <noreply@anthropic.com >
2026-02-16 23:02:38 +02:00
Ahmed Bouhuolia
174aec78ca
fix(webapp): send mail preview style
2026-02-16 17:45:04 +02:00
Ahmed Bouhuolia
2d39e38578
fix(server): premissions guard for read and write endpoints
2026-02-15 22:55:10 +02:00
Ahmed Bouhuolia
36cbb1eef5
fix: use DrawerActionsBar instead of DashboardActionsBar in drawer components
...
Replace DashboardActionsBar with DrawerActionsBar in all drawer action bars
for consistency with the design system:
- ContactDetailActionsBar
- CustomerDetailsActionsBar
- VendorCreditDetailActionsBar
- TaxRateDetailsContentActionsBar
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-12 23:19:16 +02:00
Ahmed Bouhuolia
e0d9a56a29
fix: tax rates API and UI improvements
...
- Add @ToNumber() decorator to rate field for proper validation
- Fix getTaxRates to return { data: taxRates } response
- Fix useTaxRate URL typo and response handling
- Fix activate/inactivate endpoint methods and paths
- Apply TEXT_MUTED class to description and compound tax
- Add dark mode support for rate number display
2026-02-12 20:06:49 +02:00
Ahmed Bouhuolia
25ca620836
fix: add consistent Box wrapper to paper template forms in customize components
2026-02-12 14:59:55 +02:00
Ahmed Bouhuolia
a1d0fc3f0a
Merge pull request #941 from bigcapitalhq/fix/ahmedbouhuolia/phone-validation-formatted-numbers
...
fix(webapp): allow formatted phone numbers in customer and vendor forms
2026-02-11 18:39:52 +02:00
Ahmed Bouhuolia
11575cfb96
fix(webapp): allow formatted phone numbers in customer and vendor forms
2026-02-11 18:37:39 +02:00
Ahmed Bouhuolia
09ff72d302
fix: add TypeScript types to If component
2026-02-09 19:52:17 +02:00
Ahmed Bouhuolia
7375512fec
refactor: update UniversalSearch components with TypeScript and TextStatus
2026-02-09 19:26:26 +02:00
Ahmed Bouhuolia
c47acdee03
fix(webapp): correct API endpoint URLs for universal search
...
Update resource URL mappings to match backend NestJS controller routes:
- /sales/invoices -> /sale-invoices
- /sales/estimates -> /sale-estimates
- /sales/receipts -> /sale-receipts
- /purchases/bills -> /bills
- /sales/payment_receives -> /payments-received
- /purchases/bill_payments -> /bill-payments
- /sales/credit_notes -> /credit-notes
- /purchases/vendor-credit -> /vendor-credits
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com >
2026-02-09 13:40:18 +02:00
Ahmed Bouhuolia
36bfa573ad
🐛 fix(manual-journal): fix race condition in form submission handlers
...
Fix the order of setSubmitPayload and submitForm calls in all six
button handlers to prevent race condition where submitForm reads
stale state before setSubmitPayload updates it.
Changes:
- handleSubmitPublishBtnClick
- handleSubmitPublishAndNewBtnClick
- handleSubmitPublishContinueEditingBtnClick
- handleSubmitDraftBtnClick
- handleSubmitDraftAndNewBtnClick
- handleSubmitDraftContinueEditingBtnClick
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com >
2026-02-07 16:58:57 +02:00
Ahmed Bouhuolia
afab02a053
feat(webapp): add blurry background to sticky data table cells
...
Add backdrop-filter blur effect to sticky column cells in financial reports
to prevent content from showing through during horizontal scrolling.
The effect only applies when rows are not hovered to preserve hover
background interactions.
2026-02-05 15:27:45 +02:00
Ahmed Bouhuolia
c571f50a74
fix(items): correct error type handling and add swagger documentation
...
- Fix error type mismatch: change 'ITEM.NAME.ALREADY.EXISTS' to 'ITEM_NAME_EXISTS'
- Add ItemErrorType constant with UpperCamelCase keys for better maintainability
- Update all error checks to use the new ItemErrorType constant
- Add ItemErrorResponse.dto.ts with documented error types for swagger
- Add @ApiResponse decorators to document 400 validation errors in swagger
2026-02-04 21:42:39 +02:00
Ahmed Bouhuolia
0963394b04
fix(webapp): account delete error handling response types
2026-02-04 21:27:25 +02:00
Ahmed Bouhuolia
6cab0651fc
Merge pull request #927 from bigcapitalhq/feature/20260202223150
...
fix(webapp): darkmode warehouses list page
2026-02-02 22:36:42 +02:00
Ahmed Bouhuolia
4af537d6dd
fix(webapp): darkmode warehouses list page
2026-02-02 22:31:53 +02:00
Ahmed Bouhuolia
10225bbfed
fix(webapp): constrant not found row color
2026-02-02 18:51:52 +02:00
Ahmed Bouhuolia
02be959461
fix(webapp): normalize api path
2026-02-01 18:05:51 +02:00
Ahmed Bouhuolia
7874b9f765
fix(ci): dockerfile build script
2026-01-28 23:40:32 +02:00
Ahmed Bouhuolia
488556bb59
fix(webapp): vendor/customer edit opening balance
2026-01-27 22:06:57 +02:00
Ahmed Bouhuolia
421f0c26a7
fix(server): mark compute inventory cost flag
2026-01-25 21:59:44 +02:00
Ahmed Bouhuolia
6da7e8185c
fix: bill response with entries
2026-01-21 13:39:56 +02:00
Ahmed Bouhuolia
bf821885c0
Merge branch 'develop' into more-e2e-test-cases
2026-01-18 15:01:49 +02:00
Ahmed Bouhuolia
3dfe884413
fix(webapp): pagination darkmode
2026-01-17 23:33:10 +02:00
Ahmed Bouhuolia
7ee161733f
fix: landed cost dialog
2026-01-17 21:42:27 +02:00
Ahmed Bouhuolia
532aa07e7f
fix(webapp): cancel the written-off invoice
2026-01-16 19:08:07 +02:00
Ahmed Bouhuolia
769eaebc76
fix(webapp): unexclude bank transactions
2026-01-16 18:52:12 +02:00
Ahmed Bouhuolia
2bbc154f18
wip
2026-01-15 22:04:51 +02:00
Ahmed Bouhuolia
3c1273becb
wip
2026-01-12 01:04:28 +02:00
Ahmed Bouhuolia
2186828516
fix(server): bank accounts filter
2026-01-09 20:00:44 +02:00
Ahmed Bouhuolia
e063597a80
fix(server): refund credit note gl entries
2026-01-08 00:27:43 +02:00
Ahmed Bouhuolia
0475ce136a
fix: bugs bashing
...
- Added English translations for customer types in `customer.json`.
- Updated `Model.ts` to improve deletion logic by filtering dependent relations.
- Introduced `BillPaymentBillSyncSubscriber` to handle bill payment events.
- Enhanced `CreateBillPaymentService` and `EditBillPaymentService` to fetch entries after insertion/updating.
- Updated `SaleInvoiceCostGLEntries` to include item entry details in GL entries.
- Refactored various components in the webapp for consistency in naming conventions.
2026-01-04 01:24:10 +02:00
Ahmed Bouhuolia
ee92c2815b
fix: darkmode ui bugs
2026-01-03 18:24:33 +02:00
Ahmed Bouhuolia
885d8014c2
fix: account transactions don't show up
2026-01-01 22:13:47 +02:00
Ahmed Bouhuolia
0f377e19f3
refactor: HOCs named imports
2026-01-01 21:58:42 +02:00
Ahmed Bouhuolia
ead4fc9b97
fix: refund credit notes
2026-01-01 17:03:48 +02:00
Ahmed Bouhuolia
350d229e98
feat(transactions-locking): enable settings schema and add dark mode support
2025-12-29 23:35:34 +02:00
Ahmed Bouhuolia
00aad6e35c
wip
2025-12-29 22:06:49 +02:00
Ahmed Bouhuolia
872fc661ce
bugs bashing
2025-12-28 12:01:24 +02:00
Ahmed Bouhuolia
7cb169bce9
fix: darkmode bank transaction drawer
2025-12-23 19:57:31 +02:00
Ahmed Bouhuolia
6fea7779da
refactor(webapp): bound Formik fields
2025-12-22 23:25:43 +02:00
Ahmed Bouhuolia
a9a7cd8617
fix: import bank transactions
2025-12-22 22:49:58 +02:00
Ahmed Bouhuolia
b294a72a26
refactor: date input field
2025-12-21 23:34:11 +02:00
Ahmed Bouhuolia
31f5cbf335
fix: accounts suggest field
2025-12-21 16:11:01 +02:00