frontend phase 15

This commit is contained in:
hamid
2026-07-10 20:28:06 +03:30
parent bc51cf59b4
commit 70cf00ce4a
151 changed files with 10711 additions and 44 deletions
+6
View File
@@ -50,6 +50,12 @@ export const MOCK_POLICY_TIERS: Record<
customer_no_show: { refundFraction: 0, leadTimeLabel: 'started' },
};
/**
* The admin decomposition preview depends on the booking's current payout/dispute state (a post-payout
* refund forks to a clawback), so keep it short-lived — the console must never initiate off a stale split.
*/
export const ADMIN_REFUND_PREVIEW_STALE_TIME = 10 * 1000;
/**
* The BNPL customer cash-back window the mock projects onto `expectedCustomerRefundEta` — the product's
* ~710 business-day truth, Fridays skipped (see `cancellation-and-payout.md`). Surface it honestly;