Commit Graph
33 Commits
Author SHA1 Message Date
tuankiet2s 1b7329bb44 feat: add completedOrders field to Order schema and enhance workshop subscription error handling
- Introduced a new `completedOrders` field in the Order schema to retrieve a list of completed orders for the authenticated user, filtering by order status and schedule dates.
- Enhanced error handling in the WorkshopSubscription schema to prevent retrieval in subscription context, improving the robustness of the API.
- Updated imports in order.schema.ts to include additional status types from Prisma for better functionality.
2024-12-05 21:31:38 +07:00
tuankiet2s a516dce800 chore: update Node version and enhance debugging capabilities
- Removed .nvmrc file to eliminate version locking.
- Updated Dockerfile to use Node 22.6.0-alpine for improved performance and security.
- Modified package.json to enhance the 'start:dev' script with debugging options.
- Added new launch configuration in VSCode for attaching to Node processes by PID.
- Cleaned up settings.json by removing unused configurations.
- Refactored main.ts to simplify the bootstrap process.
- Enhanced logging in OrderSchema and ScheduleSchema for better traceability of operations.
2024-12-03 22:46:23 +07:00
tuankiet2s 84a9f7dd4f feat: enhance order description handling with lodash utility
- Added lodash to the OrderSchema for improved string manipulation.
- Updated the payment creation logic to use lodash for generating a cleaner description from the service name, limiting it to the first 10 words and removing diacritics.
- This change enhances the readability and consistency of order descriptions in payment processing.
2024-12-03 20:43:19 +07:00
tuankiet2s 8fba48ed0f Update order schema to limit payment description length to 10 words for improved clarity and consistency in payment processing. 2024-11-27 06:52:53 +07:00
tuankiet2s 77f44a891f Refactor CollaborationSession and Document schemas to improve code clarity and functionality. Enhance error handling in collaboration session retrieval and update logic. Introduce new request sync events in Document schema and update Minio service for document page management. Adjust cron job to use current date for future schedule date checks. Update user schema for better error handling and improve service descriptions in order schema. Remove global decorators from Workshop modules for better module encapsulation. 2024-11-27 06:48:49 +07:00
tuankiet2s 12b1e8e764 update refund ticket 2024-11-26 21:02:14 +07:00
tuankiet2s 537b6fd359 Refactor ClerkService and OrderSchema for improved type safety; update RefundTicketSchema to include new refund request and processing mutations. Clean up import statements and enhance descriptions for better clarity. Update subproject commit reference in epess-database. 2024-11-26 17:08:38 +07:00
tuankiet2s d8a3894aba update manyyyyyyyyy 2024-11-22 15:06:49 +07:00
tuankiet2s 8eec1bed55 update commission 2024-11-21 22:05:22 +07:00
tuankiet2s d56e1f9348 update transaction 2024-11-21 18:30:32 +07:00
unclebonn 9a134645a7 update order id 2024-11-19 16:09:56 +07:00
tuankiet2s 56ba2808c8 day len server theo loi Khoi noi, toi xin tuyen bo mien tru trach nhiem 2024-11-05 15:02:53 +07:00
tuankiet2s 0f68b51d75 finish payment strategies 2024-11-03 22:09:59 +07:00
tuankiet2s bc2eda7490 update payment 2024-11-03 20:28:14 +07:00
tuankiet2s db9f3213fd lennnn 2024-11-01 20:02:43 +07:00
tuankiet2s ec77f07de1 fix time geneate logic and replace default datetime by luxon 2024-11-01 17:27:25 +07:00
tuankiet2s 152bb50da8 refactor source code 2024-10-29 17:42:54 +07:00
tuankiet2s f787d0c194 9h sang tao code tiep 2024-10-28 02:56:36 +07:00
tuankiet2s a5e9ad5ac1 update order and fix approve center 2024-10-27 18:00:26 +07:00
tuankiet2s 3e7ee4ff13 update create order input 2024-10-27 17:08:37 +07:00
tuankiet2s 734d7e5f89 update order and service 2024-10-27 17:02:04 +07:00
tuankiet2s 9e0e97a560 refactor schema to match database schema 2024-10-27 13:12:24 +07:00
tuankiet2s 7e25e8d96b merge change from db 2024-10-25 14:49:16 +07:00
tuankiet2s 1523642b9d update schema due to majority database change 2024-10-18 01:50:26 +07:00
tuankiet2s f9967ac5bd refactor and update get url logic 2024-10-17 17:02:03 +07:00
tuankiet2s 5c56e79d63 phong bat 2024-10-17 15:15:08 +07:00
tuankiet2s 59923b02cb push code push code 2024-10-17 15:02:25 +07:00
tuankiet2s ecf82f417d expose orderstatus instead string 2024-10-16 16:47:35 +07:00
tuankiet2s f5654e267b fix order mutation 2024-10-15 16:20:25 +07:00
tuankiet2s c539bbdac0 update create, update order 2024-10-15 15:31:22 +07:00
tuankiet2s 06d7c3a935 fix unexpected prismaclient generate 2024-10-12 22:37:02 +07:00
tuankiet2s 4fac0a052b 🔥🔥🔥🔥🔥🔥 2024-10-12 17:11:09 +07:00
tuankiet2s ba77bd4e1c update many graphql field 2024-10-12 16:34:43 +07:00