# POS-FIX-1 — Add explicit return transitions to POS order state machine ## Fix Added COMPLETED→REFUNDED and COMPLETED→PARTIALLY_REFUNDED to ALLOWED_TRANSITIONS. Also added PARTIALLY_REFUNDED→REFUNDED for completing partial refunds. ## Files changed - src/modules/orders/domain/order.ts (ALLOWED_TRANSITIONS) - src/modules/orders/tests/order-state-machine.test.ts ## Verification - npm test: 271 passed - tsc POS app: 0 errors