6 Commits

Author SHA1 Message Date
93e50b696c
Add PaymentDetailAPIView for retrieving payment details and update URL routing 2025-04-05 18:58:12 +05:00
02f680d579
Refactor payment views: rename CreatePaymentView to ListCreatePaymentView, add payment retrieval endpoint, and enhance queryset filtering for user-specific payments.
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m15s
2025-04-05 17:23:18 +05:00
80e388a2a0
Refactor CreatePaymentView to improve device retrieval logic by using filter instead of get_object_or_404, enhancing error handling for non-existent devices.
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 2m34s
2025-04-05 16:14:28 +05:00
d386c7e37c
Add device existence check in CreatePaymentView to handle invalid device IDs 2025-04-05 16:10:24 +05:00
f6f77bb0e5
Add wallet balance to User model and implement Atoll/Island management
- Added `wallet_balance` field to the User model.
- Updated UserAdmin to include `wallet_balance` in the admin interface.
- Created serializers and views for Atoll and Island management.
- Implemented endpoints for listing, creating, and updating Atolls and Islands.
- Enhanced payment processing with UUIDs for Payment and Topup models.
- Added migration files for new fields and constraints.
- Improved error handling and validation in various views.
- Updated email templates for better responsiveness and SEO.
2025-01-20 20:59:16 +05:00
4d0eb86478 Initial commit 2025-01-20 14:33:03 +05:00