From 6a3b371acccec4201585397849b10c34b538f3fe Mon Sep 17 00:00:00 2001 From: Hardik Date: Sun, 31 May 2026 01:57:48 +0530 Subject: [PATCH] fix(po-number): FY format changed to 2024-25 style PO numbers now end with e.g. PMS/HNR1/200/2025-26 Co-Authored-By: Claude Sonnet 4.6 --- App/lib/po-number.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/App/lib/po-number.ts b/App/lib/po-number.ts index 6a6c120..2ccbae3 100644 --- a/App/lib/po-number.ts +++ b/App/lib/po-number.ts @@ -18,7 +18,7 @@ function currentFY(): string { const year = now.getFullYear(); const fyStart = month >= 4 ? year : year - 1; const fyEnd = fyStart + 1; - return `${String(fyStart).slice(-2)}${String(fyEnd).slice(-2)}`; + return `${fyStart}-${String(fyEnd).slice(-2)}`; } /** Find the next sequential PO ID (min 200) by scanning existing structured PO numbers. */