Commit Graph

4 Commits

Author SHA1 Message Date
mihir 76574a5c71 feat(checkout): cash on delivery and manual UPI orders
continuous-integration/drone/push Build is passing Details
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
mihir 94460eefa4 feat(discounts): apply campaign offers to eligible collection merchandise
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2026-10-07 00:08:52 +05:30
mihir 42044e84f6 feat(discounts): bind immutable coupons to versioned campaign drafts 2026-10-06 17:28:39 +05:30
mihir aacfe6c171 feat(coupons): add exact discounts and scoped eligibility rules 2026-09-11 00:28:45 +05:30