hamed
5937f7e176
feat: add service-based booking mode to appointment scheduling
...
- Introduced a new booking mode in WeeklySchedule to support service-based appointments.
- Updated SlotCalculatorService to calculate available start times based on selected service durations and buffer times.
- Enhanced AppointmentController to handle service items during booking, calculating slot_end on the server side.
- Implemented validation to ensure at least one bookable service exists for doctors in service mode.
- Added new API endpoint to retrieve available appointment slots based on selected services.
- Updated MyAppointmentsController to accept service items during appointment creation.
- Modified ServiceItem entity to include a bookable flag, allowing services to be marked for scheduling.
- Created migration to add bookable column to service_items table.
- Added tests for service-based slot calculations and validation logic.
2026-07-15 23:15:45 +03:30
..
2026-07-02 10:51:48 +03:30
2026-07-02 21:22:14 +03:30
2026-07-02 18:45:34 +03:30
2026-06-13 13:28:39 +03:30
2026-06-28 21:49:44 +03:30
2026-06-28 22:58:15 +03:30
2026-06-23 17:34:34 +03:30
2026-07-12 21:19:24 +03:30
2026-06-15 22:04:19 +03:30
2026-07-10 10:31:59 +03:30
2026-07-15 18:11:40 +03:30
2026-06-16 12:01:32 +03:30
2026-06-15 17:53:27 +03:30
2026-06-11 19:35:12 +03:30
2026-06-11 13:58:46 +03:30
2026-06-12 11:00:24 +03:30
2026-06-12 22:39:11 +03:30
2026-06-12 13:39:37 +03:30
2026-07-11 09:33:55 +03:30
2026-07-05 15:25:53 +03:30
2026-06-21 13:26:47 +03:30
2026-06-13 18:10:44 +03:30
2026-06-28 15:27:51 +03:30
2026-07-08 11:27:54 +03:30
2026-06-25 21:27:28 +03:30
2026-07-07 14:58:41 +03:30
2026-06-23 15:20:56 +03:30
2026-06-14 21:02:18 +03:30
2026-07-03 10:31:17 +03:30
2026-06-29 15:03:30 +03:30
2026-06-29 16:11:54 +03:30
2026-07-02 21:11:17 +03:30
2026-06-15 16:16:30 +03:30
2026-06-13 18:30:06 +03:30
2026-07-02 11:35:59 +03:30
2026-07-11 14:57:41 +03:30
2026-06-11 19:06:59 +03:30
2026-07-12 13:00:49 +03:30
2026-06-21 12:35:22 +03:30
2026-07-03 09:53:55 +03:30
2026-06-19 13:42:24 +03:30
2026-07-02 11:48:34 +03:30
2026-06-20 12:51:10 +03:30
2026-06-15 11:03:56 +03:30
2026-06-18 09:06:36 +03:30
2026-06-23 16:10:36 +03:30
2026-06-21 15:37:24 +03:30
2026-07-11 14:07:18 +03:30
2026-06-15 15:11:29 +03:30
2026-06-21 16:41:59 +03:30
2026-07-02 11:13:16 +03:30
2026-06-19 21:08:32 +03:30
2026-06-13 17:53:27 +03:30
2026-07-08 09:51:30 +03:30
2026-07-04 22:05:27 +03:30
2026-07-08 09:37:19 +03:30
2026-06-13 19:19:50 +03:30
2026-07-15 19:13:27 +03:30
2026-07-11 08:59:36 +03:30
2026-06-20 12:28:36 +03:30
2026-06-13 18:47:26 +03:30
2026-06-28 19:04:54 +03:30
2026-07-08 12:19:06 +03:30
2026-06-14 21:38:48 +03:30
2026-06-15 14:18:25 +03:30
2026-06-24 03:21:52 +03:30
2026-06-23 20:55:56 +03:30
2026-07-15 14:55:16 +03:30
2026-06-23 15:05:24 +03:30
2026-07-15 14:32:29 +03:30
2026-07-11 11:39:15 +03:30
2026-06-12 13:39:37 +03:30
2026-06-15 16:48:50 +03:30
2026-07-02 20:15:41 +03:30
2026-07-02 18:45:34 +03:30
2026-06-11 12:20:12 +03:30
2026-06-15 19:21:31 +03:30
2026-06-24 11:52:13 +03:30
2026-06-23 15:15:12 +03:30
2026-07-04 11:01:54 +03:30
2026-07-04 21:50:55 +03:30
2026-06-23 17:21:33 +03:30
2026-07-02 15:36:08 +03:30
2026-07-02 17:08:50 +03:30
2026-06-15 11:35:23 +03:30
2026-06-16 10:06:43 +03:30
2026-06-12 11:45:16 +03:30
2026-07-01 12:45:18 +03:30
2026-06-16 11:42:31 +03:30
2026-06-29 20:01:03 +03:30
2026-06-20 12:28:36 +03:30
2026-07-01 12:26:02 +03:30
2026-06-16 00:25:59 +03:30
2026-06-16 00:25:59 +03:30
2026-06-19 13:20:40 +03:30
2026-06-24 13:06:17 +03:30
2026-06-24 16:14:41 +03:30
2026-06-25 19:38:47 +03:30
2026-07-09 07:26:58 +03:30
2026-06-15 22:43:50 +03:30
2026-06-15 14:18:25 +03:30
2026-07-01 14:21:08 +03:30
2026-07-09 08:07:41 +03:30
2026-06-15 14:18:25 +03:30
2026-07-08 18:00:01 +03:30
2026-07-15 23:15:45 +03:30
2026-06-23 15:05:24 +03:30
2026-06-24 04:23:50 +03:30
2026-07-15 17:30:26 +03:30
2026-06-19 20:42:04 +03:30
2026-06-12 12:54:29 +03:30
2026-07-07 14:41:22 +03:30
2026-07-02 17:08:50 +03:30
2026-07-01 11:53:16 +03:30
2026-07-05 11:20:53 +03:30
2026-06-16 22:27:27 +03:30
2026-06-28 11:28:29 +03:30
2026-06-15 14:18:25 +03:30
2026-06-16 10:45:29 +03:30
2026-06-15 14:50:45 +03:30
2026-06-15 14:18:25 +03:30
2026-07-12 09:54:44 +03:30
2026-06-15 19:01:27 +03:30