manicanldes-backend/prisma
mihir 76574a5c71
continuous-integration/drone/push Build is passing Details
feat(checkout): cash on delivery and manual UPI orders
Checkout takes an optional paymentMethod. COD orders are confirmed and
deduct stock at once; UPI_MANUAL orders hold stock for 48 hours while the
customer reports a UTR and staff confirm the payment. Paid checkouts
require a pricing policy so the payable total is known.

Staff confirm, ship (with courier/tracking note) and deliver orders.
Cancelling a confirmed order restocks it; shipped orders cannot be
cancelled. Status changes are kept in an append-only history and a
database trigger enforces the allowed transitions. Coupon limits now
count confirmed, shipped and delivered orders.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 15:45:45 +05:30
..
migrations feat(checkout): cash on delivery and manual UPI orders 2026-11-26 15:45:45 +05:30
addresses.prisma feat(data): add timestamped commerce migrations and history checks 2026-09-10 11:23:22 +05:30
artwork.prisma feat(b2b): add versioned artwork approvals 2026-10-03 00:14:04 +05:30
b2b.prisma feat(b2b): add custom candle requests and independent review 2026-10-08 22:02:50 +05:30
batch-cost.prisma feat(costing): snapshot completed batch material costs 2026-09-29 17:08:32 +05:30
blog.prisma feat(blog): add reviewed publication snapshots and SEO metadata 2026-10-08 22:02:51 +05:30
bom.prisma feat(costing): snapshot completed batch material costs 2026-09-29 17:08:32 +05:30
campaigns.prisma feat(discounts): bind immutable coupons to versioned campaign drafts 2026-10-08 22:02:51 +05:30
catalog.prisma feat(catalog): add product photos 2026-11-26 12:52:46 +05:30
checkout.prisma feat(checkout): cash on delivery and manual UPI orders 2026-11-26 15:45:45 +05:30
credit.prisma feat(b2b): add reviewed credit policies 2026-10-01 13:02:28 +05:30
custom-candles.prisma feat(b2b): add custom candle requests and independent review 2026-10-08 22:02:50 +05:30
documents.prisma feat(procurement): add private versioned supplier documents 2026-09-28 15:40:13 +05:30
events.prisma feat(data): add immutable pricing and transactional event migrations 2026-09-11 16:59:54 +05:30
forum.prisma feat(forum): add independently moderated threads and replies 2026-10-08 22:02:51 +05:30
inventory.prisma feat(inventory): add audited material stock adjustments 2026-09-30 00:50:28 +05:30
material-cost.prisma feat(costing): snapshot completed batch material costs 2026-09-29 17:08:32 +05:30
material-stock.prisma feat(inventory): add audited material stock adjustments 2026-09-30 00:50:28 +05:30
material-usage.prisma feat(production): post material usage to warehouse stock 2026-09-29 17:58:00 +05:30
messaging.prisma feat(messaging): add explicit versioned consent and eligibility 2026-10-08 22:02:51 +05:30
migration-checksums.json feat(checkout): cash on delivery and manual UPI orders 2026-11-26 15:45:45 +05:30
order-status.prisma feat(checkout): cash on delivery and manual UPI orders 2026-11-26 15:45:45 +05:30
packaging-run.prisma feat(production): post packaging use to warehouse stock 2026-09-29 20:09:37 +05:30
partner-orders.prisma feat(accounting): add scoped financial source event feed 2026-10-08 22:02:51 +05:30
pricing.prisma feat(data): add immutable pricing and transactional event migrations 2026-09-11 16:59:54 +05:30
procurement.prisma feat(accounting): add scoped financial source event feed 2026-10-08 22:02:51 +05:30
product-images.prisma feat(catalog): add product photos 2026-11-26 12:52:46 +05:30
production.prisma feat(production): receive finished goods into warehouse stock 2026-09-29 20:51:49 +05:30
reviews.prisma feat(reviews): add verified purchases and review moderation 2026-10-08 22:02:50 +05:30
samples.prisma feat(b2b): add reviewed sample requests 2026-10-02 00:05:00 +05:30
schema.prisma feat(checkout): cash on delivery and manual UPI orders 2026-11-26 15:45:45 +05:30
wishlist.prisma feat(wishlist): add private variant wishlists 2026-10-08 22:02:50 +05:30
workflows.prisma feat(workflows): add atomic audited order expiry sweeps 2026-10-08 22:12:43 +05:30