feat: padroniza contas e cartoes inativos

This commit is contained in:
Felipe Coutinho
2026-05-05 17:17:13 +00:00
parent b2d4b29cb5
commit 9c0669a152
5 changed files with 18 additions and 9 deletions

View File

@@ -31,3 +31,6 @@ export const buildRefundNote = (originalTransactionId: string) =>
export const isRefundNote = (note: string | null | undefined) =>
note?.startsWith(REFUND_NOTE_PREFIX) ?? false;
export const isAccountInactive = (status: string | null | undefined) =>
status?.toLowerCase() === "inativa";