docs: 수수료 레퍼런스에 갭보완 4종(§3-7) 반영 + 간이지급명세서 주민번호 화면 마스킹
- 수수료_계산공식_전체레퍼런스.md: §3-7 감사 보완 4종(A 지급보류/B 환수원천세역분개/ C 환수채권연체이자/D 간이지급명세서) 추가, schema v126 표기 - SimplifiedPaymentReport: 화면 표시용 주민번호 마스킹(생년월일+성별구분 이후 *). 엑셀 export는 국세청 제출용이라 원본 유지 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -27,9 +27,15 @@ function fetchReport(settleMonth: string) {
|
||||
);
|
||||
}
|
||||
|
||||
// 화면 표시용 주민번호 마스킹(생년월일+성별구분 이후 *). 엑셀 export(국세청 제출용)는 원본 유지.
|
||||
function maskResidentNo(v?: string): string {
|
||||
if (!v) return '-';
|
||||
return v.length > 8 ? v.slice(0, 8) + '*'.repeat(v.length - 8) : v;
|
||||
}
|
||||
|
||||
const columns: ProColumns<SimplifiedPaymentRow>[] = [
|
||||
{ title: '소득자', dataIndex: 'agentName', width: 120, fixed: 'left' },
|
||||
{ title: '주민등록번호', dataIndex: 'residentNo', width: 140 },
|
||||
{ title: '주민등록번호', dataIndex: 'residentNo', width: 140, render: (_, r) => maskResidentNo(r.residentNo) },
|
||||
{ title: '사업자번호', dataIndex: 'businessNo', width: 140 },
|
||||
{ title: '소득구분', dataIndex: 'incomeTypeName', width: 90 },
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user