Commit Graph

334 Commits

Author SHA1 Message Date
morteza 127e13e36d fix : return orginal error 2025-12-28 09:14:36 +03:30
morteza ca53552511 fix : return orginal error 2025-12-28 08:57:39 +03:30
morteza 652780c238 fix : get restuarant by user sub id 2025-12-27 16:48:52 +03:30
morteza 3c7ccf8455 update : routes 2025-12-27 16:28:51 +03:30
morteza 0e1aedc95d update : update route permissions 2025-12-27 15:04:55 +03:30
morteza 8f5269186d update : setup restuarant 2025-12-27 14:50:34 +03:30
morteza 6a762b1624 add single endpoint to get resturant 2025-12-27 14:28:45 +03:30
morteza 3cb59a0ca8 add single endpoint 2025-12-27 13:04:35 +03:30
morteza e56d9888e5 update: restuarant dto 2025-12-24 23:32:29 +03:30
morteza f35ff8343b add:create restuarant endpoint for dmenu 2025-12-24 12:28:36 +03:30
morteza f946948ca4 add : dmenu:get restarants pagination and filters 2025-12-22 16:43:27 +03:30
morteza 4f59d68951 add : dmenu:get restarants 2025-12-22 16:23:37 +03:30
morteza f9891facce update: controller 2025-12-22 16:08:00 +03:30
morteza-mortezai ea7160c1de update dmenu module 2025-12-16 16:31:53 +03:30
morteza-mortezai 36f09b816a update icons service endpoints 2025-12-16 13:05:24 +03:30
morteza-mortezai c6797809f8 update icons dto 2025-12-16 12:20:37 +03:30
morteza-mortezai c38801ba09 update password 2025-12-16 11:14:51 +03:30
morteza-mortezai e5ba1ed8c5 add : icons module 2025-12-16 10:00:49 +03:30
morteza-mortezai d87ecdc143 add : icons module 2025-12-16 09:57:12 +03:30
morteza-mortezai a3e7a39c88 add : icons module 2025-12-16 09:53:20 +03:30
morteza-mortezai 6462354049 extend subscription 2025-11-13 12:52:44 +03:30
morteza-mortezai a3554003a0 fix : free plan 2025-11-13 11:07:14 +03:30
morteza-mortezai 783fe1aac1 fix : free plan 2025-11-13 11:06:06 +03:30
morteza-mortezai f3ddddc442 fix : free plan 2025-11-13 11:00:31 +03:30
morteza-mortezai 88349e3b7d fix : free plan 2025-11-13 11:00:08 +03:30
morteza-mortezai bec0ba472e fix : free plan 2025-11-13 10:51:53 +03:30
morteza-mortezai 45036227da add : extend user subscription 2025-11-12 17:37:31 +03:30
morteza-mortezai b3f6ce05c5 update : password 2025-11-12 09:16:37 +03:30
saharbolboliankhah 0aec555ff0 Merge pull request #3 from Danakcorp/invoice
fix(invoice): fix bug when deleting invoice
2025-10-25 19:32:54 +03:30
saharbolboliankhah 2883a9c70e fix(invoice): fix bug when deleting invoice 2025-10-25 19:28:53 +03:30
mahyargdz 68bddb9961 chore: fix 2025-09-03 14:26:49 +03:30
mahyargdz 76fd4f3435 chore: add the access log to the ticket 2025-09-03 13:29:34 +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 60deb8937d feat: add new mim type for the uploader 2025-08-31 15:36:46 +03:30
mahyargdz 787643a31f chore: fix the purchased true for the danakservices 2025-08-31 13:09:38 +03:30
mahyargdz 8e9b939a0b chore: add comment reply for review and blog comment 2025-08-31 09:55:58 +03:30
mahyargdz 9c409bef27 chore: add service image and audio 2025-08-30 09:40:44 +03:30
mahyargdz 9869e603d3 update: escape the html tag from announcmetn 2025-08-28 09:45:38 +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 7b6b79dfa8 update: remove the auth guard from the feedback route 2025-08-20 12:53:35 +03:30
mahyargdz aa487809ee feat: add new route to get service single guide 2025-08-19 15:24:36 +03:30
mahyargdz 0764c2689f feat: enhance danak services with feedback system and improved metadata tracking
- Add service feedback system with CRUD operations
- Add service guide functionality
- Enhance metadata tracking with comprehensive headers (user-agent, referer, language, etc.)
- Add new DTOs for feedback and guide management
- Add repositories for feedback and guide entities
- Update controller with new endpoints for feedback management
- Improve service organization and method structure
- Add payment and user entity enhancements
2025-08-19 13:15:13 +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 840654b3f0 feat: add new field for the danak services 2025-08-16 12:56:08 +03:30