Commit Graph

8 Commits

Author SHA1 Message Date
John Yeo
38ee1d6d3b wrote tests for roles 2025-06-12 16:47:49 +01:00
John Yeo
798f434f27 fixing track for roles 2025-06-12 12:53:36 +01:00
John Yeo
519752ff44 Refactor and clean up customer-related code:
- Consolidated import statements in `updateStripeSub.ts` and `invoiceRouter.ts`.
- Removed unused `handleDeleteEntity_old.ts` and `getAttachPreview.ts` files.
- Updated entity handling in `entitledRouter.ts` and `handleProductCheck.ts` for better null safety.
- Adjusted parameters in various functions to ensure consistency and clarity.
- Introduced default configuration in `getAttachConfig.ts` for better handling of attach parameters.
- Enhanced proration logic in `priceUtils.ts` and related files for improved billing accuracy.
2025-06-09 20:19:44 +01:00
John Yeo
1115e3e673 testing cont use updates 2025-06-09 10:11:45 +01:00
John Yeo
3d26e27998 working on cont use tracking 2025-06-08 17:43:31 +01:00
John Yeo
f48172b3c9 handling arrear prorated upgrade / downgrade 2025-06-06 19:04:33 +01:00
John Yeo
f109524377 redesigned attach to use branch -> function 2025-06-02 09:43:04 +01:00
John Yeo
b4bb8db409 moving ent to drizzle 2025-05-24 11:25:11 +01:00