rentease/internal
Ruidy bfde4eb601
fix bugs (#37)
### TL;DR
Reorganized booking service code and removed unused BookingRequest model

### What changed?
- Moved Payment model from payment.go to models.go
- Relocated payment-related service methods from service.go to payment.go
- Removed unused BookingRequest struct
- Updated dependencies to their latest versions

### How to test?
1. Run database migrations to verify removal of BookingRequest model
2. Test all payment-related endpoints to ensure functionality remains intact:
   - GET /payments/{id}
   - POST /payments
   - PUT /payments/{id}

### Why make this change?
- Improves code organization by grouping payment-related code together
- Removes unused BookingRequest model to reduce technical debt
- Keeps dependencies up to date for security and performance improvements
2025-01-25 00:41:32 +01:00
..
config RE19 taxes only for booking (#24) 2024-11-14 23:29:20 +01:00
constant Raw 34 enable payments (#35) 2025-01-24 17:30:35 +01:00
cron clean the cron job 2024-12-07 12:49:05 +01:00
driver Raw 34 enable payments (#35) 2025-01-24 17:30:35 +01:00
repository/booking Raw 34 enable payments (#35) 2025-01-24 17:30:35 +01:00
server fix: only update the payments on payment creation 2025-01-25 00:21:30 +01:00
service fix bugs (#37) 2025-01-25 00:41:32 +01:00
view fix: only update the payments on payment creation 2025-01-25 00:21:30 +01:00