mahyargdz
5e0bd3dce7
update: remove the blog from the response of the update or create blog
2025-09-03 10:03:02 +03:30
mahyargdz
2bb6859afc
feat: add new route to check user access to the service or not
2025-08-23 09:49:49 +03:30
mahyargdz
1d76138ead
feat: add delete route for the invoice
2025-08-21 12:57:58 +03:30
mahyargdz
6c1f8d6358
feat: pay the free subscriptiuon if present in subscribe to plan
2025-08-21 09:12:49 +03:30
mahyargdz
43a3714284
feat: update subscription and service entities with enhancements
...
- Update message enum for better error handling
- Enhance service creation DTO with new fields
- Modify danak-service entity structure
- Update subscription DTOs and entities
- Improve user subscription entity model
2025-08-19 09:32:25 +03:30
mahyargdz
72b1edbe25
feat: implement recurring invoice system for subscription renewals
...
- Add SUBSCRIPTION_RENEWAL_JOB_NAME and related constants for renewal jobs
- Implement createSubscriptionRenewalInvoice in invoice processor
- Add automatic renewal invoice creation 7 days before subscription expiry
- Handle subscription renewals in payInvoice method with period extension
- Add scheduleNextRenewalJob method for continuous renewal scheduling
- Prevent duplicate renewal invoices and jobs
- Skip renewal jobs for free plans
- Send notifications for renewal opportunities
- Fix duplicate job scheduling issue by removing from subscribeToPlan
Features:
- Automatic renewal invoice creation before expiry
- Subscription period extension on renewal payment
- Continuous renewal cycle scheduling
- Comprehensive error handling and validation
- Integration with existing notification system
2025-08-17 10:00:12 +03:30
mahyargdz
ca0510f2c2
feat: add validation to prevent multiple free plan purchases within a month
...
- Add FREE_PLAN_LIMIT_EXCEEDED error message in Persian
- Implement validation logic in subscribeToPlan method to check for existing free plan subscriptions
- Users can only purchase free plans once per month
- Added MoreThan import from TypeORM for date comparison
2025-08-17 09:35:12 +03:30
mahyargdz
d8e91231b3
update: add is free to the subs plan
2025-08-17 09:01:37 +03:30
mahyargdz
5fe82bb661
feat: fix
2025-07-12 14:58:43 +03:30
mahyargdz
ef0f7b3eb5
update: subscription service
2025-06-11 15:56:09 +03:30
Mahyargdz
b5c90e8c2e
chore: add business logic
2025-05-18 11:17:30 +03:30
mahyargdz
170bb867d0
chore: add notif service for new criticisms ticket and subscribtion
2025-05-04 14:48:39 +03:30
mahyargdz
8598ffe67b
fix: bug in the content type parser of fastify
2025-04-22 15:41:56 +03:30
mahyargdz
5883890e7f
refactor: the discount servicer
2025-04-22 15:02:26 +03:30
mahyargdz
3e87de6eae
update: add a permission of blog to the slider controller
2025-04-22 14:49:07 +03:30
mahyargdz
5ef5edc44b
chore: add crude for admin
2025-04-22 12:28:11 +03:30
mahyargdz
b4dd3d2e01
update: fix
2025-04-20 12:30:13 +03:30
mahyargdz
bf3402cc7a
chore: add discount logic to apply to the plan price and ...
2025-04-19 12:36:33 +03:30
mahyargdz
c42f43ee95
chore: complete the discount service and test the logic to create
2025-04-19 10:55:13 +03:30
mahyargdz
d198800362
update: commit for the new file
2025-04-19 09:46:10 +03:30
mahyargdz
cd77db93d0
update: add target service to the announement get by id for admin
2025-04-17 10:51:14 +03:30
mahyargdz
999ce9cee2
update: the danak services module and add new route to fetch the danak service
2025-04-16 15:28:45 +03:30
mahyargdz
167cb15e32
fix: eslint problem
2025-04-14 16:45:01 +03:30
mahyargdz
dff944ef90
update: invoice processor and fix bug
2025-03-09 23:16:00 +03:30
mahyargdz
cdeca5375e
fix: bug in update sub plan
2025-03-09 16:32:24 +03:30
mahyargdz
15187680ce
chore: add queue for invoice reminder logic but not tested
2025-03-07 19:03:45 +03:30
mahyargdz
b92a65c22c
chore: add create customer and update customer for admin
2025-03-06 09:35:59 +03:30
mahyargdz
98734aee9d
chore: add new route to get users of services
2025-03-04 11:38:17 +03:30
mahyargdz
af9f365bc7
update: add review count and also verification from admin panel
2025-03-02 11:49:26 +03:30
mahyargdz
7c1d444c21
refactor: the invoice and subscription flow of user
2025-03-01 17:08:02 +03:30
mahyargdz
ada9c153e6
fix: the bug in transaction list user side
2025-03-01 11:43:52 +03:30
mahyargdz
76feef7645
update: add new field for subscription of user when purchased
2025-02-28 13:03:30 +03:30
mahyargdz
93c5ad49d3
fix: the email vaerification logic error
2025-02-26 20:15:16 +03:30
Matin
35a61ce90e
chore: quick access
2025-02-25 10:38:32 +03:30
Matin
37b8e00445
chore: dashboard report, admin route decorator and guard
2025-02-25 09:10:13 +03:30
Matin
3b0120d338
chore: approve invoice, reports for admin dashboard
2025-02-22 16:04:36 +03:30
Matin
ff96fd6c32
chore: apply discount on plan
2025-02-18 10:10:34 +03:30
mahyargdz
14373bb665
chore: add get user subscriptions route
2025-02-17 15:56:34 +03:30
mahyargdz
763b6b49d9
refactor: the whole role and permission flow
2025-02-17 14:07:27 +03:30
Matin
20d6c5b294
chore: discount module
2025-02-16 16:30:17 +03:30
mahyargdz
caa968ab4a
chore: add new service to add subs to danak services in array
2025-02-13 13:29:14 +03:30
mahyargdz
22198f3240
chore: add some
2025-02-12 10:24:41 +03:30
mahyargdz
49c62018f0
chore: complete the the invoice module - not tested
2025-02-12 10:24:41 +03:30
mahyargdz
75fef18317
fix: import the danakservice module in subscription module
2025-02-09 10:44:09 +03:30
mahyargdz
bc96f62782
fix: bug in repositry of subscriptions
2025-02-08 16:28:25 +03:30
mahyargdz
e4f201bea2
chore: add invoice and subscription entities
2025-02-08 15:28:41 +03:30