Commit Graph

80 Commits

Author SHA1 Message Date
saharbolboliankhah 2883a9c70e fix(invoice): fix bug when deleting invoice 2025-10-25 19:28:53 +03:30
mahyargdz 5e0bd3dce7 update: remove the blog from the response of the update or create blog 2025-09-03 10:03:02 +03:30
mahyargdz 672fe9b783 chore: add new access log module 2025-09-02 16:58:39 +03:30
mahyargdz 1d76138ead feat: add delete route for the invoice 2025-08-21 12:57:58 +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 b7dcc994f6 chore: implenet the external invoice 2 2025-07-14 12:28:40 +03:30
mahyargdz 11b8164c28 chore: implenet the external invoice 2025-07-14 10:37:44 +03:30
mahyargdz 74eede394e fix: the enum of recuuring period for invoice 2025-05-31 11:26:49 +03:30
mahyargdz f7cd91d67f fix: the invoice date instead of the invoice due date for admin nitify 2025-05-31 11:20:13 +03:30
mahyargdz cfaac752d4 update: the invoice update by admin logic 2025-05-31 11:17:30 +03:30
Mahyargdz 56ead7c57b fix: the problem in the invoice pay 2025-05-25 10:13:21 +03:30
Mahyargdz 15c7b841fe fix: the discount code bug in apply for invoice 2025-05-25 09:23:29 +03:30
mahyargdz e03f95a17a update: add telegram logger 2025-05-23 19:06:44 +03:30
Mahyargdz b5c90e8c2e chore: add business logic 2025-05-18 11:17:30 +03:30
Mahyargdz 2ac29d1a91 chore: add direct payment for invoice 2025-05-14 16:31:05 +03:30
Mahyargdz eae5981ea1 fix: big 2025-05-14 15:33:09 +03:30
Mahyargdz d2af460de3 chore: add ticket queue 2025-05-14 09:49:12 +03:30
Mahyargdz 1d8e8ec07f update: change the invoice status 2025-05-13 11:46:15 +03:30
Mahyargdz e3a75f16a0 update: add no paginate to the user get 2025-05-13 10:49:15 +03:30
Mahyargdz e8402b673f chore: add wallet deduct notification 2025-05-11 16:06:14 +03:30
Mahyargdz 3d915930a7 chore: add user to the invoice 2025-05-08 10:39:19 +03:30
mahyargdz 9faa75b049 feat: implement invoice processing and discount management 2025-05-07 15:34:17 +03:30
mahyargdz 9cd28e8130 feat: dont inactive the old suport plan and after pay the invoice make it inactive 2025-05-07 11:53:24 +03:30
mahyargdz 61135e5eef feat: pay invoice of the free support plan 2025-05-07 09:34:52 +03:30
mahyargdz 8b4267807b feat: implement support plan upgrade functionality with invoice creation 2025-05-06 12:31:55 +03:30
mahyargdz 1ea3195f4f feat: implement support plan subscription functionality 2025-05-05 17:01:49 +03:30
mahyargdz c3ad2a1733 chore: add all notification sewrvice to the queue 2025-05-04 16:19:59 +03:30
mahyargdz d50b18b8aa fix: remove check length for the notif settings 2025-05-04 15:11:08 +03:30
mahyargdz 170bb867d0 chore: add notif service for new criticisms ticket and subscribtion 2025-05-04 14:48:39 +03:30
mahyargdz c46cad7ecc update: the cascade option for user raltaions to other entities 2025-04-29 22:43:45 +03:30
mahyargdz 4da56ec742 update: invoice user for the 2025-04-23 16:13:08 +03:30
mahyargdz 10a7653451 update: the invoice service 2025-04-23 14:29:48 +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 03d8c431fa chore: add manaual refer for ticket of super admin 2025-04-21 16:17:48 +03:30
mahyargdz e7d547f19b refactor: the invoice queue logic 2025-04-21 14:52:38 +03:30
mahyargdz db9fff066b refactor: the invoice service 2025-04-19 16:28:39 +03:30
mahyargdz 1567d61aca chore: add queue for the discount invalidation 2025-04-19 16:19:36 +03:30
mahyargdz 9a12a68cf3 update: change the discount field of the invoice item from int to decimal 2025-04-19 12:51:43 +03:30
mahyargdz bf3402cc7a chore: add discount logic to apply to the plan price and ... 2025-04-19 12:36:33 +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 f9cb3cf653 fix: bug 2025-04-17 09:52:54 +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 0b62341908 chore: add loger for the telegram sender 2025-03-28 16:10:12 +03:30
mahyargdz 146c38025a chore: fix bug 2025-03-12 15:05:56 +03:30
mahyargdz cba2d21d94 fix: the announcement count for user dashboard 2025-03-11 14:28:04 +03:30
mahyargdz 6eea07729b fix: refresh token invalidate for logout 2025-03-11 12:45:51 +03:30
mahyargdz 4503721b90 chore: add recurring invoice proccesor logic 2025-03-11 11:52:46 +03:30
mahyargdz dff944ef90 update: invoice processor and fix bug 2025-03-09 23:16:00 +03:30