diff options
| author | joonhoekim <26rote@gmail.com> | 2025-07-08 11:27:11 +0000 |
|---|---|---|
| committer | joonhoekim <26rote@gmail.com> | 2025-07-08 11:27:11 +0000 |
| commit | d23e59b405b0be567592ce967793356d1b11d559 (patch) | |
| tree | f55c3a799ecf9f7adfb0ff23d75a2d69ff9281fd /lib/vendors/repository.ts | |
| parent | 92f8184de161de55d52f68e58d6dbc24fd3819a9 (diff) | |
(김준회) 벤더 신용평가 조회 화면 fix
Diffstat (limited to 'lib/vendors/repository.ts')
| -rw-r--r-- | lib/vendors/repository.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/vendors/repository.ts b/lib/vendors/repository.ts index 41ac468b..c5362ccf 100644 --- a/lib/vendors/repository.ts +++ b/lib/vendors/repository.ts @@ -355,3 +355,9 @@ export async function countRfqHistory( return count; } +export const getTaxIdByVendorId = async (id: string): Promise<string | null> => { + const numericId = Number(id); + const vendor = await getVendorById(numericId); + if (!vendor) return null; + return vendor.taxId; +}
\ No newline at end of file |
