Commit Graph

8 Commits

Author SHA1 Message Date
Urvish Prajapati 7b65c5bd38 fix: sync billing profile and invoices with updated user phone and country 2026-11-23 15:59:25 +05:30
Urvish Prajapati 52356da055 fix(coupons): record coupon redemptions and increment usage count on purchase 2026-11-03 16:04:24 +05:30
Urvish Prajapati f4da5387c4 fix(invoice): disable iOS WebKit automatic email and data detector underlining 2026-11-02 04:48:47 +00:00
Urvish Prajapati 3c40cb93f1 fix(invoice): update wording to Payment ID, remove redundant status, and fix mobile formatting on iOS 2026-11-02 04:48:47 +00:00
Urvish Prajapati 50538bb64f feat(commerce): implement monthly reset invoice numbering format INV-MMM-YYYY-00001 2026-10-20 14:57:48 +05:30
Urvish Prajapati 5fabcd6c4c fixed-issue(50):Fixed invoice issue and added invoice download button for users as well on the storefront 2026-10-14 12:54:37 +05:30
Urvish Prajapati bbae243054 fix(invoices): serve custom Acupedia tax invoice template instead of Razorpay link 2026-09-11 16:11:05 +05:30
Urvish Prajapati 7afa8e1913 feat(api): modularize admin services, add storefront plans, and support country in profile update
- Auth:
  - Add `country` field to `ProfileUpdateRequest` schema
  - Update `AuthService.update_profile` and `AuthRepository.update_profile` to persist country changes to `auth.app_users`

- Storefront Parity:
  - Add public `GET /api/plans` endpoint in `app/features/plans.py` with dual-currency pricing (INR/USD), feature badges, and module slugs
  - Mount plans router and add `GET /` root health status endpoint in `app/main.py`
  - Update CORS allowed origins for backoffice port 3001

- Admin Architecture & Endpoints:
  - Refactor monolithic admin service into domain-driven sub-services under `app/features/admin/services/` (modules, plans, coupons, customers, payments, database, reports)
  - Retain backwards-compatible `AdminService` facade in `services/__init__.py`
  - Add full endpoint parity in `app/features/admin/api.py` for customer 360 drawer, streaming CSV reports, live DB stats, dump downloads, and HTML invoice preview
  - Add `created_at` timestamp to `AdminUserListResponse` and validation schemas in `app/features/admin/schema.py`
2026-09-11 14:51:15 +05:30