Urvish Prajapati
664f5d869b
fix(plans): handle re-sync cleanly without published-to-draft or MultipleResultsFound errors
2026-12-03 12:08:46 +05:30
Urvish Prajapati
4698deb69d
fix(module-builder): seed synced module into content DB before creating Needs Pricing plan
2026-12-03 11:55:36 +05:30
Urvish Prajapati
ec3129a889
feat(admin): allow updating bundle module_ids via plan pricing endpoint
2026-12-02 15:02:54 +05:30
Urvish Prajapati
464350cce4
feat(catalog): auto-create pending_pricing plans on module sync and enrich public catalog APIs
2026-12-02 14:53:39 +05:30
Amit Salunke
896bea8a83
Merge pull request 'fix(module-builder): use pattern_name instead of name in detail template presentation contract' ( #46 ) from fix/module-builder-detail-template-pattern-name into main
...
Reviewed-on: https://git.zedobject.local/AcuPedia/acupedia-api/pulls/46
Reviewed-by: Amit Salunke <amit@noreply.localhost>
2026-12-02 05:00:36 +00:00
ShivaniKhaire
0fd7bda955
feat(coupons): add per-user limit and fully redeemed status
2026-12-01 12:36:13 +05:30
Urvish Prajapati
53407e255b
fix(module-builder): use pattern_name instead of name in detail template presentation contract
2026-12-01 11:48:07 +05:30
Urvish Prajapati
c5a052b432
fix(invoice): preserve purchase-time phone and address snapshot on historical invoices
2026-11-26 15:29:04 +05:30
Amit Salunke
00bfc81baa
Merge pull request 'fix: sync billing profile and invoices with updated user phone and country' ( #41 ) from fix/invoice-user-profile-sync into main
...
Reviewed-on: https://git.zedobject.local/AcuPedia/acupedia-api/pulls/41
2026-11-25 05:12:09 +00:00
Amit Salunke
ee7a39fed2
Merge pull request 'feat: enhance CSV reports with multi-currency columns and country' ( #40 ) from feat/admin-reports-multi-currency into main
...
Reviewed-on: https://git.zedobject.local/AcuPedia/acupedia-api/pulls/40
2026-11-25 05:11:59 +00:00
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
f677bc69b0
feat: enhance CSV reports with multi-currency columns and country
2026-11-23 15:01:33 +05:30
Urvish Prajapati
70a1b99c42
feat: add multi-currency EUR support to coupons and cart pricing
2026-11-23 14:44:19 +05:30
Urvish Prajapati
dd8f1c3de6
feat(admin): support EUR multi-currency pricing in admin plans
2026-11-23 14:31:03 +05:30
Urvish Prajapati
a195d4b39c
fix(module-builder): fix pool exhaustion deadlock and allow therapeutic modules
2026-11-23 13:18:02 +05:30
Urvish Prajapati
4c52d6278f
fix(module-compiler): dynamically resolve content repo path and eliminate hardcoded user workstation path
2026-11-23 12:28:56 +05:30
ShivaniKhaire
1743f96c86
fix(cache): invalidate active modules cache on module category and status update
2026-11-18 09:49:06 +05:30
ShivaniKhaire
3bc3d15c7c
fix(admin): generically resolve clinical module categories from metadata and kind
2026-11-18 09:14:17 +05:30
Urvish Prajapati
8cb459747f
feat(module-builder): add multi-module management, compiler, and therapeutics safety guards
2026-11-13 15:21:28 +05:30
Urvish Prajapati
896ad11fee
feat(admin): implement module builder schema, validation, auto-pattern seeding, and export API
2026-11-12 15:46:41 +05:30
Urvish Prajapati
e24f6c3bfb
feat(builder): implement phase 1 database schema and REST APIs for module builder
2026-11-12 13:59:30 +05:30
Amit Salunke
6115b8e240
Merge pull request 'fix(coupons): record coupon redemptions and increment usage count on purchase' ( #27 ) from fix/coupon-redemption-count into main
...
Reviewed-on: https://git.zedobject.local/AcuPedia/acupedia-api/pulls/27
Reviewed-by: Amit Salunke <amit@noreply.localhost>
2026-11-04 04:47:53 +00:00
Urvish Prajapati
52356da055
fix(coupons): record coupon redemptions and increment usage count on purchase
2026-11-03 16:04:24 +05:30
Urvish Prajapati
126b06a1bb
fix(coupons): validate coupon date range before database commit
2026-11-03 15:35:01 +05:30
Urvish Prajapati
b10a3aa747
feat(reports): update and enrich CSV export fields
...
- Payments: added Base Price, Discount Amount, Coupon Code, Plan Details (code/name), Phone, and Country; removed raw internal DB ID
- Customers: added Lifetime Spend, Total Orders, Active Subscriptions count; replaced raw role IDs with simplified Account Type (Practitioner/Admin)
- Subscriptions: added Days Remaining, Billing Cycle, Auto-Renew, and Phone
- Coupons: added Campaign Description, Max Cap, Remaining Uses, and computed Schedule Status
2026-11-02 15:22:46 +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
Amit Salunke
b44e0a2dd2
Added module fix
2026-09-12 20:29:53 +05:30
Urvish Prajapati
bcfbdc8442
fix(backup): fallback to docker container for pg_dump when not installed on host
2026-09-11 16:29:00 +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