Compare commits
66 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 84e0577e89 | |||
| 31cc5603c9 | |||
| 0d36d27631 | |||
| 60c31d7ccb | |||
| 42a0d2ae3b | |||
| e599ef9ad8 | |||
| 223d916012 | |||
| f1cc0ca35c | |||
| e1325a1688 | |||
| 29b25cb1b4 | |||
| 8d72d2a0c2 | |||
| 1cdb172b07 | |||
| 864497e56f | |||
| 19c9b9b17a | |||
| 988b166118 | |||
| 78d3990484 | |||
| b3c4ee430d | |||
| 7b27f748de | |||
| abad1630b6 | |||
| 6ffff70ece | |||
| ed8ac34542 | |||
| 6b14ce929e | |||
| e830c08263 | |||
| a1065e8233 | |||
| 7cdb0bf8e9 | |||
| 8bea85df96 | |||
| 127490906b | |||
| ada05e254d | |||
| 7602f5be59 | |||
| 777cdcd918 | |||
| 0f6ba33af3 | |||
| 6d263c20bf | |||
| c9bf4f4f6f | |||
| b12d2ae0c6 | |||
| f9cbafdb3d | |||
| 64de7d2304 | |||
| 1f628b49a8 | |||
| a4a2499c7d | |||
| 6b11b64135 | |||
| a60451b95f | |||
| 2a046d0393 | |||
| 62ce89359a | |||
| 32c5a3d042 | |||
| 68291867f9 | |||
| d24f3f58db | |||
| 71cd2c1129 | |||
| 24ecf89028 | |||
| ff6651c4f2 | |||
| f892b85b7e | |||
| 62a7b2f2ef | |||
| 184ff2259b | |||
| 163812e964 | |||
| ba158f9824 | |||
| b2477d977b | |||
| 80c97fba96 | |||
| 1fb3a3c329 | |||
| abd7bbf016 | |||
| c765db37b3 | |||
| 967a784d6e | |||
| 03809bbf26 | |||
| c626c164f8 | |||
| 15f5dcf4ea | |||
| a84f842490 | |||
| 8999e51d4e | |||
| f98405b791 | |||
| ee964457d9 |
@@ -49,12 +49,13 @@ jobs:
|
||||
# Suppress stderr and allow failures to handle transition/down periods cleanly
|
||||
VERSION_BODY="$(curl -fsS "http://${DEPLOY_HOST}/taxbaik/version.json" 2>/dev/null || true)"
|
||||
BLOG_STATUS="$(curl -s -o /dev/null -w '%{http_code}' "http://${DEPLOY_HOST}/taxbaik/blog/accountant-mistakes-5" || true)"
|
||||
if echo "$VERSION_BODY" | grep -q "\"version\": \"${SHORT_VERSION}\"" && [ "$BLOG_STATUS" = "200" ]; then
|
||||
LOGIN_STATUS="$(curl -s -o /dev/null -w '%{http_code}' "http://${DEPLOY_HOST}/taxbaik/admin/login" || true)"
|
||||
if echo "$VERSION_BODY" | grep -q "\"version\": \"${SHORT_VERSION}\"" && [ "$BLOG_STATUS" = "200" ] && [ "$LOGIN_STATUS" = "200" ]; then
|
||||
echo "✓ Deployment ready for ${SHORT_VERSION} (attempt $i/20)"
|
||||
exit 0
|
||||
fi
|
||||
if [ $i -lt 20 ]; then
|
||||
echo " Attempt $i/20: waiting for deployment... (blog=${BLOG_STATUS:-?}, version=${VERSION_BODY:0:30}...)"
|
||||
echo " Attempt $i/20: waiting for deployment... (blog=${BLOG_STATUS:-?}, login=${LOGIN_STATUS:-?}, version=${VERSION_BODY:0:30}...)"
|
||||
sleep 3
|
||||
fi
|
||||
done
|
||||
@@ -72,6 +73,23 @@ jobs:
|
||||
echo "Running E2E tests on Desktop Chrome (production verification)"
|
||||
npx playwright test --project="Desktop Chrome" --reporter=html --reporter=list
|
||||
|
||||
- name: API smoke verification
|
||||
env:
|
||||
DEPLOY_HOST: ${{ secrets.DEPLOY_HOST }}
|
||||
E2E_ADMIN_USERNAME: test_admin
|
||||
E2E_ADMIN_PASSWORD: TestAdmin@123456
|
||||
run: |
|
||||
set -e
|
||||
TOKEN="$(curl -s -X POST "http://${DEPLOY_HOST}/taxbaik/api/auth/login" -H "Content-Type: application/json" -d "{\"username\":\"${E2E_ADMIN_USERNAME}\",\"password\":\"${E2E_ADMIN_PASSWORD}\"}" | python3 -c 'import sys, json; print(json.load(sys.stdin)["accessToken"])')"
|
||||
test -n "$TOKEN"
|
||||
curl -fsS -H "Authorization: Bearer $TOKEN" "http://${DEPLOY_HOST}/taxbaik/api/blog/admin?page=1&pageSize=1" >/dev/null
|
||||
curl -fsS -H "Authorization: Bearer $TOKEN" "http://${DEPLOY_HOST}/taxbaik/api/faq" >/dev/null
|
||||
curl -fsS -H "Authorization: Bearer $TOKEN" "http://${DEPLOY_HOST}/taxbaik/api/announcement" >/dev/null
|
||||
curl -fsS -H "Authorization: Bearer $TOKEN" "http://${DEPLOY_HOST}/taxbaik/api/inquiry?page=1&pageSize=1" >/dev/null
|
||||
curl -fsS "http://${DEPLOY_HOST}/taxbaik/favicon.svg" >/dev/null
|
||||
curl -fsS "http://${DEPLOY_HOST}/taxbaik/favicon.ico" >/dev/null
|
||||
curl -fsS "http://${DEPLOY_HOST}/taxbaik/robots.txt" >/dev/null
|
||||
|
||||
- name: Browser E2E summary
|
||||
if: always()
|
||||
run: |
|
||||
|
||||
+26
-10
@@ -1,7 +1,6 @@
|
||||
name: TaxBaik CI/CD
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
@@ -33,6 +32,9 @@ jobs:
|
||||
- name: Publish Web
|
||||
run: dotnet publish TaxBaik.Web/ -c Release -o ./publish --no-restore
|
||||
|
||||
- name: Publish Proxy
|
||||
run: dotnet publish TaxBaik.Proxy/ -c Release -o ./publish/proxy
|
||||
|
||||
- name: Write production secrets
|
||||
run: |
|
||||
set -e
|
||||
@@ -67,8 +69,13 @@ jobs:
|
||||
)'
|
||||
test -s ./publish/appsettings.Production.json || { echo "appsettings.Production.json is empty" >&2; exit 1; }
|
||||
|
||||
- name: Verify proxy artifact
|
||||
run: |
|
||||
test -s ./publish/proxy/TaxBaik.Proxy.dll || { echo "TaxBaik.Proxy.dll missing" >&2; exit 1; }
|
||||
test -s ./publish/proxy/TaxBaik.Proxy.runtimeconfig.json || { echo "TaxBaik.Proxy.runtimeconfig.json missing" >&2; exit 1; }
|
||||
|
||||
- name: Copy migrations
|
||||
run: cp -r db/migrations ./publish/migrations || true
|
||||
run: mkdir -p ./publish/db && cp -r db/migrations ./publish/db/ || true
|
||||
|
||||
- name: Generate build info
|
||||
run: |
|
||||
@@ -100,12 +107,14 @@ jobs:
|
||||
|
||||
- name: Package artifact
|
||||
run: |
|
||||
cp deploy_gb.sh ./publish/deploy_gb.sh
|
||||
tar -czf taxbaik_deploy.tgz -C ./publish .
|
||||
echo "✓ Package: $(du -sh taxbaik_deploy.tgz | cut -f1)"
|
||||
|
||||
- name: Deploy & verify on server
|
||||
run: |
|
||||
set -e
|
||||
export TAXBAIK_DEPLOY_FROM_CI=1
|
||||
TIMESTAMP=$(date +%Y%m%d_%H%M%S)
|
||||
COMMIT=$(git rev-parse --short HEAD)
|
||||
DEPLOY_HOST="${{ secrets.DEPLOY_HOST }}"
|
||||
@@ -148,7 +157,7 @@ jobs:
|
||||
# 2. 서버에서 배포 + 헬스 체크 (SSH 1회 연결로 처리, Green-Blue 지원)
|
||||
ssh -i ~/.ssh/id_ed25519 -o StrictHostKeyChecking=yes \
|
||||
-o ServerAliveInterval=10 \
|
||||
"$DEPLOY_USER@$DEPLOY_HOST" bash << REMOTE
|
||||
"$DEPLOY_USER@$DEPLOY_HOST" TAXBAIK_DEPLOY_FROM_CI=1 bash << REMOTE
|
||||
set -e
|
||||
DEPLOY_HOME="/home/kjh2064"
|
||||
DEPLOY_DIR="\$DEPLOY_HOME/deployments/taxbaik_${TIMESTAMP}"
|
||||
@@ -162,12 +171,12 @@ jobs:
|
||||
echo "--- [2/5] 운영 설정 검증 ---"
|
||||
test -s "\$DEPLOY_DIR/appsettings.Production.json" \
|
||||
|| { echo "FATAL: appsettings.Production.json 없음" >&2; exit 1; }
|
||||
test -s "\$DEPLOY_DIR/proxy/TaxBaik.Proxy.dll" \
|
||||
|| { echo "FATAL: TaxBaik.Proxy.dll 없음" >&2; exit 1; }
|
||||
|
||||
echo "--- [3/5] 심볼릭 링크 전환 ---"
|
||||
ln -sfn "\$DEPLOY_DIR" "\$DEPLOY_HOME/taxbaik_active"
|
||||
|
||||
echo "--- [4/5] 서비스 재시작 ---"
|
||||
sudo /usr/bin/systemctl restart taxbaik
|
||||
echo "--- [3/4] Green-Blue 배포 실행 ---"
|
||||
chmod +x "\$DEPLOY_DIR/deploy_gb.sh"
|
||||
"\$DEPLOY_DIR/deploy_gb.sh" "\$DEPLOY_DIR"
|
||||
|
||||
echo "--- [5/5] 헬스 체크 (최대 60초) ---"
|
||||
ATTEMPTS=20
|
||||
@@ -191,13 +200,20 @@ jobs:
|
||||
fi
|
||||
echo "✓ [3/4] 버전 정보 확인 완료"
|
||||
|
||||
# 검증 3: 관리자 로그인 페이지
|
||||
# 검증 4: 5001 프록시 확인
|
||||
if ! ss -tlnp | grep -q ':5001 '; then
|
||||
echo "❌ 5001 프록시가 실행 중이 아님" >&2
|
||||
exit 1
|
||||
fi
|
||||
echo "✓ [4/5] 5001 프록시 확인 완료"
|
||||
|
||||
# 검증 5: 관리자 로그인 페이지
|
||||
LOGIN_STATUS=\$(curl -sf -o /dev/null -w '%{http_code}' http://127.0.0.1:5001/taxbaik/admin/login 2>/dev/null || echo "000")
|
||||
if [ "\$LOGIN_STATUS" != "200" ]; then
|
||||
echo "❌ 관리자 로그인 페이지 로드 실패 (상태: \$LOGIN_STATUS)" >&2
|
||||
exit 1
|
||||
fi
|
||||
echo "✓ [4/4] 관리자 페이지 로드 완료"
|
||||
echo "✓ [5/5] 관리자 페이지 로드 완료"
|
||||
|
||||
echo "✓ 서비스 정상 (시도 \$i/\$ATTEMPTS)"
|
||||
# 구 배포 디렉토리 정리 (최근 5개 보존)
|
||||
|
||||
@@ -0,0 +1,555 @@
|
||||
# 블로그 포스트 작성 템플릿
|
||||
|
||||
## 정확성 원칙 (법적 책임 수반)
|
||||
|
||||
블로그는 **사실 기반, 세법 기반, 데이터 기반**이어야 합니다. 추측이나 예상은 법적 문제를 일으킬 수 있습니다.
|
||||
|
||||
### 절대 금지 표현
|
||||
|
||||
- "아마도", "할 것 같다", "추측된다" (추측)
|
||||
- "대략", "정도일 거다", "보통" (예상)
|
||||
- "좋을 것 같다", "나쁠 것 같다" (의견)
|
||||
- 증거 없는 "모두", "항상", "누구나" (일반화)
|
||||
- 출처 없는 통계 ("80% 고객이", "평균 X만 원")
|
||||
|
||||
### 필수 요소
|
||||
|
||||
**1. 세법 기반**:
|
||||
- 모든 주장에 세법/시행령/고시 인용
|
||||
- 조항 명시: "소득세법 제XX조에 따르면"
|
||||
- 최신 기준 명시: "2025년 기준"
|
||||
- 변경사항 반영: "전년도와 다르게..."
|
||||
|
||||
**2. 사실 기반**:
|
||||
- 실제 일어난 고객 사례만 사용
|
||||
- 가정일 경우 명시: "예를 들어, 만약 이렇다면"
|
||||
- 가상 사례는 "예시 사례"라고 명확히
|
||||
- 개인정보는 익명화 (이름, 나이는 일반적인 표현)
|
||||
|
||||
**3. 데이터 기반**:
|
||||
- 객관적 수치만 사용 (국세청 통계, 협회 자료)
|
||||
- 출처 명시: "2025년 세무청 통계에 따르면"
|
||||
- 구체적 금액: "약 50만 원" (범위 표현)
|
||||
- 비교 데이터: "작년 대비 X% 증가"
|
||||
|
||||
**4. 사례 제시 시 확인 사항**:
|
||||
```
|
||||
✅ 실제 고객인가? (공개 가능한 정보만)
|
||||
✅ 세법을 정확하게 적용했는가?
|
||||
✅ 금액 계산이 정확한가?
|
||||
✅ 이 사례가 대표적인가? (극단적 사례면 명시)
|
||||
✅ 다른 고객에게도 적용 가능한가?
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 핵심 철학: 고객이 느끼는 여정
|
||||
|
||||
### 1️⃣ 기초: "이 정도는 할 수 있어요"
|
||||
- 고객이 배울 수 있는 기본 개념
|
||||
- 실제 사례로 구체화
|
||||
- 단계별 설명
|
||||
|
||||
### 2️⃣ 현실: "하지만 복잡하네요"
|
||||
- 겹겹이 쌓인 세부사항들
|
||||
- 매년 바뀌는 세법
|
||||
- "이거 일일이 다 챙기기 어렵다"는 느낌
|
||||
|
||||
### 3️⃣ 해결: "세무사와 함께면 괜찮아요"
|
||||
- 디테일 자동 관리
|
||||
- 세법 변화 자동 반영
|
||||
- 고객은 사업에만 집중
|
||||
|
||||
---
|
||||
|
||||
**고객이 글을 읽은 후 느끼는 것**:
|
||||
|
||||
1️⃣ 읽고 나서: "아, 이 정도는 내가 할 수 있겠네"
|
||||
2️⃣ 생각해보니: "근데 이 모든 걸 매년 챙기기는... 힘들겠는데?"
|
||||
3️⃣ 결론: "그럼 전문가 도움을 받는 게 낫겠다"
|
||||
|
||||
→ 자연스럽게 세무사의 필요성을 깨달음 (강요 아님)
|
||||
|
||||
---
|
||||
|
||||
## 템플릿 (복사해서 사용)
|
||||
|
||||
### Step 1: 도입부 (공감)
|
||||
```markdown
|
||||
# [제목]
|
||||
|
||||
"[구체적 상황]?"
|
||||
"많은 [직업]들이 이 상황을 겪습니다."
|
||||
|
||||
→ 독자가 자신의 상황을 발견하도록
|
||||
```
|
||||
|
||||
**예시**:
|
||||
```markdown
|
||||
# 동네 카페 월세 낼 때 세금이 안 나와요 - 정말 그럴까?
|
||||
|
||||
"사업을 시작했는데 세금을 낸 적이 없어요"
|
||||
"많은 소규모 사업자들이 이렇게 생각합니다."
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### Step 2: 실제 사례 (구체적 페르소나)
|
||||
|
||||
**필수 정보**:
|
||||
- 이름, 나이, 직업, 사업 경력
|
||||
- 월/연간 매출 (현실적 수치)
|
||||
- 실제 겪은 문제/성공 사례
|
||||
|
||||
```markdown
|
||||
### 상황: [지역] [카테고리]를 운영하는 [이름]님 ([나이]세, 사업 [년]차)
|
||||
|
||||
**기본 정보**:
|
||||
- 위치: [구체적 위치]
|
||||
- 월 매출: [금액]
|
||||
- 월 경비: [주요 항목들]
|
||||
|
||||
### 원래는 이렇게 했어요 (실패 사례)
|
||||
→ [실제 실수 1]
|
||||
→ [실제 실수 2]
|
||||
→ **결과**: 세금을 [X만 원] 더 내게 됨 (또는 세무조사 대상)
|
||||
|
||||
### 바뀐 후 (성공 사례)
|
||||
→ [해결책 1]
|
||||
→ [해결책 2]
|
||||
→ **결과**: 세금을 [X만 원] 절약함 (또는 안정적인 운영)
|
||||
```
|
||||
|
||||
**예시**:
|
||||
```markdown
|
||||
### 상황: 강남 역삼동에서 카페를 운영하는 김민수님 (34세, 사업 3년차)
|
||||
|
||||
**기본 정보**:
|
||||
- 위치: 강남역 3번 출구 근처
|
||||
- 월 매출: 약 600만 원 (평일 200만, 주말 400만)
|
||||
- 월 경비: 월세 150만, 재료비 180만, 직원급여 100만 원
|
||||
|
||||
### 원래는 이렇게 했어요
|
||||
→ "세금은 큰 회사나 내는 거라고 생각했어요"
|
||||
→ 영수증도 대충 정리하고
|
||||
→ **결과**: 세무청에서 3년치를 추징받고 가산세까지...손해 70만 원
|
||||
|
||||
### 바뀐 후
|
||||
→ 매달 영수증을 정리해서
|
||||
→ 세무사와 년 1회 기장 상담
|
||||
→ **결과**: 세금도 명확하고, 추징도 없음. 심플하고 안전
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### Step 3: 계산 & 설명
|
||||
|
||||
**구조**:
|
||||
1. **기본 정보 확인** (위에서 제시한 사례 요약)
|
||||
2. **단계별 계산** (Step 1, Step 2, ... 명확히)
|
||||
3. **표로 시각화**
|
||||
|
||||
```markdown
|
||||
## 계산 방법
|
||||
|
||||
### Step 1️⃣: 매출 정리
|
||||
월 600만 원 × 12개월 = 연 7,200만 원
|
||||
|
||||
### Step 2️⃣: 경비 계산
|
||||
|
||||
월 경비 구성:
|
||||
- 월세: 150만 원 (연 1,800만 원)
|
||||
- 재료비: 180만 원 (연 2,160만 원)
|
||||
- 직원급여: 100만 원 (연 1,200만 원)
|
||||
- 기타: 20만 원 (연 240만 원)
|
||||
- **월 합계: 450만 원**
|
||||
- **연 합계: 5,400만 원**
|
||||
|
||||
### Step 3️⃣: 순이익
|
||||
7,200만 - 5,400만 = **1,800만 원**
|
||||
|
||||
### Step 4️⃣: 세금
|
||||
1,800만 원 × 약 6% = **약 108만 원/년**
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### 🎭 Step 3.5: 악마는 디테일이다 (선택사항이지만 강력함)
|
||||
|
||||
**구조**: "간단해 보이지만, 실제로는..."
|
||||
|
||||
```markdown
|
||||
## 겉으로는 간단해 보여요... 하지만
|
||||
|
||||
### 📄 "영수증을 정리하세요"라고 했는데
|
||||
|
||||
**겉으로는**:
|
||||
→ 영수증을 모으기만 하면 돼
|
||||
|
||||
**현실의 디테일**:
|
||||
→ 이 영수증은 인정되고, 이건 안 됨 (세법)
|
||||
→ 이건 개인비? 사업비? (판단)
|
||||
→ 카드값이랑 현금값이랑 다르면? (대사)
|
||||
→ 3년 지났는데 영수증을 못 찾으면? (소송)
|
||||
→ 세무청이 불인정하면? (항의 절차)
|
||||
|
||||
**세무사가 처리하는 것**:
|
||||
✅ 어떤 영수증이 인정될지 사전에 판단
|
||||
✅ 개인비와 사업비의 경계 명확히
|
||||
✅ 세법 변경사항 적용
|
||||
✅ 세무청 부인시 대응 준비
|
||||
|
||||
---
|
||||
|
||||
### 📊 "매출과 경비를 기록하세요"라고 했는데
|
||||
|
||||
**겉으로는**:
|
||||
→ 엑셀에 숫자만 입력하면 돼
|
||||
|
||||
**현실의 디테일**:
|
||||
→ 카드 명세서와 입금액이 안 맞음 (환불? 수수료?)
|
||||
→ 한 달간 매출을 빼먹음 (추가 계산)
|
||||
→ 같은 카테고리인데 세법상 다르게 분류돼야 함 (부가세/소득세 다름)
|
||||
→ 작년에 잘못 입력한 게 발견됨 (수정신고)
|
||||
→ 월별로 편차가 커서 세무청이 의심함 (설명 준비)
|
||||
|
||||
**세무사가 처리하는 것**:
|
||||
✅ 카드명세서 vs 입금액 정산
|
||||
✅ 누락된 부분 찾아서 추가
|
||||
✅ 세법상 올바른 분류
|
||||
✅ 이전년도 오류 수정신고
|
||||
✅ 세무청 질의에 대한 근거 제시
|
||||
|
||||
---
|
||||
|
||||
### ✅ "정확하게 기장하면 세금이 확정돼요"라고 했는데
|
||||
|
||||
**겉으로는**:
|
||||
→ 기장만 잘하면 세금 끝
|
||||
|
||||
**현실의 디테일**:
|
||||
→ 같은 사업도 절세 방법이 다양함 (어떤 게 맞나?)
|
||||
→ 올해는 이렇게, 내년은 저렇게? (일관성)
|
||||
→ 부가세와 소득세 둘 다 고려해야 함 (연계 계산)
|
||||
→ 세무조사가 오면 3년치를 모두 봄 (소급 처리)
|
||||
→ 이의신청/항소하려면? (법적 절차)
|
||||
|
||||
**세무사가 처리하는 것**:
|
||||
✅ 최적의 절세 전략 제시
|
||||
✅ 연도별 일관된 기장 방식 유지
|
||||
✅ 부가세/소득세 동시 최적화
|
||||
✅ 세무조사 대비 사전 정리
|
||||
✅ 이의신청/항소 등 법적 대응
|
||||
```
|
||||
|
||||
**💡 핵심**:
|
||||
- 기초는 누구나 배울 수 있어요
|
||||
- **하지만 디테일을 모두 처리하려면?**
|
||||
- **그 디테일들이 바로 세무사가 하는 일**
|
||||
- **디테일 하나 놓쳤다가 가산세 50만 원... 이래서 세무사 비용이 아깝지 않음**
|
||||
|
||||
---
|
||||
|
||||
### 🔄 Step 3.6: 세법은 계속 바뀐다 (매년 업데이트)
|
||||
|
||||
**구조**: "올해의 세법 변화"를 포스트 작성 시점에 맞춰 갱신
|
||||
|
||||
```markdown
|
||||
## 그런데 세법은 해마다 바뀝니다
|
||||
|
||||
### 📋 [연도] 변경사항들 (꼭 알아야 할 것들)
|
||||
|
||||
**✅ 2025년 부가세 변화**:
|
||||
- 신고 기한이 [날짜]로 변경됨
|
||||
- 영세사업자 기준이 [금액]로 상향조정됨
|
||||
- 새로운 공제 항목이 추가됨: [항목들]
|
||||
|
||||
**✅ 2025년 소득세 변화**:
|
||||
- 기본공제가 [금액]에서 [금액]로 증가
|
||||
- 자녀 공제 조건이 변경됨
|
||||
- 월급 원천징수 기준이 조정됨
|
||||
|
||||
**✅ 2025년 새로운 제도**:
|
||||
- 소상공인 세금 감면 확대
|
||||
- 청년사업자 지원 강화
|
||||
- 부가가치세 간편신청 범위 확대
|
||||
|
||||
---
|
||||
|
||||
**혼자서 할 때의 문제**:
|
||||
❌ "작년 기준으로 기장했는데 올해 기준이 바뀐 거야?"
|
||||
❌ "이 공제가 되는 건지 안 되는 건지 모르겠어"
|
||||
❌ "새로운 제도가 나왔다는 것도 몰랐어"
|
||||
❌ "처음 다시 계산해야 하나?"
|
||||
|
||||
**세무사가 처리하는 것**:
|
||||
✅ 매년 변경사항 자동 추적
|
||||
✅ 당신의 상황에 맞는 새로운 공제 적용
|
||||
✅ 이전년도 재계산 필요시 수정신고
|
||||
✅ 연중 세법 개정 소식 안내
|
||||
✅ 새로운 지원 정책 놓치지 않게 관리
|
||||
|
||||
---
|
||||
|
||||
## 결과 비교: 혼자 할 때 vs 세무사와 함께
|
||||
|
||||
**세법 변화 추적**
|
||||
- 혼자: "어? 규칙이 바뀌었네?"
|
||||
- 세무사: 자동으로 적용됨
|
||||
|
||||
**새로운 공제**
|
||||
- 혼자: 놓치기 쉬움
|
||||
- 세무사: 모두 적용됨
|
||||
|
||||
**매년 재계산**
|
||||
- 혼자: 직접 해야 함
|
||||
- 세무사: 자동 갱신
|
||||
|
||||
**마음 편함**
|
||||
- 혼자: 불안감 ("맞나?")
|
||||
- 세무사: 확신 ("전문가가 관리")
|
||||
|
||||
**투자 시간**
|
||||
- 혼자: 당신의 시간
|
||||
- 세무사: 포함 (전문가 비용)
|
||||
|
||||
---
|
||||
|
||||
## 요약: 왜 세무사가 필요한가
|
||||
|
||||
**기초는 배울 수 있지만**:
|
||||
- 세법은 매년 바뀌고
|
||||
- 당신은 본업이 있어서 추적이 어렵고
|
||||
- 실수 하나가 가산세 50만 원...
|
||||
|
||||
**그래서 세무사가 있으면**:
|
||||
- 변화를 자동으로 적용해주고
|
||||
- 새 제도도 놓치지 않아주고
|
||||
- 당신은 사업에만 집중
|
||||
|
||||
→ **결국 시간, 돈, 스트레스 모두 절약**
|
||||
|
||||
---
|
||||
|
||||
### 💡 Step 4: 실무 팁 (3~5개)
|
||||
|
||||
**구조**: ✅ 이렇게 하세요 / ❌ 이렇게 하면 안 돼요
|
||||
|
||||
```markdown
|
||||
## 이렇게 하면 세금이 명확해요
|
||||
|
||||
### ✅ 해야 할 것
|
||||
1. **영수증 정리** - 매달 봉투에 모아두기
|
||||
2. **기본 기록** - 엑셀에 간단히 기입
|
||||
3. **연 1회 점검** - 세무사와 기본 상담
|
||||
4. **투명성** - 세무청 신고는 정확하게
|
||||
|
||||
### ❌ 하면 안 되는 것
|
||||
1. **영수증 버리기** - 나중에 증거 없음
|
||||
2. **개인비와 섞기** - 기장 혼란
|
||||
3. **신고 늦추기** - 가산세 발생
|
||||
4. **과하게 깎기** - 세무조사 리스크
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### 📝 Step 5: 결론
|
||||
|
||||
고객이 읽은 후 자연스럽게 결론을 내리도록:
|
||||
|
||||
**구조**:
|
||||
1. 기초는 할 수 있다 (긍정)
|
||||
2. 근데 복잡하네요 (현실 직시)
|
||||
3. 그래서 세무사가 필요하구나 (자연스러운 깨달음)
|
||||
|
||||
**고객이 느끼는 여정**:
|
||||
- 처음: "아, 이 정도는 내가 할 수 있겠네"
|
||||
- 중간: "근데 이 모든 걸 매년 챙기기는..."
|
||||
- 결론: "전문가 도움이 낫겠다"
|
||||
|
||||
```markdown
|
||||
## 기초는 누구나 할 수 있어요
|
||||
|
||||
**이 정도면 자신이 충분히 가능합니다**:
|
||||
- 소규모 사업 (월 500만~1,000만 원)
|
||||
- 단순 경비 (재료, 임차료 등)
|
||||
- 월 1회 정도 기본 정리
|
||||
|
||||
→ 영수증 정리 + 기본 엑셀 기입면 충분
|
||||
|
||||
---
|
||||
|
||||
## 하지만 이렇게 복잡하면 전문가 도움이 효율적입니다
|
||||
|
||||
**세무사 상담을 권하는 경우**:
|
||||
- 📊 월 매출이 2,000만 원을 넘어갈 때
|
||||
- 💼 여러 사업을 동시에 운영할 때
|
||||
- 🏠 부동산 등 추가 수입이 있을 때
|
||||
- 📈 직원을 여러 명 두고 있을 때
|
||||
- 🌍 해외 거래나 수입이 있을 때
|
||||
|
||||
### 실제 효과: 숫자로 본 세무사의 가치
|
||||
|
||||
**절세액**
|
||||
- 혼자: X만 원
|
||||
- 세무사: X + 200만 원
|
||||
- 차이: +200만 원 절약
|
||||
|
||||
**세무조사 스트레스**
|
||||
- 혼자: 매년 불안
|
||||
- 세무사: 안정적 대응
|
||||
- 차이: 심리적 안정
|
||||
|
||||
**시간 투자**
|
||||
- 혼자: 월 10시간
|
||||
- 세무사: 월 1시간
|
||||
- 차이: 월 9시간 자유
|
||||
|
||||
**세무사 비용**
|
||||
- 혼자: 0원
|
||||
- 세무사: 약 100만 원/년
|
||||
- 차이: -100만 원
|
||||
|
||||
**실제 이익**
|
||||
- 혼자: 순이익
|
||||
- 세무사: 순이익 + 100만 원
|
||||
- 차이: +100만 원 순이익
|
||||
|
||||
**돈을 쓰는 이유**:
|
||||
- 세금 절약: 절세 200만 원 - 비용 100만 원 = 순 100만 원 이득
|
||||
- 시간 절약: 월 9시간(연 108시간) = 사업에 집중
|
||||
- 스트레스 감소: 세무조사 불안 제거
|
||||
- 리스크 관리: 실수로 인한 가산세 방지
|
||||
|
||||
---
|
||||
|
||||
## 요약
|
||||
|
||||
**기본 개념을 아는 것만으로도**:
|
||||
- 실수를 줄이고
|
||||
- 세금을 절약하고
|
||||
- 세무사와의 상담이 훨씬 효율적
|
||||
|
||||
당신의 상황이 어느 정도인지 판단하고,
|
||||
필요할 때 전문가와 함께 하세요.
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## ✅ 작성 체크리스트
|
||||
|
||||
### 내용
|
||||
- [ ] **실제 사례**: 동네 카페/편의점/학원 같은 주변 상황
|
||||
- [ ] **구체적 페르소나**: 이름, 나이, 직업, 사업 경력
|
||||
- [ ] **실제 금액**: 매출, 경비, 세금 (현실적 수치)
|
||||
- [ ] **Before/After**: 실패 사례 → 성공 사례
|
||||
- [ ] **절세 효과**: "X만 원 절약" 또는 "손해를 막음"
|
||||
- [ ] **계산**: Step별로 명확, 표 포함
|
||||
- [ ] **악마는 디테일**: "겉으로는 간단해 보이지만 실제로는..." (세무사가 처리하는 디테일들)
|
||||
- [ ] **세법 변화**: 해당 연도의 세법 변경사항과 그 영향 설명
|
||||
|
||||
### 톤
|
||||
- [ ] **교육적**: 개념을 이해하도록
|
||||
- [ ] **격려적**: 경고/협박 없음
|
||||
- [ ] **현실적**: 복잡할 수 있다는 인정
|
||||
- [ ] **세무사 자연스러운 유도**: "필요할 때 도움되는 선택"
|
||||
- [ ] **임파워먼트**: "기초는 누구나 할 수 있어요"
|
||||
|
||||
### 표현
|
||||
- [ ] **중학교 수준**: 어려운 용어는 () 설명
|
||||
- [ ] **이모지**: 🏠💰✅❌📊 등으로 시각화
|
||||
- [ ] **짧은 문장**: 한 문장에 한 개념
|
||||
- [ ] **표와 리스트**: 수치는 표로, 항목은 리스트로
|
||||
|
||||
---
|
||||
|
||||
## 🚫 피해야 할 표현 (한국세무사협회 광고 규칙 준수)
|
||||
|
||||
### ❌ **절대 금지 표현** (법적 위반 위험)
|
||||
|
||||
**1. 과도한 절세 약속 & 절대 표현**:
|
||||
- ❌ "50만 원 절약 가능"
|
||||
- ❌ "최대한 경비를 깎아줍니다"
|
||||
- ❌ "세금을 반으로 줄여드립니다"
|
||||
- ❌ "세금을 덜 냅니다" (보장으로 해석)
|
||||
- ❌ "가장 많이 절세해드립니다"
|
||||
- ✅ "이 사례에서는 약 50만 원 절약되었습니다" (과거 사례만)
|
||||
- ✅ "정확한 경비 처리로 세법에 따른 정당한 공제를 받을 수 있습니다" (법적 근거)
|
||||
- ✅ "경비를 빠짐없이 처리합니다" (객관적 프로세스)
|
||||
|
||||
**2. 보장 표현 (불가능한 결과 약속)**:
|
||||
- ❌ "반드시 세금을 줄입니다"
|
||||
- ❌ "세무조사 안 받게 해드립니다"
|
||||
- ❌ "100% 절세를 보장합니다"
|
||||
- ❌ "세금을 보장합니다"
|
||||
- ✅ "정확한 신고로 세무조사 리스크를 최소화합니다"
|
||||
- ✅ "세법에 따른 정당한 공제를 받을 수 있습니다"
|
||||
|
||||
**3. 무료 & 가격 표현**:
|
||||
- ❌ "무료로 세금 절약해드립니다"
|
||||
- ❌ "최저가 신고료"
|
||||
- ❌ "가장 저렴한 가격"
|
||||
- ✅ "합리적인 비용으로 전문 서비스를 제공합니다"
|
||||
|
||||
**4. 절대/최상급 표현**:
|
||||
- ❌ "반드시", "무조건", "반듯이", "항상", "절대"
|
||||
- ❌ "최고", "최우수", "1등", "유일"
|
||||
- ❌ "모든", "완벽하게"
|
||||
- ✅ "일반적으로", "대부분의 경우", "보통"
|
||||
|
||||
**5. 과도한 단순화 표현**:
|
||||
- ❌ "매우 편합니다", "너무 쉽습니다"
|
||||
- ❌ "아무도 실수할 수 없습니다"
|
||||
- ❌ "5분이면 끝납니다"
|
||||
- ✅ "기초 개념을 배울 수 있습니다"
|
||||
- ✅ "복잡한 부분은 전문가가 관리합니다"
|
||||
|
||||
**6. 객관적 증거 없는 수치**:
|
||||
- ❌ "평균 170만 원 절약" (근거 없으면)
|
||||
- ❌ "고객의 80%가 만족" (통계 없으면)
|
||||
- ❌ "보통 2배의 환급" (데이터 없으면)
|
||||
- ✅ "이 사례에서는 약 170만 원 절약되었습니다"
|
||||
- ✅ "많은 고객들이 정확한 기장의 필요성을 느낍니다"
|
||||
|
||||
---
|
||||
|
||||
### ✅ **안전한 표현 (권장)**
|
||||
|
||||
| 대신 이렇게 | 이유 |
|
||||
|----------|------|
|
||||
| "정확한 기장으로 세법에 따른 공제를 받을 수 있습니다" | 법적 근거 (보장 아님) |
|
||||
| "경비를 빠짐없이 처리합니다" | 객관적 프로세스 |
|
||||
| "이 사례에서는 약 50만 원 절약되었습니다" | 과거 사례 (보장 아님) |
|
||||
| "경비를 빠짐없이 처리합니다" | 객관적 프로세스 |
|
||||
| "세무조사 대비 근거를 정리합니다" | 예방적 표현 |
|
||||
| "당신의 상황에 맞는 최선의 방법을 제시합니다" | 개별 맞춤형 |
|
||||
| "세법이 자주 바뀌므로 전문가 도움이 효율적입니다" | 필요성 설명 |
|
||||
| "이 정도는 자신이 충분히 가능합니다" | 존중과 임파워먼트 |
|
||||
| "복잡한 경우는 전문가와 상담하세요" | 선택지 제시 |
|
||||
| "정확하게 하면 나중에 편합니다" | 미래 가치 (현재 보장 아님) |
|
||||
|
||||
---
|
||||
|
||||
### 📋 블로그 작성 시 광고 규칙 체크리스트
|
||||
|
||||
- [ ] **절세 약속 제거**: "최대한", "반드시", "보장", "무조건" 단어 없음
|
||||
- [ ] **보장 표현 제거**: "세무조사 안 받게", "100% 절세", "확실" 제거
|
||||
- [ ] **무료/가격 표현 제거**: "무료", "최저가", "가장 저렴" 제거
|
||||
- [ ] **절대 표현 제거**: "항상", "절대", "모두", "완벽" 제거
|
||||
- [ ] **최상급 제거**: "최고", "최우수", "1등" (객관적 증거 있으면 가능)
|
||||
- [ ] **과도한 단순화 제거**: "매우 쉽습니다", "아무도 실수할 수 없음" 제거
|
||||
- [ ] **수치는 사례로**: "절약 가능" → "이 사례에서는 약 X만 원 절약"
|
||||
- [ ] **객관성 유지**: 구체적 사례 + 과거형 표현 사용
|
||||
- [ ] **필요성 설명**: "왜 필요한가" → 이해와 선택 유도
|
||||
- [ ] **세무사협회 규정 준수**: 법적 문제 없음
|
||||
|
||||
---
|
||||
|
||||
## 시즌별 주제 예시
|
||||
|
||||
| 월 | 추천 주제 | 톤 |
|
||||
|----|---------|-----|
|
||||
| 1월 | 부가세 2기 신고 기한 | "이 정도면 자신이 가능" |
|
||||
| 5월 | 종소세 신고 방법 | "핵심 개념 + 전문가 도움 타이밍" |
|
||||
| 7월 | 부가세 1기 신고 | "기초 정리 방법" |
|
||||
| 11월 | 다음해 준비 | "계획하면 편해요" |
|
||||
@@ -564,33 +564,24 @@ ssh kjh2064@178.104.200.7
|
||||
|
||||
배포는 수동 실행이 아니라 **Gitea Actions CI/CD**만 사용한다.
|
||||
|
||||
**표준 배포 (현재)**:
|
||||
1. `master` 브랜치에 push
|
||||
2. Gitea Actions가 `TaxBaik.Web`을 build/publish
|
||||
3. CI가 서버의 `taxbaik` 서비스와 `~/taxbaik_active`를 갱신
|
||||
4. CI가 서비스 재시작 후 `/taxbaik/admin/login`으로 헬스 체크
|
||||
|
||||
**API 클라이언트 설정 (Green-Blue 대비)**:
|
||||
- API 클라이언트 Base URL이 이제 동적 설정됨: `appsettings.json` > `ApiClient:BaseUrl`
|
||||
- 기본값: `http://localhost:5001/taxbaik/api/`
|
||||
- 배포 시 환경변수로 오버라이드 가능:
|
||||
```bash
|
||||
export ApiClient__BaseUrl="http://localhost:5002/taxbaik/api/"
|
||||
systemctl start taxbaik # 새 포트에 배포
|
||||
```
|
||||
- Nginx가 `/taxbaik` → active 포트로 라우팅하면 자동 전환됨
|
||||
**무중단 Green-Blue 배포 아키텍처 (2026-06-30 적용 완료)**:
|
||||
1. **프록시 레이어**: 포트 `5001`에서 영구 가동되는 초경량 .NET TCP 프록시([TaxBaik.Proxy])가 수신 대기합니다. Nginx는 `/taxbaik` 트래픽을 기존과 같이 `5001`로 중계합니다.
|
||||
2. **동적 포트 스위칭**: 프록시는 요청이 들어올 때마다 `/home/kjh2064/taxbaik_port` 파일을 읽어 active 포트(5003 또는 5004)를 판단하고 트래픽을 포워딩합니다.
|
||||
3. **배포 흐름 (`deploy_gb.sh`)**:
|
||||
- Gitea Actions가 코드를 build/publish 후 압축하여 서버에 업로드합니다.
|
||||
- 서버의 배포 스크립트([deploy_gb.sh])가 실행되어 현재 미사용 중인 예비 포트(Target Port: 5003 또는 5004)를 파악합니다.
|
||||
- 예비 포트에서 새 .NET 웹 앱을 실행하고 `http://127.0.0.1:$target_port/taxbaik/healthz` 헬스 체크를 통과할 때까지 폴링(최대 60초)합니다.
|
||||
- 헬스 체크 성공 시 `/home/kjh2064/taxbaik_port` 파일에 새 포트 번호를 기입하여 **트래픽을 즉시 무중단 전환**합니다.
|
||||
- 기존 포트에서 동작하던 구버전 .NET 프로세스를 종료(`kill -15`)합니다.
|
||||
- 만약 헬스 체크 실패 시 새 프로세스만 강제 종료하고 배포를 롤백하여 실서비스 다운타임을 방지합니다.
|
||||
|
||||
**운영 규칙**:
|
||||
- 로컬 또는 서버에서 수동 `dotnet publish`로 운영 배포하지 않는다
|
||||
- `rsync`로 직접 아티팩트를 올리지 않는다
|
||||
- 배포 실패 시 CI 로그를 먼저 본다
|
||||
- 배포된 아티팩트는 CI가 만든 것만 신뢰한다
|
||||
- 배포 후 검증은 홈, 관리자 로그인 페이지, 로그인 API를 모두 포함한다
|
||||
- 로컬 또는 서버에서 수동 `dotnet publish`로 운영 배포하지 않는다.
|
||||
- 배포 실패 시 Gitea Actions CI/CD 로그 및 `~/deployments/taxbaik_timestamp/web_*.log`를 먼저 확인한다.
|
||||
- 배포 후 최종 검증은 프록시 포트를 경유하는 메인 홈페이지, 관리자 로그인 페이지, 로그인 API를 모두 포함한다.
|
||||
|
||||
**롤백**:
|
||||
- 이전 정상 커밋을 `master`에 revert 또는 hotfix로 되돌린다
|
||||
- 서버 파일을 수동으로 복구하지 않는다
|
||||
- 롤백은 커밋 단위로 추적 가능해야 한다
|
||||
- 이전 정상 커밋을 `master`에 revert 또는 hotfix로 되돌려 다시 배포를 수행하거나, 비상시 서버의 `taxbaik_port` 파일의 포트 번호를 수동 수정하여 이전 버전 포트로 즉시 원상복구한다.
|
||||
|
||||
### 3.4 서비스 파일 위치
|
||||
```
|
||||
@@ -754,6 +745,22 @@ ssh kjh2064@178.104.200.7 crontab -l | grep backup
|
||||
|
||||
---
|
||||
|
||||
## 5-1. 블로그 & FAQ 콘텐츠 작성 규칙
|
||||
|
||||
**핵심**: 고객 임파워먼트 (당신도 할 수 있습니다!)
|
||||
- ✅ 주변에서 흔히 보는 실제 사례 (이름, 나이, 직업 구체화)
|
||||
- ✅ 절세 효과 수치화 ("세금을 X만 원 절약했습니다")
|
||||
- ✅ 중학교 2학년도 이해 가능한 수준
|
||||
- ✅ 단계별 설명 + 표로 시각화
|
||||
- ✅ 결론: "정확하게 하면 이런 이점이 있습니다" (임파워먼트)
|
||||
|
||||
**피해야 할 톤**: "복잡하니까 맡기세요" (세무사 의존성 강화)
|
||||
**세무사 언급**: "더 복잡하면 전문가와 상담하세요" (선택지)
|
||||
|
||||
**자세한 템플릿 및 체크리스트**: `BLOG_TEMPLATE.md` 참고
|
||||
|
||||
---
|
||||
|
||||
## 6. 코드 규칙
|
||||
|
||||
### 6.1 C# 네이밍
|
||||
@@ -1637,7 +1644,7 @@ curl http://127.0.0.1/taxbaik/admin/login
|
||||
### E2E 테스트 & 반응형 검증
|
||||
```bash
|
||||
# 문의 폼 제출
|
||||
curl -X POST http://178.104.200.7/taxbaik/contact \
|
||||
curl -X POST http://taxbaik.com/taxbaik/contact \
|
||||
-d "name=테스트&phone=010-1234-5678&service_type=사업자세무&message=테스트"
|
||||
|
||||
# 관리자 DB에서 확인
|
||||
@@ -1676,7 +1683,7 @@ npx playwright test admin-responsive.spec.ts --project="Desktop Chrome"
|
||||
|
||||
**프로덕션 E2E 테스트**:
|
||||
```bash
|
||||
export E2E_BASE_URL="http://178.104.200.7/taxbaik"
|
||||
export E2E_BASE_URL="http://taxbaik.com/taxbaik"
|
||||
export E2E_ADMIN_USERNAME="test_admin"
|
||||
export E2E_ADMIN_PASSWORD="TestAdmin@123456"
|
||||
|
||||
@@ -1944,7 +1951,7 @@ else
|
||||
2. **Actions run 생성 확인**
|
||||
```powershell
|
||||
$headers = @{ Authorization = "token $env:GITEA_TOKEN_TAXBAIK" }
|
||||
$runs = Invoke-RestMethod -Headers $headers -Uri "http://178.104.200.7/api/v1/repos/kjh2064/taxbaik/actions/runs?limit=10"
|
||||
$runs = Invoke-RestMethod -Headers $headers -Uri "http://gitea.taxbaik.com/api/v1/repos/kjh2064/taxbaik/actions/runs?limit=10"
|
||||
$runs.workflow_runs | Select-Object id,path,event,head_sha,display_title,status,conclusion
|
||||
```
|
||||
`deploy.yml@refs/heads/master`, `event=push`, 최신 `head_sha`가 있어야 배포가 실제로 시작된 것이다.
|
||||
|
||||
+120
-13
@@ -17,7 +17,7 @@
|
||||
| 3.3 | [주요 Python 패키지](#33-주요-python-패키지-시스템) | 시스템/venv 패키지 구분 |
|
||||
| 4 | [서비스 아키텍처](#4-서비스-아키텍처) | 포트 맵, Nginx 리버스 프록시 |
|
||||
| 4.1 | [포트 맵](#41-포트-맵) | 22, 80, 2222, 3000, 5000, 5432 |
|
||||
| 4.2 | [Nginx 리버스 프록시](#42-nginx-리버스-프록시) | `/` → Gitea, `/quant/` → Blazor |
|
||||
| 4.2 | [Nginx 리버스 프록시](#42-nginx-리버스-프록시) | 도메인 기반 가상 호스트 분기 (홈페이지, Gitea, Quant) |
|
||||
| 5 | [Gitea](#5-gitea) | Docker Compose 설정, 시크릿, 데이터 경로 |
|
||||
| 5.1 | [Docker Compose](#51-docker-compose) | `gitea:1.26.4`, PG 연동 |
|
||||
| 5.2 | [시크릿 관리](#52-시크릿-관리) | `/opt/stacks/gitea/.env` |
|
||||
@@ -126,17 +126,22 @@ boto3, cryptography, Jinja2, jsonschema, fail2ban 등 시스템 레벨로 설치
|
||||
### 4.2. Nginx 리버스 프록시
|
||||
|
||||
```nginx
|
||||
# /etc/nginx/sites-enabled/gitea-ip.conf
|
||||
# /etc/nginx/sites-available/taxbaik-domains.conf
|
||||
|
||||
# 1. TaxBaik 홈페이지 (taxbaik.com, www.taxbaik.com)
|
||||
server {
|
||||
listen 80 default_server;
|
||||
listen [::]:80 default_server;
|
||||
server_name _;
|
||||
server_name taxbaik.com www.taxbaik.com;
|
||||
client_max_body_size 512M;
|
||||
|
||||
# QuantEngine Blazor Web App
|
||||
location /quant/ {
|
||||
proxy_pass http://127.0.0.1:5000/;
|
||||
|
||||
# /admin 하위 요청을 /taxbaik/admin 으로 리다이렉트하여 Blazor Base Path 대응
|
||||
location /admin {
|
||||
return 301 $scheme://$host/taxbaik$request_uri;
|
||||
}
|
||||
|
||||
# 루트 경로 요청을 /taxbaik 으로 프록싱하여 base href /taxbaik/ 에 대응
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:5001/taxbaik/;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "Upgrade";
|
||||
@@ -147,7 +152,33 @@ server {
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
|
||||
# Gitea (기본)
|
||||
# /taxbaik/ 하위로 들어오는 리소스 및 페이지 요청 처리
|
||||
location /taxbaik {
|
||||
proxy_pass http://127.0.0.1:5001;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "Upgrade";
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_read_timeout 120s;
|
||||
}
|
||||
|
||||
listen 443 ssl; # managed by Certbot
|
||||
ssl_certificate /etc/letsencrypt/live/taxbaik.com/fullchain.pem; # managed by Certbot
|
||||
ssl_certificate_key /etc/letsencrypt/live/taxbaik.com/privkey.pem; # managed by Certbot
|
||||
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
|
||||
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
|
||||
|
||||
|
||||
}
|
||||
|
||||
# 2. Gitea (gitea.taxbaik.com)
|
||||
server {
|
||||
server_name gitea.taxbaik.com;
|
||||
client_max_body_size 512M;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:3000;
|
||||
proxy_http_version 1.1;
|
||||
@@ -159,13 +190,89 @@ server {
|
||||
proxy_connect_timeout 300;
|
||||
proxy_send_timeout 300;
|
||||
}
|
||||
|
||||
listen 443 ssl; # managed by Certbot
|
||||
ssl_certificate /etc/letsencrypt/live/taxbaik.com/fullchain.pem; # managed by Certbot
|
||||
ssl_certificate_key /etc/letsencrypt/live/taxbaik.com/privkey.pem; # managed by Certbot
|
||||
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
|
||||
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
|
||||
|
||||
}
|
||||
|
||||
# 3. QuantEngine (quant.taxbaik.com)
|
||||
server {
|
||||
server_name quant.taxbaik.com;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:5000/;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "Upgrade";
|
||||
proxy_set_header Host $host;
|
||||
proxy_cache_bypass $http_upgrade;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
|
||||
listen 443 ssl; # managed by Certbot
|
||||
ssl_certificate /etc/letsencrypt/live/taxbaik.com/fullchain.pem; # managed by Certbot
|
||||
ssl_certificate_key /etc/letsencrypt/live/taxbaik.com/privkey.pem; # managed by Certbot
|
||||
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
|
||||
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
|
||||
|
||||
}
|
||||
|
||||
server {
|
||||
if ($host = www.taxbaik.com) {
|
||||
return 301 https://$host$request_uri;
|
||||
} # managed by Certbot
|
||||
|
||||
|
||||
if ($host = taxbaik.com) {
|
||||
return 301 https://$host$request_uri;
|
||||
} # managed by Certbot
|
||||
|
||||
|
||||
listen 80;
|
||||
server_name taxbaik.com www.taxbaik.com;
|
||||
return 404; # managed by Certbot
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
server {
|
||||
if ($host = gitea.taxbaik.com) {
|
||||
return 301 https://$host$request_uri;
|
||||
} # managed by Certbot
|
||||
|
||||
|
||||
listen 80;
|
||||
server_name gitea.taxbaik.com;
|
||||
return 404; # managed by Certbot
|
||||
|
||||
|
||||
}
|
||||
server {
|
||||
if ($host = quant.taxbaik.com) {
|
||||
return 301 https://$host$request_uri;
|
||||
} # managed by Certbot
|
||||
|
||||
|
||||
listen 80;
|
||||
server_name quant.taxbaik.com;
|
||||
return 404; # managed by Certbot
|
||||
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
**라우팅 요약**:
|
||||
- `http://178.104.200.7/` → Gitea Web UI
|
||||
- `http://178.104.200.7/quant/` → QuantEngine Blazor Admin
|
||||
- `ssh://178.104.200.7:2222` → Gitea Git SSH
|
||||
- `http://taxbaik.com/` 또는 `http://www.taxbaik.com/` → TaxBaik 홈페이지 (내부 proxy: `http://127.0.0.1:5001/taxbaik/`)
|
||||
- `http://gitea.taxbaik.com/` → Gitea Web UI (내부 proxy: `http://127.0.0.1:3000`)
|
||||
- `http://quant.taxbaik.com/` → QuantEngine Blazor Admin (내부 proxy: `http://127.0.0.1:5000/`)
|
||||
- `ssh://gitea.taxbaik.com:2222` → Gitea Git SSH
|
||||
|
||||
## 5. Gitea
|
||||
|
||||
@@ -384,7 +491,7 @@ ClientAliveCountMax 2
|
||||
| **CI Runner** | Synology Act Runner | 6× `act_runner:latest` (Docker) |
|
||||
| **DB** | SQLite (파일 기반) | PostgreSQL 18 + SQLite (하이브리드) |
|
||||
| **웹 Admin** | 없음 | QuantEngine Blazor (.NET 10, MudBlazor) |
|
||||
| **리버스 프록시** | Synology 내장 | Nginx (`/` → Gitea, `/quant/` → Blazor) |
|
||||
| **리버스 프록시** | Synology 내장 | Nginx (도메인 기반 분기 - 홈페이지, Gitea, Quant) |
|
||||
| **보안** | DSM 방화벽 | fail2ban + SSH 공개키 + 서비스 로컬바인드 |
|
||||
| **시크릿 관리** | `.secrets/kis_real.env` | `/opt/stacks/gitea/.env` |
|
||||
| **OS** | Synology DSM 7.x | Ubuntu 26.04 LTS |
|
||||
|
||||
+44
-11
@@ -19,32 +19,46 @@ GRANT ALL PRIVILEGES ON DATABASE taxbaikdb TO taxbaik;
|
||||
|
||||
### 2. 환경 변수 설정
|
||||
|
||||
**Web 서비스** (`/etc/systemd/system/taxbaik.service`):
|
||||
**Web 서비스** (`/etc/systemd/system/taxbaik.service`, 백엔드 전용):
|
||||
```ini
|
||||
[Service]
|
||||
Environment=ASPNETCORE_ENVIRONMENT=Production
|
||||
Environment=ASPNETCORE_URLS=http://127.0.0.1:5001
|
||||
Environment=ASPNETCORE_URLS=http://127.0.0.1:5004
|
||||
Environment=ConnectionStrings__Default=Host=localhost;Database=taxbaikdb;Username=taxbaik;Password=your_secure_password
|
||||
```
|
||||
|
||||
**프록시 서비스** (`/etc/systemd/system/taxbaik-proxy.service`, 5001 진입점):
|
||||
```ini
|
||||
[Service]
|
||||
ExecStart=/usr/bin/dotnet TaxBaik.Proxy.dll
|
||||
WorkingDirectory=/home/kjh2064/taxbaik_active
|
||||
Restart=always
|
||||
```
|
||||
|
||||
### 3. systemd 서비스 파일 설치
|
||||
|
||||
```bash
|
||||
sudo cp deploy/taxbaik.service /etc/systemd/system/
|
||||
sudo cp deploy/taxbaik-proxy.service /etc/systemd/system/
|
||||
sudo systemctl daemon-reload
|
||||
sudo systemctl enable taxbaik
|
||||
sudo systemctl enable taxbaik-proxy
|
||||
```
|
||||
|
||||
### 4. Nginx 설정
|
||||
|
||||
```bash
|
||||
# 현재 Nginx 설정 확인
|
||||
sudo cat /etc/nginx/sites-available/default | head -30
|
||||
# Nginx 도메인 기반 가상 호스트 설정 복사
|
||||
sudo cp deploy/nginx-taxbaik-domains.conf /etc/nginx/sites-available/taxbaik-domains.conf
|
||||
|
||||
# location 블록 추가 (또는 기존 설정에 병합)
|
||||
sudo cp deploy/nginx-taxbaik-locations.conf /etc/nginx/conf.d/taxbaik.conf
|
||||
# 기존 설정(IP 기반 및 default) 활성화 해제
|
||||
sudo rm -f /etc/nginx/sites-enabled/default
|
||||
sudo rm -f /etc/nginx/sites-enabled/gitea-ip.conf
|
||||
|
||||
# 테스트 및 재로드
|
||||
# 새 설정 활성화 (심링크 생성)
|
||||
sudo ln -sfn /etc/nginx/sites-available/taxbaik-domains.conf /etc/nginx/sites-enabled/taxbaik-domains.conf
|
||||
|
||||
# 설정 문법 테스트 및 Nginx 서비스 리로드
|
||||
sudo nginx -t
|
||||
sudo systemctl reload nginx
|
||||
```
|
||||
@@ -65,7 +79,7 @@ sudo systemctl reload nginx
|
||||
master 브랜치 push → build → test → publish → restart → health check → Playwright
|
||||
```
|
||||
|
||||
수동 배포는 비상 롤백 외에는 사용하지 않습니다. 배포 이슈는 Gitea Actions 로그로 해결합니다.
|
||||
수동 배포는 사용하지 않습니다. `deploy_gb.sh`는 `TAXBAIK_DEPLOY_FROM_CI=1`이 없으면 즉시 종료하므로, 배포는 반드시 Gitea Actions에서만 실행됩니다.
|
||||
|
||||
## 마이그레이션 자동 실행
|
||||
|
||||
@@ -128,6 +142,7 @@ ls -la ~/deployments/ | grep taxbaik
|
||||
|
||||
# 심링크 변경 (예: 이전 버전이 taxbaik_20260626_140000)
|
||||
ln -sfn ~/deployments/taxbaik_20260626_140000 ~/taxbaik_active
|
||||
sudo systemctl restart taxbaik-proxy
|
||||
sudo systemctl restart taxbaik
|
||||
```
|
||||
|
||||
@@ -139,10 +154,10 @@ sudo systemctl restart taxbaik
|
||||
ssh kjh2064@178.104.200.7
|
||||
|
||||
# 서비스 상태
|
||||
systemctl status taxbaik
|
||||
systemctl status taxbaik taxbaik-proxy
|
||||
|
||||
# 포트 확인
|
||||
netstat -tlnp | grep -E '5001'
|
||||
netstat -tlnp | grep -E '5001|5004'
|
||||
|
||||
# 프로세스 확인
|
||||
ps aux | grep TaxBaik
|
||||
@@ -165,9 +180,27 @@ journalctl -u taxbaik -f
|
||||
| 404 /taxbaik | Nginx 설정 미적용 | `sudo nginx -t && sudo systemctl reload nginx` |
|
||||
| Blazor WebSocket 안 됨 | `/taxbaik` location에 `proxy_http_version 1.1`, `Upgrade`, `Connection \"Upgrade\"` 헤더가 모두 있는지 확인 |
|
||||
| DB 연결 오류 | 환경 변수 미설정 | systemd service 파일의 ConnectionStrings__Default 확인 |
|
||||
| 503 Service Unavailable | 앱 미시작 | `sudo systemctl restart taxbaik` |
|
||||
| 503 Service Unavailable | 백엔드 또는 프록시 미시작 | `sudo systemctl restart taxbaik-proxy taxbaik` |
|
||||
| 마이그레이션 실패 | DB 권한 문제 | `GRANT ALL PRIVILEGES ON DATABASE taxbaikdb TO taxbaik;` |
|
||||
|
||||
## 운영 복구 순서
|
||||
|
||||
```bash
|
||||
ssh kjh2064@178.104.200.7
|
||||
sudo cp /home/kjh2064/taxbaik.service /etc/systemd/system/taxbaik.service
|
||||
sudo cp /home/kjh2064/taxbaik-proxy.service /etc/systemd/system/taxbaik-proxy.service
|
||||
sudo systemctl daemon-reload
|
||||
sudo systemctl restart taxbaik-proxy
|
||||
sudo systemctl restart taxbaik
|
||||
curl -I http://127.0.0.1:5001/taxbaik/admin/login
|
||||
```
|
||||
|
||||
## 원라인 점검
|
||||
|
||||
```bash
|
||||
ssh kjh2064@178.104.200.7 'systemctl status taxbaik taxbaik-proxy --no-pager --lines=3 && ss -tlnp | grep -E ":5001 |:5004 " && curl -fsSI http://127.0.0.1:5001/taxbaik/admin/login && curl -fsS http://127.0.0.1:5001/taxbaik/favicon.svg >/dev/null && curl -fsS http://127.0.0.1:5001/taxbaik/robots.txt >/dev/null'
|
||||
```
|
||||
|
||||
## 초기 데이터
|
||||
|
||||
### 관리자 계정
|
||||
|
||||
+8
-40
@@ -48,29 +48,7 @@ ssh kjh2064@178.104.200.7 'bash ~/SERVER_SETUP.sh'
|
||||
# ~/taxbaik_active
|
||||
```
|
||||
|
||||
### 2단계: 첫 배포 (수동)
|
||||
|
||||
```bash
|
||||
# 로컬에서 실행
|
||||
TIMESTAMP=$(date +%Y%m%d_%H%M%S)
|
||||
|
||||
# SSH 키 설정 (필요시)
|
||||
export DEPLOY_USER="kjh2064"
|
||||
export DEPLOY_HOST="178.104.200.7"
|
||||
|
||||
# 배포
|
||||
rsync -avz --delete ./publish/ \
|
||||
$DEPLOY_USER@$DEPLOY_HOST:~/deployments/taxbaik_${TIMESTAMP}/
|
||||
|
||||
# 심링크 변경 및 시작
|
||||
ssh $DEPLOY_USER@$DEPLOY_HOST << EOF
|
||||
ln -sfn ~/deployments/taxbaik_${TIMESTAMP} ~/taxbaik_active
|
||||
sudo systemctl start taxbaik
|
||||
sudo systemctl status taxbaik
|
||||
EOF
|
||||
```
|
||||
|
||||
### 3단계: Gitea Actions 설정 (선택)
|
||||
### 2단계: Gitea Actions 설정
|
||||
|
||||
**Gitea 저장소 Settings → Secrets 추가**:
|
||||
- `DEPLOY_USER`: `kjh2064`
|
||||
@@ -217,8 +195,8 @@ curl -I -H "Accept-Encoding: gzip" http://178.104.200.7/taxbaik/ | grep -i encod
|
||||
| 증상 | 원인 | 해결 방법 |
|
||||
|------|------|----------|
|
||||
| 404 /taxbaik | Nginx 설정 미적용 | `sudo nginx -t && sudo systemctl reload nginx` |
|
||||
| 502 Bad Gateway | 앱 미실행 | `sudo systemctl restart taxbaik` |
|
||||
| 503 Service Unavailable | 앱 충돌 | 로그 확인: `journalctl -u taxbaik -n 50` |
|
||||
| 502 Bad Gateway | 프록시 또는 백엔드 미실행 | `sudo systemctl restart taxbaik-proxy taxbaik` |
|
||||
| 503 Service Unavailable | 백엔드 충돌 또는 비밀값 누락 | 로그 확인: `journalctl -u taxbaik -n 50` |
|
||||
| DB 연결 오류 | 환경 변수 미설정 | systemd 파일의 ConnectionStrings__Default 확인 |
|
||||
| HTTPS 오류 | SSL 미구성 | 개발 환경에서는 HTTP 사용 (IP 기반) |
|
||||
| 마이그레이션 실패 | 테이블 존재 | `DROP DATABASE taxbaikdb;` 후 재시작 |
|
||||
@@ -230,11 +208,11 @@ curl -I -H "Accept-Encoding: gzip" http://178.104.200.7/taxbaik/ | grep -i encod
|
||||
### 실시간 모니터링
|
||||
|
||||
```bash
|
||||
# 터미널 1: 웹 서비스 로그
|
||||
# 터미널 1: 백엔드 로그
|
||||
ssh kjh2064@178.104.200.7 'journalctl -u taxbaik -f'
|
||||
|
||||
# 터미널 2: 통합 서비스 로그
|
||||
ssh kjh2064@178.104.200.7 'journalctl -u taxbaik -f'
|
||||
# 터미널 2: 프록시 로그
|
||||
ssh kjh2064@178.104.200.7 'journalctl -u taxbaik-proxy -f'
|
||||
|
||||
# 터미널 3: Nginx 로그
|
||||
ssh kjh2064@178.104.200.7 'sudo tail -f /var/log/nginx/access.log | grep taxbaik'
|
||||
@@ -246,13 +224,7 @@ ssh kjh2064@178.104.200.7 'watch -n 1 "ps aux | grep TaxBaik"'
|
||||
### 정기적 검사
|
||||
|
||||
```bash
|
||||
# 일일 체크 (cron job)
|
||||
0 9 * * * /home/kjh2064/health-check.sh
|
||||
|
||||
# 내용:
|
||||
#!/bin/bash
|
||||
curl -f http://127.0.0.1:5001/taxbaik || systemctl restart taxbaik
|
||||
curl -f http://127.0.0.1:5001/taxbaik/admin/login || systemctl restart taxbaik
|
||||
# 일일 체크는 CI 배포 후 자동 검증으로 대체
|
||||
```
|
||||
|
||||
---
|
||||
@@ -268,11 +240,6 @@ git commit -m "기능: 새로운 기능 추가"
|
||||
git push origin master
|
||||
|
||||
# 2. Gitea Actions가 자동으로 배포
|
||||
# 또는 수동 배포:
|
||||
TIMESTAMP=$(date +%Y%m%d_%H%M%S)
|
||||
dotnet publish TaxBaik.Web -c Release -o ./publish
|
||||
rsync -avz ./publish/ kjh2064@178.104.200.7:~/deployments/taxbaik_${TIMESTAMP}/
|
||||
ssh kjh2064@178.104.200.7 "ln -sfn ~/deployments/taxbaik_${TIMESTAMP} ~/taxbaik_active && sudo systemctl restart taxbaik"
|
||||
```
|
||||
|
||||
### 롤백 절차
|
||||
@@ -284,6 +251,7 @@ ssh kjh2064@178.104.200.7 'ls -la ~/deployments/ | grep taxbaik'
|
||||
# 롤백 (예: 이전 버전이 taxbaik_20260625_100000)
|
||||
ssh kjh2064@178.104.200.7 << EOF
|
||||
ln -sfn ~/deployments/taxbaik_20260625_100000 ~/taxbaik_active
|
||||
sudo systemctl restart taxbaik-proxy
|
||||
sudo systemctl restart taxbaik
|
||||
EOF
|
||||
```
|
||||
|
||||
@@ -168,7 +168,7 @@ master 브랜치에 푸시하면 파이프라인이 다음 단계를 수행합
|
||||
- `TAXBAIK_ADMIN_TEST_PASSWORD`: 배포 검증용 관리자 비밀번호
|
||||
- `Admin__PasswordResetToken`: 관리자 비밀번호 재설정 API용 서버 비밀값
|
||||
|
||||
수동 배포는 비상 롤백 절차 외에는 사용하지 않습니다. 실패 시 [DEPLOYMENT_GUIDE.md](./DEPLOYMENT_GUIDE.md)의 CI 점검 절차를 따릅니다.
|
||||
배포는 Gitea Actions CI/CD로만 수행합니다. 수동 배포 경로는 CI 하네스로 차단되어 있으며, 실패 시 [DEPLOYMENT_GUIDE.md](./DEPLOYMENT_GUIDE.md)의 CI 점검 절차를 따릅니다.
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -522,3 +522,46 @@ Todo:
|
||||
- WBS-UX-03/04 구현 완료
|
||||
- WBS-CRM-01/02/03/04/05 구현 완료 (배포 후 검증 필요)
|
||||
- WBS-CRM-06/07/08 (텔레그램·포털·소셜 로그인) Phase 3 미착수
|
||||
|
||||
---
|
||||
|
||||
## ── 홈페이지 · 어드민 · 포털 프리미엄 UX/UI 개편 (2026-06-30) ──────────────────
|
||||
|
||||
## WBS-UX-05 홈페이지 프리미엄 UI 및 마이크로 인터랙션
|
||||
|
||||
목표: 홈페이지 디자인을 극도로 모던하고 신뢰성 있는 프리미엄 스타일로 전면 개편한다.
|
||||
|
||||
성공 기준:
|
||||
- Hero 섹션에 유려한 배경 그라데이션 및 부드러운 CSS 애니메이션 효과 적용
|
||||
- 서비스 카드에 섀도우 및 보더 트랜지션, 골드/그린 그라데이션 호버 이펙트 추가
|
||||
- 신뢰도 스트립 카드에 입체감 및 돋보이는 레이아웃 설계
|
||||
- Noto Sans KR 외에 Outfit/Inter 등의 보조 영문 폰트 결합으로 타이포그래피 고급화
|
||||
|
||||
Todo:
|
||||
- [x] `site.css` 내 Hero 섹션 그라데이션 및 CSS 애니메이션 보강
|
||||
- [x] 서비스 카드 및 신뢰도 스트립 컴포넌트 프리미엄 스타일로 개편
|
||||
- [x] 홈페이지 폰트 스택 확장 및 메인 레이아웃 적용
|
||||
|
||||
## WBS-PORTAL-01 고객 포털 UI/UX 고도화 및 글래스모피즘
|
||||
|
||||
목표: 고객 마이 포털 화면을 미려하고 현대적인 글래스모피즘 디자인으로 개편하여 이용 가치를 극대화한다.
|
||||
|
||||
성공 기준:
|
||||
- 포털 메인 대시보드 카드를 Glassmorphism 스타일(blur, semi-transparent border)로 변경
|
||||
- 세무 신고 현황 테이블 및 상담 이력 타임라인 컴포넌트의 모던 디자인화
|
||||
|
||||
Todo:
|
||||
- [x] `site.css` 내 포털 전용 모던 글래스모피즘 클래스군 추가
|
||||
- [x] `Portal/Index.cshtml` 레이아웃 및 컴포넌트 UI 고도화
|
||||
|
||||
## WBS-MAINT-02 코드 품질 및 경고 결함 차단
|
||||
|
||||
목표: 빌드 컴파일 타임 경고(Warnings)를 0으로 유지하여 미래 코드 결함을 방지한다.
|
||||
|
||||
성공 기준:
|
||||
- `dotnet build` 수행 시 경고 0개 달성
|
||||
|
||||
Todo:
|
||||
- [x] `CustomAuthenticationStateProvider.cs` Nullable 경고 수정
|
||||
- [x] `Dashboard.razor` 미사용 변수 제거 및 UI 연계 바인딩 처리
|
||||
|
||||
|
||||
@@ -27,6 +27,7 @@ public static class DependencyInjection
|
||||
services.AddScoped<RevenueTrackingService>();
|
||||
services.AddScoped<TelegramReportService>();
|
||||
services.AddScoped<PortalUserService>();
|
||||
services.AddScoped<CommonCodeService>();
|
||||
return services;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using TaxBaik.Domain.Entities;
|
||||
using TaxBaik.Domain.Interfaces;
|
||||
|
||||
namespace TaxBaik.Application.Services;
|
||||
|
||||
public class CommonCodeService(ICommonCodeRepository commonCodeRepository)
|
||||
{
|
||||
public async Task<IEnumerable<CommonCode>> GetByGroupAsync(string codeGroup, CancellationToken ct = default)
|
||||
{
|
||||
return await commonCodeRepository.GetByGroupAsync(codeGroup, ct);
|
||||
}
|
||||
|
||||
public async Task<IEnumerable<CommonCode>> GetAllActiveAsync(CancellationToken ct = default)
|
||||
{
|
||||
return await commonCodeRepository.GetAllActiveAsync(ct);
|
||||
}
|
||||
}
|
||||
@@ -37,7 +37,10 @@ public class TaxProfileService(ITaxProfileRepository repository)
|
||||
public async Task UpdateAsync(int profileId, string? businessType, string? accountingMethod,
|
||||
DateTime? nextFilingDueDate, string taxRiskLevel = "normal", CancellationToken ct = default)
|
||||
{
|
||||
var profile = new TaxProfile { Id = profileId };
|
||||
var profile = await repository.GetByIdAsync(profileId, ct);
|
||||
if (profile == null)
|
||||
throw new ValidationException("세무 프로필을 찾을 수 없습니다.");
|
||||
|
||||
if (!string.IsNullOrWhiteSpace(businessType))
|
||||
profile.BusinessType = businessType.Trim();
|
||||
if (!string.IsNullOrWhiteSpace(accountingMethod))
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
namespace TaxBaik.Domain.Entities;
|
||||
|
||||
public class CommonCode
|
||||
{
|
||||
public string CodeGroup { get; set; } = string.Empty;
|
||||
public string CodeValue { get; set; } = string.Empty;
|
||||
public string CodeName { get; set; } = string.Empty;
|
||||
public int SortOrder { get; set; }
|
||||
public bool IsActive { get; set; } = true;
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using TaxBaik.Domain.Entities;
|
||||
|
||||
namespace TaxBaik.Domain.Interfaces;
|
||||
|
||||
public interface ICommonCodeRepository
|
||||
{
|
||||
Task<IEnumerable<CommonCode>> GetByGroupAsync(string codeGroup, CancellationToken ct = default);
|
||||
Task<IEnumerable<CommonCode>> GetAllActiveAsync(CancellationToken ct = default);
|
||||
}
|
||||
@@ -5,6 +5,7 @@ using TaxBaik.Domain.Entities;
|
||||
public interface ITaxProfileRepository
|
||||
{
|
||||
Task<int> CreateAsync(TaxProfile profile, CancellationToken cancellationToken = default);
|
||||
Task<TaxProfile?> GetByIdAsync(int id, CancellationToken cancellationToken = default);
|
||||
Task<IEnumerable<TaxProfile>> GetAllAsync(CancellationToken cancellationToken = default);
|
||||
Task<TaxProfile?> GetByClientIdAsync(int clientId, CancellationToken cancellationToken = default);
|
||||
Task UpdateAsync(TaxProfile profile, CancellationToken cancellationToken = default);
|
||||
|
||||
@@ -27,6 +27,7 @@ public static class DependencyInjection
|
||||
services.AddScoped<IConsultingActivityRepository, ConsultingActivityRepository>();
|
||||
services.AddScoped<IContractRepository, ContractRepository>();
|
||||
services.AddScoped<IRevenueTrackingRepository, RevenueTrackingRepository>();
|
||||
services.AddScoped<ICommonCodeRepository, CommonCodeRepository>();
|
||||
|
||||
return services;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using Dapper;
|
||||
using TaxBaik.Domain.Entities;
|
||||
using TaxBaik.Domain.Interfaces;
|
||||
|
||||
namespace TaxBaik.Infrastructure.Repositories;
|
||||
|
||||
public class CommonCodeRepository(IDbConnectionFactory connectionFactory) : BaseRepository(connectionFactory), ICommonCodeRepository
|
||||
{
|
||||
public async Task<IEnumerable<CommonCode>> GetByGroupAsync(string codeGroup, CancellationToken ct = default)
|
||||
{
|
||||
using var conn = Conn();
|
||||
return await conn.QueryAsync<CommonCode>(
|
||||
@"SELECT code_group as CodeGroup, code_value as CodeValue, code_name as CodeName, sort_order as SortOrder, is_active as IsActive
|
||||
FROM common_codes
|
||||
WHERE code_group = @CodeGroup AND is_active = TRUE
|
||||
ORDER BY sort_order",
|
||||
new { CodeGroup = codeGroup });
|
||||
}
|
||||
|
||||
public async Task<IEnumerable<CommonCode>> GetAllActiveAsync(CancellationToken ct = default)
|
||||
{
|
||||
using var conn = Conn();
|
||||
return await conn.QueryAsync<CommonCode>(
|
||||
@"SELECT code_group as CodeGroup, code_value as CodeValue, code_name as CodeName, sort_order as SortOrder, is_active as IsActive
|
||||
FROM common_codes
|
||||
WHERE is_active = TRUE
|
||||
ORDER BY code_group, sort_order");
|
||||
}
|
||||
}
|
||||
@@ -20,6 +20,17 @@ public class TaxProfileRepository(IDbConnectionFactory connectionFactory) : Base
|
||||
profile);
|
||||
}
|
||||
|
||||
public async Task<TaxProfile?> GetByIdAsync(int id, CancellationToken cancellationToken = default)
|
||||
{
|
||||
using var conn = Conn();
|
||||
return await conn.QueryFirstOrDefaultAsync<TaxProfile>(
|
||||
@"SELECT id, client_id, business_registration, business_type, establishment_date,
|
||||
annual_revenue_range, employee_count, accounting_method, fiscal_year_end, last_filing_date,
|
||||
next_filing_due_date, tax_risk_level, previous_audit_history, special_notes, created_at, updated_at
|
||||
FROM tax_profiles WHERE id = @Id",
|
||||
new { Id = id });
|
||||
}
|
||||
|
||||
public async Task<IEnumerable<TaxProfile>> GetAllAsync(CancellationToken cancellationToken = default)
|
||||
{
|
||||
using var conn = Conn();
|
||||
|
||||
@@ -0,0 +1,93 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Net;
|
||||
using System.Net.Sockets;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
class Program
|
||||
{
|
||||
private const string PortFile = "/home/kjh2064/taxbaik_port";
|
||||
private static int _fallbackPort = 5003;
|
||||
|
||||
static async Task Main(string[] args)
|
||||
{
|
||||
// Allow setting fallback port via args
|
||||
if (args.Length > 0 && int.TryParse(args[0], out var port))
|
||||
{
|
||||
_fallbackPort = port;
|
||||
}
|
||||
|
||||
var listener = new TcpListener(IPAddress.Loopback, 5001);
|
||||
listener.Start();
|
||||
Console.WriteLine($"[TaxBaik Proxy] Listening on 127.0.0.1:5001 (Forwarding to target in {PortFile})");
|
||||
|
||||
while (true)
|
||||
{
|
||||
try
|
||||
{
|
||||
var client = await listener.AcceptTcpClientAsync();
|
||||
_ = HandleClientAsync(client);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Console.WriteLine($"[TaxBaik Proxy] Accept error: {ex.Message}");
|
||||
await Task.Delay(100);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private static int GetTargetPort()
|
||||
{
|
||||
try
|
||||
{
|
||||
if (File.Exists(PortFile))
|
||||
{
|
||||
var content = File.ReadAllText(PortFile).Trim();
|
||||
if (int.TryParse(content, out var port) && port > 1024 && port < 65535)
|
||||
{
|
||||
return port;
|
||||
}
|
||||
}
|
||||
}
|
||||
catch { }
|
||||
return _fallbackPort;
|
||||
}
|
||||
|
||||
private static async Task HandleClientAsync(TcpClient client)
|
||||
{
|
||||
client.NoDelay = true;
|
||||
int targetPort = GetTargetPort();
|
||||
using var backend = new TcpClient();
|
||||
backend.NoDelay = true;
|
||||
|
||||
try
|
||||
{
|
||||
using var cts = new CancellationTokenSource(TimeSpan.FromSeconds(5));
|
||||
await backend.ConnectAsync(IPAddress.Loopback, targetPort, cts.Token);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Console.WriteLine($"[TaxBaik Proxy] Failed to connect to backend on port {targetPort}: {ex.Message}");
|
||||
client.Close();
|
||||
return;
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
using var clientStream = client.GetStream();
|
||||
using var backendStream = backend.GetStream();
|
||||
|
||||
var toBackend = clientStream.CopyToAsync(backendStream);
|
||||
var toClient = backendStream.CopyToAsync(clientStream);
|
||||
|
||||
await Task.WhenAny(toBackend, toClient);
|
||||
}
|
||||
catch { }
|
||||
finally
|
||||
{
|
||||
client.Close();
|
||||
backend.Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net10.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
||||
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"runtimeOptions": {
|
||||
"tfm": "net10.0",
|
||||
"includedFrameworks": [
|
||||
{
|
||||
"name": "Microsoft.NETCore.App",
|
||||
"version": "10.0.0"
|
||||
}
|
||||
],
|
||||
"wasmHostProperties": {
|
||||
"perHostConfig": [
|
||||
{
|
||||
"name": "browser",
|
||||
"host": "browser"
|
||||
}
|
||||
]
|
||||
},
|
||||
"configProperties": {
|
||||
"Microsoft.AspNetCore.Components.Routing.RegexConstraintSupport": false,
|
||||
"Microsoft.Extensions.DependencyInjection.VerifyOpenGenericServiceTrimmability": true,
|
||||
"System.ComponentModel.DefaultValueAttribute.IsSupported": false,
|
||||
"System.ComponentModel.Design.IDesignerHost.IsSupported": false,
|
||||
"System.ComponentModel.TypeConverter.EnableUnsafeBinaryFormatterInDesigntimeLicenseContextSerialization": false,
|
||||
"System.ComponentModel.TypeDescriptor.IsComObjectDescriptorSupported": false,
|
||||
"System.Data.DataSet.XmlSerializationIsSupported": false,
|
||||
"System.Diagnostics.Debugger.IsSupported": false,
|
||||
"System.Diagnostics.Metrics.Meter.IsSupported": false,
|
||||
"System.Diagnostics.Tracing.EventSource.IsSupported": false,
|
||||
"System.GC.Server": true,
|
||||
"System.Globalization.Invariant": false,
|
||||
"System.TimeZoneInfo.Invariant": false,
|
||||
"System.Linq.Enumerable.IsSizeOptimized": true,
|
||||
"System.Net.Http.EnableActivityPropagation": false,
|
||||
"System.Net.Http.WasmEnableStreamingResponse": true,
|
||||
"System.Net.SocketsHttpHandler.Http3Support": false,
|
||||
"System.Reflection.Metadata.MetadataUpdater.IsSupported": false,
|
||||
"System.Resources.ResourceManager.AllowCustomResourceTypes": false,
|
||||
"System.Resources.UseSystemResourceKeys": true,
|
||||
"System.Runtime.CompilerServices.RuntimeFeature.IsDynamicCodeSupported": true,
|
||||
"System.Runtime.InteropServices.BuiltInComInterop.IsSupported": false,
|
||||
"System.Runtime.InteropServices.EnableConsumingManagedCodeFromNativeHosting": false,
|
||||
"System.Runtime.InteropServices.EnableCppCLIHostActivation": false,
|
||||
"System.Runtime.InteropServices.Marshalling.EnableGeneratedComInterfaceComImportInterop": false,
|
||||
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false,
|
||||
"System.StartupHookProvider.IsSupported": false,
|
||||
"System.Text.Encoding.EnableUnsafeUTF7Encoding": false,
|
||||
"System.Text.Json.JsonSerializer.IsReflectionEnabledByDefault": true,
|
||||
"System.Threading.Thread.EnableAutoreleasePool": false,
|
||||
"Microsoft.AspNetCore.Components.Endpoints.NavigationManager.DisableThrowNavigationException": false
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
global using System.Net.Http;
|
||||
global using System.Net.Http.Json;
|
||||
@@ -0,0 +1,13 @@
|
||||
@* WASM 기반(M3) 검증용 컴포넌트. 라우팅/렌더모드 전면 적용은 M4에서 처리한다. *@
|
||||
@rendermode InteractiveWebAssembly
|
||||
|
||||
<MudPaper Class="pa-6 ma-4" Elevation="2">
|
||||
<MudText Typo="Typo.h5" GutterBottom="true">WebAssembly 렌더 모드 점검</MudText>
|
||||
<MudText Typo="Typo.body2" Class="mb-4">이 컴포넌트가 클릭에 반응하면 Interactive WebAssembly 기반이 정상 동작하는 것입니다.</MudText>
|
||||
<MudButton Variant="Variant.Filled" Color="Color.Primary" OnClick="Increment">카운트: @count</MudButton>
|
||||
</MudPaper>
|
||||
|
||||
@code {
|
||||
private int count;
|
||||
private void Increment() => count++;
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
|
||||
using MudBlazor.Services;
|
||||
using TaxBaik.Application.Services;
|
||||
using TaxBaik.Web.Services;
|
||||
using TaxBaik.Web.Services.AdminClients;
|
||||
|
||||
var builder = WebAssemblyHostBuilder.CreateDefault(args);
|
||||
|
||||
// MudBlazor (WASM 측 인터랙티브 컴포넌트용)
|
||||
builder.Services.AddMudServices(config =>
|
||||
{
|
||||
config.SnackbarConfiguration.HideTransitionDuration = 400;
|
||||
config.SnackbarConfiguration.ShowTransitionDuration = 300;
|
||||
config.PopoverOptions.ThrowOnDuplicateProvider = false;
|
||||
});
|
||||
|
||||
// API Base Url 동적 구성 (호스트 기준 /taxbaik/api/)
|
||||
var apiBaseUrl = builder.HostEnvironment.BaseAddress.TrimEnd('/') + "/taxbaik/api/";
|
||||
|
||||
// HTTP Client for API (with automatic token refresh)
|
||||
builder.Services.AddScoped<ITokenStore, TokenStore>();
|
||||
builder.Services.AddScoped<TokenRefreshHandler>();
|
||||
|
||||
builder.Services.AddHttpClient<IApiClient, ApiClient>(client =>
|
||||
{
|
||||
client.BaseAddress = new Uri(apiBaseUrl);
|
||||
}).AddHttpMessageHandler<TokenRefreshHandler>();
|
||||
|
||||
// 각 Browser API Client 등록
|
||||
builder.Services.AddHttpClient<IAdminDashboardClient, AdminDashboardClient>(client => client.BaseAddress = new Uri(apiBaseUrl)).AddHttpMessageHandler<TokenRefreshHandler>();
|
||||
builder.Services.AddHttpClient<IInquiryBrowserClient, InquiryBrowserClient>(client => client.BaseAddress = new Uri(apiBaseUrl)).AddHttpMessageHandler<TokenRefreshHandler>();
|
||||
builder.Services.AddHttpClient<IClientBrowserClient, ClientBrowserClient>(client => client.BaseAddress = new Uri(apiBaseUrl)).AddHttpMessageHandler<TokenRefreshHandler>();
|
||||
builder.Services.AddHttpClient<ITaxFilingBrowserClient, TaxFilingBrowserClient>(client => client.BaseAddress = new Uri(apiBaseUrl)).AddHttpMessageHandler<TokenRefreshHandler>();
|
||||
builder.Services.AddHttpClient<IFaqBrowserClient, FaqBrowserClient>(client => client.BaseAddress = new Uri(apiBaseUrl)).AddHttpMessageHandler<TokenRefreshHandler>();
|
||||
builder.Services.AddHttpClient<IAnnouncementBrowserClient, AnnouncementBrowserClient>(client => client.BaseAddress = new Uri(apiBaseUrl)).AddHttpMessageHandler<TokenRefreshHandler>();
|
||||
builder.Services.AddHttpClient<ITaxProfileBrowserClient, TaxProfileBrowserClient>(client => client.BaseAddress = new Uri(apiBaseUrl)).AddHttpMessageHandler<TokenRefreshHandler>();
|
||||
builder.Services.AddHttpClient<ITaxFilingScheduleBrowserClient, TaxFilingScheduleBrowserClient>(client => client.BaseAddress = new Uri(apiBaseUrl)).AddHttpMessageHandler<TokenRefreshHandler>();
|
||||
builder.Services.AddHttpClient<IConsultingActivityBrowserClient, ConsultingActivityBrowserClient>(client => client.BaseAddress = new Uri(apiBaseUrl)).AddHttpMessageHandler<TokenRefreshHandler>();
|
||||
builder.Services.AddHttpClient<IContractBrowserClient, ContractBrowserClient>(client => client.BaseAddress = new Uri(apiBaseUrl)).AddHttpMessageHandler<TokenRefreshHandler>();
|
||||
builder.Services.AddHttpClient<IRevenueTrackingBrowserClient, RevenueTrackingBrowserClient>(client => client.BaseAddress = new Uri(apiBaseUrl)).AddHttpMessageHandler<TokenRefreshHandler>();
|
||||
builder.Services.AddHttpClient<ICommonCodeBrowserClient, CommonCodeBrowserClient>(client => client.BaseAddress = new Uri(apiBaseUrl)).AddHttpMessageHandler<TokenRefreshHandler>();
|
||||
|
||||
// Blazor 인증 (WASM 측 클라이언트)
|
||||
builder.Services.AddScoped<CustomAuthenticationStateProvider>();
|
||||
builder.Services.AddScoped<AuthenticationStateProvider>(sp => sp.GetRequiredService<CustomAuthenticationStateProvider>());
|
||||
builder.Services.AddScoped<ILocalStorageService, LocalStorageService>();
|
||||
builder.Services.AddCascadingAuthenticationState();
|
||||
builder.Services.AddAuthorizationCore();
|
||||
|
||||
await builder.Build().RunAsync();
|
||||
@@ -0,0 +1,56 @@
|
||||
namespace TaxBaik.Web.Services.AdminClients;
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.Net.Http.Json;
|
||||
using System.Text.Json;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using TaxBaik.Domain.Entities;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
public interface ICommonCodeBrowserClient
|
||||
{
|
||||
Task<List<CommonCode>> GetAllActiveAsync(CancellationToken ct = default);
|
||||
Task<List<CommonCode>> GetByGroupAsync(string group, CancellationToken ct = default);
|
||||
}
|
||||
|
||||
public class CommonCodeBrowserClient(HttpClient httpClient, ITokenStore tokenStore, ILogger<CommonCodeBrowserClient> logger) : ICommonCodeBrowserClient
|
||||
{
|
||||
private const string BaseUrl = "/api/commoncode";
|
||||
|
||||
private void EnsureAuthHeader()
|
||||
{
|
||||
if (!string.IsNullOrEmpty(tokenStore.AccessToken))
|
||||
httpClient.DefaultRequestHeaders.Authorization = new("Bearer", tokenStore.AccessToken);
|
||||
else
|
||||
httpClient.DefaultRequestHeaders.Authorization = null;
|
||||
}
|
||||
|
||||
public async Task<List<CommonCode>> GetAllActiveAsync(CancellationToken ct = default)
|
||||
{
|
||||
try
|
||||
{
|
||||
EnsureAuthHeader();
|
||||
return await httpClient.GetFromJsonAsync<List<CommonCode>>($"{BaseUrl}", ct) ?? [];
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
logger.LogError(ex, "Failed to get all active common codes");
|
||||
return [];
|
||||
}
|
||||
}
|
||||
|
||||
public async Task<List<CommonCode>> GetByGroupAsync(string group, CancellationToken ct = default)
|
||||
{
|
||||
try
|
||||
{
|
||||
EnsureAuthHeader();
|
||||
return await httpClient.GetFromJsonAsync<List<CommonCode>>($"{BaseUrl}/group/{group}", ct) ?? [];
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
logger.LogError(ex, "Failed to get common codes for group {Group}", group);
|
||||
return [];
|
||||
}
|
||||
}
|
||||
}
|
||||
+40
-8
@@ -1,6 +1,7 @@
|
||||
using System.IdentityModel.Tokens.Jwt;
|
||||
using System.Security.Claims;
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
using TaxBaik.Application.Services;
|
||||
|
||||
namespace TaxBaik.Web.Services;
|
||||
|
||||
@@ -8,18 +9,18 @@ public class CustomAuthenticationStateProvider : AuthenticationStateProvider
|
||||
{
|
||||
private readonly ILocalStorageService _localStorage;
|
||||
private readonly ITokenStore _tokenStore;
|
||||
private readonly AuthService _authService;
|
||||
private readonly IApiClient _apiClient;
|
||||
private readonly ILogger<CustomAuthenticationStateProvider> _logger;
|
||||
|
||||
public CustomAuthenticationStateProvider(
|
||||
ILocalStorageService localStorage,
|
||||
ITokenStore tokenStore,
|
||||
AuthService authService,
|
||||
IApiClient apiClient,
|
||||
ILogger<CustomAuthenticationStateProvider> logger)
|
||||
{
|
||||
_localStorage = localStorage;
|
||||
_tokenStore = tokenStore;
|
||||
_authService = authService;
|
||||
_apiClient = apiClient;
|
||||
_logger = logger;
|
||||
}
|
||||
|
||||
@@ -64,8 +65,9 @@ public class CustomAuthenticationStateProvider : AuthenticationStateProvider
|
||||
if (!string.IsNullOrEmpty(_tokenStore.RefreshToken) && ShouldRefreshToken())
|
||||
{
|
||||
_logger.LogInformation("토큰 만료 5분 전 - 자동 갱신 시작");
|
||||
var newTokenPair = await _authService.RefreshAccessTokenAsync(_tokenStore.RefreshToken);
|
||||
if (newTokenPair != null)
|
||||
var request = new { RefreshToken = _tokenStore.RefreshToken };
|
||||
var newTokenPair = await _apiClient.PostAsync<WasmAuthTokenPair>("auth/refresh", request);
|
||||
if (newTokenPair != null && !string.IsNullOrEmpty(newTokenPair.AccessToken))
|
||||
{
|
||||
await LoginAsync(newTokenPair.AccessToken, newTokenPair.RefreshToken, newTokenPair.ExpiresIn);
|
||||
_logger.LogInformation("토큰 자동 갱신 성공");
|
||||
@@ -79,7 +81,7 @@ public class CustomAuthenticationStateProvider : AuthenticationStateProvider
|
||||
}
|
||||
}
|
||||
|
||||
var principal = _authService.ValidateToken(accessToken);
|
||||
var principal = ValidateTokenWithoutDb(accessToken ?? string.Empty);
|
||||
if (principal == null)
|
||||
{
|
||||
await LogoutAsync();
|
||||
@@ -95,6 +97,22 @@ public class CustomAuthenticationStateProvider : AuthenticationStateProvider
|
||||
}
|
||||
}
|
||||
|
||||
private ClaimsPrincipal? ValidateTokenWithoutDb(string token)
|
||||
{
|
||||
try
|
||||
{
|
||||
var handler = new JwtSecurityTokenHandler();
|
||||
var jwtToken = handler.ReadJwtToken(token);
|
||||
var identity = new ClaimsIdentity(jwtToken.Claims, "jwt");
|
||||
return new ClaimsPrincipal(identity);
|
||||
}
|
||||
catch
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public async Task LoginAsync(string accessToken, string refreshToken, int expiresIn)
|
||||
{
|
||||
var tokenExpiryTicks = DateTime.UtcNow.AddSeconds(expiresIn).Ticks;
|
||||
@@ -115,13 +133,13 @@ public class CustomAuthenticationStateProvider : AuthenticationStateProvider
|
||||
private bool ShouldRefreshToken()
|
||||
{
|
||||
// 토큰이 5분 이내로 만료되면 갱신 (300초 = 5분)
|
||||
if (_tokenStore.TokenExpiryTicks <= 0)
|
||||
if (!_tokenStore.TokenExpiryTicks.HasValue || _tokenStore.TokenExpiryTicks.Value <= 0)
|
||||
return false;
|
||||
|
||||
const int refreshThresholdSeconds = 300;
|
||||
try
|
||||
{
|
||||
var expiryTime = new DateTime((long)_tokenStore.TokenExpiryTicks, DateTimeKind.Utc);
|
||||
var expiryTime = new DateTime(_tokenStore.TokenExpiryTicks.Value, DateTimeKind.Utc);
|
||||
var timeUntilExpiry = expiryTime - DateTime.UtcNow;
|
||||
return timeUntilExpiry.TotalSeconds <= refreshThresholdSeconds && timeUntilExpiry.TotalSeconds > 0;
|
||||
}
|
||||
@@ -158,3 +176,17 @@ public class CustomAuthenticationStateProvider : AuthenticationStateProvider
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public class WasmAuthTokenPair
|
||||
{
|
||||
public WasmAuthTokenPair() { }
|
||||
public WasmAuthTokenPair(string accessToken, string refreshToken, int expiresIn)
|
||||
{
|
||||
AccessToken = accessToken;
|
||||
RefreshToken = refreshToken;
|
||||
ExpiresIn = expiresIn;
|
||||
}
|
||||
public string AccessToken { get; set; } = "";
|
||||
public string RefreshToken { get; set; } = "";
|
||||
public int ExpiresIn { get; set; }
|
||||
}
|
||||
+2
-2
@@ -62,7 +62,7 @@ public class TokenRefreshHandler : DelegatingHandler
|
||||
return response;
|
||||
}
|
||||
|
||||
private async Task<AuthTokenPair?> RefreshTokenAsync(string refreshToken, HttpRequestMessage originalRequest, CancellationToken ct)
|
||||
private async Task<WasmAuthTokenPair?> RefreshTokenAsync(string refreshToken, HttpRequestMessage originalRequest, CancellationToken ct)
|
||||
{
|
||||
try
|
||||
{
|
||||
@@ -87,7 +87,7 @@ public class TokenRefreshHandler : DelegatingHandler
|
||||
new JsonSerializerOptions { PropertyNameCaseInsensitive = true });
|
||||
|
||||
return result != null
|
||||
? new AuthTokenPair(result.AccessToken, result.RefreshToken, result.ExpiresIn)
|
||||
? new WasmAuthTokenPair(result.AccessToken, result.RefreshToken, result.ExpiresIn)
|
||||
: null;
|
||||
}
|
||||
catch (Exception ex)
|
||||
@@ -0,0 +1,24 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net10.0</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<RootNamespace>TaxBaik.WasmClient</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\TaxBaik.Application\TaxBaik.Application.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="10.0.9" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="10.0.9" PrivateAssets="all" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Components.Authorization" Version="10.0.9" />
|
||||
<PackageReference Include="Microsoft.Extensions.Http" Version="10.0.9" />
|
||||
<PackageReference Include="Microsoft.IdentityModel.Tokens" Version="8.19.1" />
|
||||
<PackageReference Include="MudBlazor" Version="6.10.0" />
|
||||
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="8.19.1" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
@@ -0,0 +1,13 @@
|
||||
@using System.Net.Http
|
||||
@using System.Net.Http.Json
|
||||
@using Microsoft.AspNetCore.Authorization
|
||||
@using Microsoft.AspNetCore.Components.Authorization
|
||||
@using Microsoft.AspNetCore.Components.Forms
|
||||
@using Microsoft.AspNetCore.Components.Routing
|
||||
@using Microsoft.AspNetCore.Components.Web
|
||||
@using Microsoft.AspNetCore.Components.Web.Virtualization
|
||||
@using Microsoft.AspNetCore.Components.WebAssembly.Http
|
||||
@using Microsoft.JSInterop
|
||||
@using MudBlazor
|
||||
@using TaxBaik.WasmClient
|
||||
@using static Microsoft.AspNetCore.Components.Web.RenderMode
|
||||
@@ -0,0 +1,573 @@
|
||||
{
|
||||
"runtimeTarget": {
|
||||
"name": ".NETCoreApp,Version=v10.0",
|
||||
"signature": ""
|
||||
},
|
||||
"compilationOptions": {},
|
||||
"targets": {
|
||||
".NETCoreApp,Version=v10.0": {
|
||||
"TaxBaik.Web/1.0.0": {
|
||||
"dependencies": {
|
||||
"BCrypt.Net-Next": "4.0.3",
|
||||
"Microsoft.AspNetCore.Authentication.Google": "10.0.9",
|
||||
"Microsoft.AspNetCore.Authentication.JwtBearer": "10.0.9",
|
||||
"Microsoft.AspNetCore.Components.WebAssembly.Server": "10.0.9",
|
||||
"Microsoft.IdentityModel.Tokens": "8.19.1",
|
||||
"MudBlazor": "6.10.0",
|
||||
"Serilog.AspNetCore": "8.0.1",
|
||||
"Serilog.Sinks.Console": "6.0.0",
|
||||
"Serilog.Sinks.File": "5.0.0",
|
||||
"System.IdentityModel.Tokens.Jwt": "8.19.1",
|
||||
"TaxBaik.Application": "1.0.0",
|
||||
"TaxBaik.Infrastructure": "1.0.0",
|
||||
"TaxBaik.Web.Client": "1.0.0"
|
||||
},
|
||||
"runtime": {
|
||||
"TaxBaik.Web.dll": {}
|
||||
}
|
||||
},
|
||||
"BCrypt.Net-Next/4.0.3": {
|
||||
"runtime": {
|
||||
"lib/net6.0/BCrypt.Net-Next.dll": {
|
||||
"assemblyVersion": "4.0.3.0",
|
||||
"fileVersion": "4.0.3.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Dapper/2.1.15": {
|
||||
"runtime": {
|
||||
"lib/net5.0/Dapper.dll": {
|
||||
"assemblyVersion": "2.0.0.0",
|
||||
"fileVersion": "2.1.15.52653"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Microsoft.AspNetCore.Authentication.Google/10.0.9": {
|
||||
"runtime": {
|
||||
"lib/net10.0/Microsoft.AspNetCore.Authentication.Google.dll": {
|
||||
"assemblyVersion": "10.0.9.0",
|
||||
"fileVersion": "10.0.926.27113"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Microsoft.AspNetCore.Authentication.JwtBearer/10.0.9": {
|
||||
"dependencies": {
|
||||
"Microsoft.IdentityModel.Protocols.OpenIdConnect": "8.0.1"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/net10.0/Microsoft.AspNetCore.Authentication.JwtBearer.dll": {
|
||||
"assemblyVersion": "10.0.9.0",
|
||||
"fileVersion": "10.0.926.27113"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Microsoft.AspNetCore.Components.WebAssembly/10.0.9": {
|
||||
"dependencies": {
|
||||
"Microsoft.JSInterop.WebAssembly": "10.0.9"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/net10.0/Microsoft.AspNetCore.Components.WebAssembly.dll": {
|
||||
"assemblyVersion": "10.0.9.0",
|
||||
"fileVersion": "10.0.926.27113"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Microsoft.AspNetCore.Components.WebAssembly.Server/10.0.9": {
|
||||
"dependencies": {
|
||||
"Microsoft.AspNetCore.Components.WebAssembly": "10.0.9"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/net10.0/Microsoft.AspNetCore.Components.WebAssembly.Server.dll": {
|
||||
"assemblyVersion": "10.0.9.0",
|
||||
"fileVersion": "10.0.926.27113"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Microsoft.Bcl.Cryptography/10.0.2": {
|
||||
"runtime": {
|
||||
"lib/net10.0/Microsoft.Bcl.Cryptography.dll": {
|
||||
"assemblyVersion": "10.0.0.2",
|
||||
"fileVersion": "10.0.225.61305"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Microsoft.Extensions.DependencyModel/8.0.0": {
|
||||
"runtime": {
|
||||
"lib/net8.0/Microsoft.Extensions.DependencyModel.dll": {
|
||||
"assemblyVersion": "8.0.0.0",
|
||||
"fileVersion": "8.0.23.53103"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Microsoft.IdentityModel.Abstractions/8.19.1": {
|
||||
"runtime": {
|
||||
"lib/net10.0/Microsoft.IdentityModel.Abstractions.dll": {
|
||||
"assemblyVersion": "8.19.1.0",
|
||||
"fileVersion": "8.19.1.26153"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Microsoft.IdentityModel.JsonWebTokens/8.19.1": {
|
||||
"dependencies": {
|
||||
"Microsoft.IdentityModel.Tokens": "8.19.1"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/net10.0/Microsoft.IdentityModel.JsonWebTokens.dll": {
|
||||
"assemblyVersion": "8.19.1.0",
|
||||
"fileVersion": "8.19.1.26153"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Microsoft.IdentityModel.Logging/8.19.1": {
|
||||
"dependencies": {
|
||||
"Microsoft.IdentityModel.Abstractions": "8.19.1"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/net10.0/Microsoft.IdentityModel.Logging.dll": {
|
||||
"assemblyVersion": "8.19.1.0",
|
||||
"fileVersion": "8.19.1.26153"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Microsoft.IdentityModel.Protocols/8.0.1": {
|
||||
"dependencies": {
|
||||
"Microsoft.IdentityModel.Tokens": "8.19.1"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/net9.0/Microsoft.IdentityModel.Protocols.dll": {
|
||||
"assemblyVersion": "8.0.1.0",
|
||||
"fileVersion": "8.0.1.50722"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Microsoft.IdentityModel.Protocols.OpenIdConnect/8.0.1": {
|
||||
"dependencies": {
|
||||
"Microsoft.IdentityModel.Protocols": "8.0.1",
|
||||
"System.IdentityModel.Tokens.Jwt": "8.19.1"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/net9.0/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll": {
|
||||
"assemblyVersion": "8.0.1.0",
|
||||
"fileVersion": "8.0.1.50722"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Microsoft.IdentityModel.Tokens/8.19.1": {
|
||||
"dependencies": {
|
||||
"Microsoft.Bcl.Cryptography": "10.0.2",
|
||||
"Microsoft.IdentityModel.Logging": "8.19.1"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/net10.0/Microsoft.IdentityModel.Tokens.dll": {
|
||||
"assemblyVersion": "8.19.1.0",
|
||||
"fileVersion": "8.19.1.26153"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Microsoft.JSInterop.WebAssembly/10.0.9": {
|
||||
"runtime": {
|
||||
"lib/net10.0/Microsoft.JSInterop.WebAssembly.dll": {
|
||||
"assemblyVersion": "10.0.9.0",
|
||||
"fileVersion": "10.0.926.27113"
|
||||
}
|
||||
}
|
||||
},
|
||||
"MudBlazor/6.10.0": {
|
||||
"runtime": {
|
||||
"lib/net7.0/MudBlazor.dll": {
|
||||
"assemblyVersion": "6.10.0.0",
|
||||
"fileVersion": "6.10.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Npgsql/10.0.3": {
|
||||
"runtime": {
|
||||
"lib/net10.0/Npgsql.dll": {
|
||||
"assemblyVersion": "10.0.3.0",
|
||||
"fileVersion": "10.0.3.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Serilog/4.0.0": {
|
||||
"runtime": {
|
||||
"lib/net8.0/Serilog.dll": {
|
||||
"assemblyVersion": "4.0.0.0",
|
||||
"fileVersion": "4.0.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Serilog.AspNetCore/8.0.1": {
|
||||
"dependencies": {
|
||||
"Serilog": "4.0.0",
|
||||
"Serilog.Extensions.Hosting": "8.0.0",
|
||||
"Serilog.Extensions.Logging": "8.0.0",
|
||||
"Serilog.Formatting.Compact": "2.0.0",
|
||||
"Serilog.Settings.Configuration": "8.0.0",
|
||||
"Serilog.Sinks.Console": "6.0.0",
|
||||
"Serilog.Sinks.Debug": "2.0.0",
|
||||
"Serilog.Sinks.File": "5.0.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/net8.0/Serilog.AspNetCore.dll": {
|
||||
"assemblyVersion": "8.0.1.0",
|
||||
"fileVersion": "8.0.1.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Serilog.Extensions.Hosting/8.0.0": {
|
||||
"dependencies": {
|
||||
"Serilog": "4.0.0",
|
||||
"Serilog.Extensions.Logging": "8.0.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/net8.0/Serilog.Extensions.Hosting.dll": {
|
||||
"assemblyVersion": "7.0.0.0",
|
||||
"fileVersion": "8.0.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Serilog.Extensions.Logging/8.0.0": {
|
||||
"dependencies": {
|
||||
"Serilog": "4.0.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/net8.0/Serilog.Extensions.Logging.dll": {
|
||||
"assemblyVersion": "7.0.0.0",
|
||||
"fileVersion": "8.0.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Serilog.Formatting.Compact/2.0.0": {
|
||||
"dependencies": {
|
||||
"Serilog": "4.0.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/net7.0/Serilog.Formatting.Compact.dll": {
|
||||
"assemblyVersion": "2.0.0.0",
|
||||
"fileVersion": "2.0.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Serilog.Settings.Configuration/8.0.0": {
|
||||
"dependencies": {
|
||||
"Microsoft.Extensions.DependencyModel": "8.0.0",
|
||||
"Serilog": "4.0.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/net8.0/Serilog.Settings.Configuration.dll": {
|
||||
"assemblyVersion": "8.0.0.0",
|
||||
"fileVersion": "8.0.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Serilog.Sinks.Console/6.0.0": {
|
||||
"dependencies": {
|
||||
"Serilog": "4.0.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/net8.0/Serilog.Sinks.Console.dll": {
|
||||
"assemblyVersion": "6.0.0.0",
|
||||
"fileVersion": "6.0.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Serilog.Sinks.Debug/2.0.0": {
|
||||
"dependencies": {
|
||||
"Serilog": "4.0.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netstandard2.1/Serilog.Sinks.Debug.dll": {
|
||||
"assemblyVersion": "2.0.0.0",
|
||||
"fileVersion": "2.0.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Serilog.Sinks.File/5.0.0": {
|
||||
"dependencies": {
|
||||
"Serilog": "4.0.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/net5.0/Serilog.Sinks.File.dll": {
|
||||
"assemblyVersion": "5.0.0.0",
|
||||
"fileVersion": "5.0.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"System.IdentityModel.Tokens.Jwt/8.19.1": {
|
||||
"dependencies": {
|
||||
"Microsoft.IdentityModel.JsonWebTokens": "8.19.1",
|
||||
"Microsoft.IdentityModel.Tokens": "8.19.1"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/net10.0/System.IdentityModel.Tokens.Jwt.dll": {
|
||||
"assemblyVersion": "8.19.1.0",
|
||||
"fileVersion": "8.19.1.26153"
|
||||
}
|
||||
}
|
||||
},
|
||||
"TaxBaik.Application/1.0.0": {
|
||||
"dependencies": {
|
||||
"TaxBaik.Domain": "1.0.0"
|
||||
},
|
||||
"runtime": {
|
||||
"TaxBaik.Application.dll": {
|
||||
"assemblyVersion": "1.0.0.0",
|
||||
"fileVersion": "1.0.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"TaxBaik.Domain/1.0.0": {
|
||||
"runtime": {
|
||||
"TaxBaik.Domain.dll": {
|
||||
"assemblyVersion": "1.0.0.0",
|
||||
"fileVersion": "1.0.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"TaxBaik.Infrastructure/1.0.0": {
|
||||
"dependencies": {
|
||||
"Dapper": "2.1.15",
|
||||
"Npgsql": "10.0.3",
|
||||
"TaxBaik.Domain": "1.0.0"
|
||||
},
|
||||
"runtime": {
|
||||
"TaxBaik.Infrastructure.dll": {
|
||||
"assemblyVersion": "1.0.0.0",
|
||||
"fileVersion": "1.0.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"TaxBaik.Web.Client/1.0.0": {
|
||||
"dependencies": {
|
||||
"Microsoft.AspNetCore.Components.WebAssembly": "10.0.9",
|
||||
"Microsoft.IdentityModel.Tokens": "8.19.1",
|
||||
"MudBlazor": "6.10.0",
|
||||
"System.IdentityModel.Tokens.Jwt": "8.19.1",
|
||||
"TaxBaik.Application": "1.0.0"
|
||||
},
|
||||
"runtime": {
|
||||
"TaxBaik.Web.Client.dll": {
|
||||
"assemblyVersion": "1.0.0.0",
|
||||
"fileVersion": "1.0.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"TaxBaik.Web/1.0.0": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
},
|
||||
"BCrypt.Net-Next/4.0.3": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-W+U9WvmZQgi5cX6FS5GDtDoPzUCV4LkBLkywq/kRZhuDwcbavOzcDAr3LXJFqHUi952Yj3LEYoWW0jbEUQChsA==",
|
||||
"path": "bcrypt.net-next/4.0.3",
|
||||
"hashPath": "bcrypt.net-next.4.0.3.nupkg.sha512"
|
||||
},
|
||||
"Dapper/2.1.15": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-1aWSAosZymEM+mRwfrXteRIN74/JTUjqj9B/KqEbanH6vfUKy9D9cemRN0q1ZOEfSB7d1PpFTpVOCbf2Uv70Og==",
|
||||
"path": "dapper/2.1.15",
|
||||
"hashPath": "dapper.2.1.15.nupkg.sha512"
|
||||
},
|
||||
"Microsoft.AspNetCore.Authentication.Google/10.0.9": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-xqjTc8/ap0dwKmdaqSlV8RxjXb02uQ8rynDtTuHRU2gmOYaNm6O+uUjobp4Ararzq0ndKNXiWnQErxjWEGFGiA==",
|
||||
"path": "microsoft.aspnetcore.authentication.google/10.0.9",
|
||||
"hashPath": "microsoft.aspnetcore.authentication.google.10.0.9.nupkg.sha512"
|
||||
},
|
||||
"Microsoft.AspNetCore.Authentication.JwtBearer/10.0.9": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-Hs5NDsGm8YicDDNx5RoBIT+H2AB9R27MvZ2gHoupTiHr+nnH3VxzY7DcmlbJ3b5DvvOhK35lWt/9Odtrq9sjtA==",
|
||||
"path": "microsoft.aspnetcore.authentication.jwtbearer/10.0.9",
|
||||
"hashPath": "microsoft.aspnetcore.authentication.jwtbearer.10.0.9.nupkg.sha512"
|
||||
},
|
||||
"Microsoft.AspNetCore.Components.WebAssembly/10.0.9": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-tBv68AsZ3r6z2QdV2m3cSSKUCbvEscN8REpHxcUs22vlR6UjTz6IKdInKNREkJ/3G1AQrBKrRTdrfrHVffE8Iw==",
|
||||
"path": "microsoft.aspnetcore.components.webassembly/10.0.9",
|
||||
"hashPath": "microsoft.aspnetcore.components.webassembly.10.0.9.nupkg.sha512"
|
||||
},
|
||||
"Microsoft.AspNetCore.Components.WebAssembly.Server/10.0.9": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-ZTtYvBILwGxhIiXi1L03ETBBOgMmizStu7dO/YblK6rPTa27wpEgYKp5Z9bUfr+wsFvHIDWd/ZMGb9on41f6yw==",
|
||||
"path": "microsoft.aspnetcore.components.webassembly.server/10.0.9",
|
||||
"hashPath": "microsoft.aspnetcore.components.webassembly.server.10.0.9.nupkg.sha512"
|
||||
},
|
||||
"Microsoft.Bcl.Cryptography/10.0.2": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-LG9Yll3B5aNpxv0+D47g6LiOiKBIlodhcHdQwcYzo8VeexFLGqx5ymetmA2aBRyo9cCcWsQWrFsdbsr8LvmWDw==",
|
||||
"path": "microsoft.bcl.cryptography/10.0.2",
|
||||
"hashPath": "microsoft.bcl.cryptography.10.0.2.nupkg.sha512"
|
||||
},
|
||||
"Microsoft.Extensions.DependencyModel/8.0.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-NSmDw3K0ozNDgShSIpsZcbFIzBX4w28nDag+TfaQujkXGazBm+lid5onlWoCBy4VsLxqnnKjEBbGSJVWJMf43g==",
|
||||
"path": "microsoft.extensions.dependencymodel/8.0.0",
|
||||
"hashPath": "microsoft.extensions.dependencymodel.8.0.0.nupkg.sha512"
|
||||
},
|
||||
"Microsoft.IdentityModel.Abstractions/8.19.1": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-gFA8THIk23uNF/vMdOHnjIdXD1LyA2g12cHzMJ+Xag6WpgWLw6E/6uCXxvA0gp9d2yAvkRt3xzFzMUiO/hofnQ==",
|
||||
"path": "microsoft.identitymodel.abstractions/8.19.1",
|
||||
"hashPath": "microsoft.identitymodel.abstractions.8.19.1.nupkg.sha512"
|
||||
},
|
||||
"Microsoft.IdentityModel.JsonWebTokens/8.19.1": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-6eeY+y2QFyjj3XnCz/8gJdoP5smYHTS9ow1bw2nsZzDIPjPhBZlackYTIduSMipVpxnoT/B62LkrXX2jPggOXg==",
|
||||
"path": "microsoft.identitymodel.jsonwebtokens/8.19.1",
|
||||
"hashPath": "microsoft.identitymodel.jsonwebtokens.8.19.1.nupkg.sha512"
|
||||
},
|
||||
"Microsoft.IdentityModel.Logging/8.19.1": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-H+sMrMpdbWnwkQnpb/ESkQovtOgdefmj0ecGCcP40mDKzE5i4dUYkH6599M9mWYFNGNJnTp92l/9wLubYXWimw==",
|
||||
"path": "microsoft.identitymodel.logging/8.19.1",
|
||||
"hashPath": "microsoft.identitymodel.logging.8.19.1.nupkg.sha512"
|
||||
},
|
||||
"Microsoft.IdentityModel.Protocols/8.0.1": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-uA2vpKqU3I2mBBEaeJAWPTjT9v1TZrGWKdgK6G5qJd03CLx83kdiqO9cmiK8/n1erkHzFBwU/RphP83aAe3i3g==",
|
||||
"path": "microsoft.identitymodel.protocols/8.0.1",
|
||||
"hashPath": "microsoft.identitymodel.protocols.8.0.1.nupkg.sha512"
|
||||
},
|
||||
"Microsoft.IdentityModel.Protocols.OpenIdConnect/8.0.1": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-AQDbfpL+yzuuGhO/mQhKNsp44pm5Jv8/BI4KiFXR7beVGZoSH35zMV3PrmcfvSTsyI6qrcR898NzUauD6SRigg==",
|
||||
"path": "microsoft.identitymodel.protocols.openidconnect/8.0.1",
|
||||
"hashPath": "microsoft.identitymodel.protocols.openidconnect.8.0.1.nupkg.sha512"
|
||||
},
|
||||
"Microsoft.IdentityModel.Tokens/8.19.1": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-KDiuSLXud2AFVNAOottd8ztVysfPeHyr4r8gofU3/VKUXlI7oytzGTnPsNJ/B3nui17rgz8wAdWNJOtzPjkUxw==",
|
||||
"path": "microsoft.identitymodel.tokens/8.19.1",
|
||||
"hashPath": "microsoft.identitymodel.tokens.8.19.1.nupkg.sha512"
|
||||
},
|
||||
"Microsoft.JSInterop.WebAssembly/10.0.9": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-4G0A7GuQrtCAes8PuJPTDUcy+lCrxHWjr8ZlkDOa4h8a2Txj1XdhbXKLnld2vMY5EyZNC5jZXxa1xTD/AOCUlw==",
|
||||
"path": "microsoft.jsinterop.webassembly/10.0.9",
|
||||
"hashPath": "microsoft.jsinterop.webassembly.10.0.9.nupkg.sha512"
|
||||
},
|
||||
"MudBlazor/6.10.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-Dpjouo3MVva4p8Nh2VCzHzvzReWhnzmCBNlrhymeXjn6oBEtT3Oi9z/R2sHOg/jYrW/hIPKMhfZHnptilHScsw==",
|
||||
"path": "mudblazor/6.10.0",
|
||||
"hashPath": "mudblazor.6.10.0.nupkg.sha512"
|
||||
},
|
||||
"Npgsql/10.0.3": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-7nb5YzXuvWWJxB0J8DiyL3we+X4FOctZrt0fIBnucOIaIevFEEwGQVZKtiu9olXdlNAK1eNgqSral6r/jlhI4w==",
|
||||
"path": "npgsql/10.0.3",
|
||||
"hashPath": "npgsql.10.0.3.nupkg.sha512"
|
||||
},
|
||||
"Serilog/4.0.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-2jDkUrSh5EofOp7Lx5Zgy0EB+7hXjjxE2ktTb1WVQmU00lDACR2TdROGKU0K1pDTBSJBN1PqgYpgOZF8mL7NJw==",
|
||||
"path": "serilog/4.0.0",
|
||||
"hashPath": "serilog.4.0.0.nupkg.sha512"
|
||||
},
|
||||
"Serilog.AspNetCore/8.0.1": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-B/X+wAfS7yWLVOTD83B+Ip9yl4MkhioaXj90JSoWi1Ayi8XHepEnsBdrkojg08eodCnmOKmShFUN2GgEc6c0CQ==",
|
||||
"path": "serilog.aspnetcore/8.0.1",
|
||||
"hashPath": "serilog.aspnetcore.8.0.1.nupkg.sha512"
|
||||
},
|
||||
"Serilog.Extensions.Hosting/8.0.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-db0OcbWeSCvYQkHWu6n0v40N4kKaTAXNjlM3BKvcbwvNzYphQFcBR+36eQ/7hMMwOkJvAyLC2a9/jNdUL5NjtQ==",
|
||||
"path": "serilog.extensions.hosting/8.0.0",
|
||||
"hashPath": "serilog.extensions.hosting.8.0.0.nupkg.sha512"
|
||||
},
|
||||
"Serilog.Extensions.Logging/8.0.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-YEAMWu1UnWgf1c1KP85l1SgXGfiVo0Rz6x08pCiPOIBt2Qe18tcZLvdBUuV5o1QHvrs8FAry9wTIhgBRtjIlEg==",
|
||||
"path": "serilog.extensions.logging/8.0.0",
|
||||
"hashPath": "serilog.extensions.logging.8.0.0.nupkg.sha512"
|
||||
},
|
||||
"Serilog.Formatting.Compact/2.0.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-ob6z3ikzFM3D1xalhFuBIK1IOWf+XrQq+H4KeH4VqBcPpNcmUgZlRQ2h3Q7wvthpdZBBoY86qZOI2LCXNaLlNA==",
|
||||
"path": "serilog.formatting.compact/2.0.0",
|
||||
"hashPath": "serilog.formatting.compact.2.0.0.nupkg.sha512"
|
||||
},
|
||||
"Serilog.Settings.Configuration/8.0.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-nR0iL5HwKj5v6ULo3/zpP8NMcq9E2pxYA6XKTSWCbugVs4YqPyvaqaKOY+OMpPivKp7zMEpax2UKHnDodbRB0Q==",
|
||||
"path": "serilog.settings.configuration/8.0.0",
|
||||
"hashPath": "serilog.settings.configuration.8.0.0.nupkg.sha512"
|
||||
},
|
||||
"Serilog.Sinks.Console/6.0.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-fQGWqVMClCP2yEyTXPIinSr5c+CBGUvBybPxjAGcf7ctDhadFhrQw03Mv8rJ07/wR5PDfFjewf2LimvXCDzpbA==",
|
||||
"path": "serilog.sinks.console/6.0.0",
|
||||
"hashPath": "serilog.sinks.console.6.0.0.nupkg.sha512"
|
||||
},
|
||||
"Serilog.Sinks.Debug/2.0.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-Y6g3OBJ4JzTyyw16fDqtFcQ41qQAydnEvEqmXjhwhgjsnG/FaJ8GUqF5ldsC/bVkK8KYmqrPhDO+tm4dF6xx4A==",
|
||||
"path": "serilog.sinks.debug/2.0.0",
|
||||
"hashPath": "serilog.sinks.debug.2.0.0.nupkg.sha512"
|
||||
},
|
||||
"Serilog.Sinks.File/5.0.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-uwV5hdhWPwUH1szhO8PJpFiahqXmzPzJT/sOijH/kFgUx+cyoDTMM8MHD0adw9+Iem6itoibbUXHYslzXsLEAg==",
|
||||
"path": "serilog.sinks.file/5.0.0",
|
||||
"hashPath": "serilog.sinks.file.5.0.0.nupkg.sha512"
|
||||
},
|
||||
"System.IdentityModel.Tokens.Jwt/8.19.1": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-2VHcRtT95GAcW1E3aVBLvL2rAAMxKHXKMXKXFyWzwgkdFXZPMMvP8tVOfnRydL4vTr1RirNuGC6T8VSEF2YsPQ==",
|
||||
"path": "system.identitymodel.tokens.jwt/8.19.1",
|
||||
"hashPath": "system.identitymodel.tokens.jwt.8.19.1.nupkg.sha512"
|
||||
},
|
||||
"TaxBaik.Application/1.0.0": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
},
|
||||
"TaxBaik.Domain/1.0.0": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
},
|
||||
"TaxBaik.Infrastructure/1.0.0": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
},
|
||||
"TaxBaik.Web.Client/1.0.0": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"runtimeOptions": {
|
||||
"tfm": "net10.0",
|
||||
"frameworks": [
|
||||
{
|
||||
"name": "Microsoft.NETCore.App",
|
||||
"version": "10.0.0"
|
||||
},
|
||||
{
|
||||
"name": "Microsoft.AspNetCore.App",
|
||||
"version": "10.0.0"
|
||||
}
|
||||
],
|
||||
"configProperties": {
|
||||
"System.GC.Server": true,
|
||||
"System.Reflection.Metadata.MetadataUpdater.IsSupported": false,
|
||||
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -6,9 +6,16 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>백원숙 세무회계 - 관리자</title>
|
||||
<base href="/taxbaik/" />
|
||||
<link rel="icon" type="image/svg+xml" href="/taxbaik/favicon.svg" />
|
||||
<link rel="alternate icon" href="/taxbaik/favicon.ico" />
|
||||
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700&display=swap" rel="stylesheet" />
|
||||
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" />
|
||||
<link href="_content/MudBlazor/MudBlazor.min.css" rel="stylesheet" />
|
||||
<!-- EasyMDE 마크다운 에디터 -->
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/easymde@2.18.0/dist/easymde.min.css" />
|
||||
<script src="https://cdn.jsdelivr.net/npm/easymde@2.18.0/dist/easymde.min.js"></script>
|
||||
<!-- Marked 라이브러리 (EasyMDE 미리보기용) -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/marked@11.1.1/marked.min.js"></script>
|
||||
<script>
|
||||
document.documentElement.classList.toggle(
|
||||
'admin-login-route',
|
||||
@@ -32,13 +39,11 @@
|
||||
</div>
|
||||
</div>
|
||||
<MudThemeProvider @bind-IsDarkMode="isDarkMode" Theme="mudTheme" />
|
||||
<MudPopoverProvider />
|
||||
<MudDialogProvider />
|
||||
<MudSnackbarProvider />
|
||||
<Routes @rendermode="new InteractiveServerRenderMode(prerender: false)" />
|
||||
<Routes @rendermode="new InteractiveServerRenderMode(prerender: true)" />
|
||||
<script src="_content/MudBlazor/MudBlazor.min.js"></script>
|
||||
<script src="js/admin-session.js"></script>
|
||||
<script src="_framework/blazor.web.js"></script>
|
||||
<script>window.taxbaikAdminSession?.bindLoginForm();</script>
|
||||
<script>window.taxbaikAdminSession?.watchReconnect();</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -80,49 +85,49 @@
|
||||
},
|
||||
LayoutProperties = new LayoutProperties()
|
||||
{
|
||||
DefaultBorderRadius = "8px"
|
||||
DefaultBorderRadius = "6px"
|
||||
},
|
||||
Typography = new Typography()
|
||||
{
|
||||
Default = new Default()
|
||||
{
|
||||
FontSize = ".875rem",
|
||||
FontSize = ".8125rem",
|
||||
FontWeight = 400,
|
||||
LineHeight = 1.5
|
||||
},
|
||||
H1 = new H1()
|
||||
{
|
||||
FontSize = "2.5rem",
|
||||
FontSize = "1.75rem",
|
||||
FontWeight = 600,
|
||||
LineHeight = 1.2
|
||||
},
|
||||
H2 = new H2()
|
||||
{
|
||||
FontSize = "2rem",
|
||||
FontSize = "1.5rem",
|
||||
FontWeight = 600,
|
||||
LineHeight = 1.3
|
||||
},
|
||||
H3 = new H3()
|
||||
{
|
||||
FontSize = "1.75rem",
|
||||
FontSize = "1.25rem",
|
||||
FontWeight = 600,
|
||||
LineHeight = 1.3
|
||||
},
|
||||
H4 = new H4()
|
||||
{
|
||||
FontSize = "1.5rem",
|
||||
FontSize = "1.1rem",
|
||||
FontWeight = 600,
|
||||
LineHeight = 1.4
|
||||
},
|
||||
H5 = new H5()
|
||||
{
|
||||
FontSize = "1.25rem",
|
||||
FontSize = "0.95rem",
|
||||
FontWeight = 500,
|
||||
LineHeight = 1.4
|
||||
},
|
||||
H6 = new H6()
|
||||
{
|
||||
FontSize = "1rem",
|
||||
FontSize = "0.85rem",
|
||||
FontWeight = 500,
|
||||
LineHeight = 1.5
|
||||
}
|
||||
|
||||
@@ -1,7 +1,13 @@
|
||||
@inherits LayoutComponentBase
|
||||
@inject NavigationManager Navigation
|
||||
@inject IJSRuntime JS
|
||||
@inject VersionInfo VersionInfo
|
||||
@implements IDisposable
|
||||
@rendermode @(new InteractiveWebAssemblyRenderMode(prerender: false))
|
||||
|
||||
<MudPopoverProvider />
|
||||
<MudDialogProvider />
|
||||
<MudSnackbarProvider />
|
||||
|
||||
<MudLayout Class="admin-shell">
|
||||
<MudAppBar Elevation="0" Class="admin-topbar">
|
||||
@@ -10,9 +16,9 @@
|
||||
Edge="Edge.Start"
|
||||
Class="admin-menu-button"
|
||||
OnClick="@ToggleDrawer" />
|
||||
<div class="admin-topbar-title">
|
||||
<MudText Typo="Typo.caption" Color="Color.Secondary">TaxBaik Admin</MudText>
|
||||
<MudText Typo="Typo.h6">세무회계 관리 대시보드</MudText>
|
||||
<div class="admin-topbar-title" style="display: flex; align-items: center; gap: 8px;">
|
||||
<MudText Typo="Typo.body2" Class="font-weight-bold" Style="color: var(--primary-color);">[TaxBaik]</MudText>
|
||||
<MudText Typo="Typo.body2" Style="font-weight: bold; color: #1E293B;">세무회계 관리 대시보드</MudText>
|
||||
</div>
|
||||
<MudSpacer />
|
||||
|
||||
@@ -83,6 +89,12 @@
|
||||
<MudNavLink Href="/taxbaik/admin/inquiries" Icon="@Icons.Material.Filled.Forum">문의 관리</MudNavLink>
|
||||
<MudNavLink Href="/taxbaik/admin/settings" Icon="@Icons.Material.Filled.Tune">설정</MudNavLink>
|
||||
</MudNavMenu>
|
||||
|
||||
<div class="admin-drawer-version">
|
||||
<div class="admin-drawer-version-label">Version</div>
|
||||
<div class="admin-drawer-version-value">v@(VersionInfo.Version)</div>
|
||||
<div class="admin-drawer-version-built">@VersionInfo.Built</div>
|
||||
</div>
|
||||
</MudDrawer>
|
||||
|
||||
<MudMainContent Class="admin-main">
|
||||
|
||||
@@ -22,14 +22,22 @@
|
||||
</MudButton>
|
||||
</section>
|
||||
|
||||
<div class="d-flex pa-4 gap-4 align-center">
|
||||
<MudTextField @bind-Value="searchQuery" Placeholder="공지사항 제목 검색..." Adornment="Adornment.Start"
|
||||
AdornmentIcon="@Icons.Material.Filled.Search" IconSize="Size.Medium" Class="flex-grow-1" Immediate="true" Clearable="true" />
|
||||
</div>
|
||||
|
||||
<MudPaper Class="admin-surface" Elevation="0">
|
||||
@if (announcements is null)
|
||||
{
|
||||
<MudProgressLinear Indeterminate="true" />
|
||||
}
|
||||
else if (!announcements.Any())
|
||||
else if (!FilteredAnnouncements.Any())
|
||||
{
|
||||
<MudText Class="pa-4 text-muted">등록된 공지사항이 없습니다.</MudText>
|
||||
<div class="pa-6 text-center">
|
||||
<MudIcon Icon="@Icons.Material.Filled.Campaign" Style="font-size:3rem; opacity:.3;" />
|
||||
<MudText Class="mt-2 text-muted">검색 조건에 맞는 공지사항이 없습니다.</MudText>
|
||||
</div>
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -45,7 +53,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in announcements)
|
||||
@foreach (var item in FilteredAnnouncements)
|
||||
{
|
||||
<tr>
|
||||
<td>@item.Title</td>
|
||||
@@ -86,6 +94,9 @@
|
||||
}
|
||||
</tbody>
|
||||
</MudSimpleTable>
|
||||
<MudText Typo="Typo.caption" Class="pa-2 text-muted">
|
||||
검색 결과 @(FilteredAnnouncements.Count())개 · 총 @(announcements.Count)개
|
||||
</MudText>
|
||||
}
|
||||
</MudPaper>
|
||||
|
||||
@@ -94,6 +105,12 @@
|
||||
private Task<AuthenticationState>? AuthStateTask { get; set; }
|
||||
|
||||
private List<Announcement>? announcements;
|
||||
private string searchQuery = "";
|
||||
|
||||
private IEnumerable<Announcement> FilteredAnnouncements => announcements?
|
||||
.Where(a => string.IsNullOrEmpty(searchQuery) ||
|
||||
a.Title.Contains(searchQuery, StringComparison.OrdinalIgnoreCase))
|
||||
.OrderBy(a => a.SortOrder) ?? Enumerable.Empty<Announcement>();
|
||||
|
||||
protected override async Task OnAfterRenderAsync(bool firstRender)
|
||||
{
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
@page "/admin/blog/create"
|
||||
@attribute [Authorize]
|
||||
@rendermode @(new InteractiveServerRenderMode(prerender: false))
|
||||
@using TaxBaik.Application.DTOs
|
||||
@using TaxBaik.Application.Services
|
||||
@using TaxBaik.Domain.Interfaces
|
||||
@@ -21,8 +22,8 @@
|
||||
|
||||
<MudPaper Class="pa-4 mt-4" Elevation="1">
|
||||
<MudForm @ref="form">
|
||||
<MudTextField @bind-Value="model.Title" Label="제목"
|
||||
Variant="Variant.Outlined" Class="mb-4" Required="true" />
|
||||
<MudTextField @bind-Value="model.Title" Label="제목 *"
|
||||
Variant="Variant.Outlined" Class="mb-4" Required="true" RequiredError="제목을 입력하세요." Counter="100" MaxLength="100" />
|
||||
|
||||
<MudSelect T="int?" @bind-Value="model.CategoryId" Label="카테고리"
|
||||
Variant="Variant.Outlined" Class="mb-4">
|
||||
@@ -32,8 +33,11 @@
|
||||
}
|
||||
</MudSelect>
|
||||
|
||||
<MudTextField @bind-Value="model.Content" Label="본문"
|
||||
Variant="Variant.Outlined" Lines="10" Class="mb-4" Required="true" />
|
||||
<div class="mb-4">
|
||||
<label class="d-block mb-2" style="font-weight: 500;">본문 내용 (마크다운) *</label>
|
||||
<textarea id="markdown-editor" @bind="model.Content" style="display: none;"></textarea>
|
||||
<div id="editor-container" style="border: 1px solid #d0d0d0; border-radius: 4px; min-height: 400px;"></div>
|
||||
</div>
|
||||
|
||||
<MudTextField @bind-Value="model.Tags" Label="태그 (쉼표로 구분)"
|
||||
Variant="Variant.Outlined" Class="mb-4" />
|
||||
@@ -57,12 +61,24 @@
|
||||
private MudForm? form;
|
||||
private List<Domain.Entities.Category> categories = [];
|
||||
private CreatePostModel model = new();
|
||||
private EasyMDE.Editor? editor;
|
||||
|
||||
[Inject]
|
||||
private IJSRuntime JS { get; set; } = null!;
|
||||
|
||||
protected override async Task OnInitializedAsync()
|
||||
{
|
||||
categories = (await CategoryRepository.GetAllAsync()).ToList();
|
||||
}
|
||||
|
||||
protected override async Task OnAfterRenderAsync(bool firstRender)
|
||||
{
|
||||
if (firstRender)
|
||||
{
|
||||
await JS.InvokeVoidAsync("window.initMarkdownEditor", "markdown-editor", model.Content ?? "");
|
||||
}
|
||||
}
|
||||
|
||||
private void GoBack()
|
||||
{
|
||||
Navigation.NavigateTo("/taxbaik/admin/blog");
|
||||
@@ -73,6 +89,15 @@
|
||||
if (form == null)
|
||||
return;
|
||||
|
||||
// 에디터에서 최신 내용 가져오기
|
||||
model.Content = await JS.InvokeAsync<string>("window.getMarkdownContent");
|
||||
|
||||
if (string.IsNullOrWhiteSpace(model.Content))
|
||||
{
|
||||
Snackbar.Add("본문 내용을 입력하세요.", Severity.Error);
|
||||
return;
|
||||
}
|
||||
|
||||
await form.Validate();
|
||||
if (!form.IsValid)
|
||||
return;
|
||||
@@ -110,3 +135,33 @@
|
||||
public bool IsPublished { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
<!-- EasyMDE 초기화 스크립트 -->
|
||||
<script>
|
||||
window.initMarkdownEditor = function(editorId, initialContent) {
|
||||
if (!window.easyMDEInstance) {
|
||||
window.easyMDEInstance = new EasyMDE({
|
||||
element: document.getElementById(editorId),
|
||||
spellChecker: false,
|
||||
autoDownloadFontAwesome: false,
|
||||
initialValue: initialContent || "",
|
||||
toolbar: [
|
||||
"bold", "italic", "strikethrough", "|",
|
||||
"heading", "code", "|",
|
||||
"unordered-list", "ordered-list", "|",
|
||||
"link", "image", "table", "|",
|
||||
"quote", "horizontal-rule", "|",
|
||||
"preview", "side-by-side", "fullscreen", "|",
|
||||
"guide"
|
||||
],
|
||||
previewRender: function(plainText) {
|
||||
return marked.parse(plainText);
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
window.getMarkdownContent = function() {
|
||||
return window.easyMDEInstance ? window.easyMDEInstance.value() : "";
|
||||
};
|
||||
</script>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
@page "/admin/blog/{id:int}/edit"
|
||||
@attribute [Authorize]
|
||||
@rendermode @(new InteractiveServerRenderMode(prerender: false))
|
||||
@using TaxBaik.Application.DTOs
|
||||
@using TaxBaik.Application.Services
|
||||
@using TaxBaik.Domain.Interfaces
|
||||
@@ -32,8 +33,8 @@ else
|
||||
{
|
||||
<MudPaper Class="pa-4 mt-4" Elevation="1">
|
||||
<MudForm @ref="form">
|
||||
<MudTextField @bind-Value="model.Title" Label="제목"
|
||||
Variant="Variant.Outlined" Class="mb-4" Required="true" />
|
||||
<MudTextField @bind-Value="model.Title" Label="제목 *"
|
||||
Variant="Variant.Outlined" Class="mb-4" Required="true" RequiredError="제목을 입력하세요." Counter="100" MaxLength="100" />
|
||||
|
||||
<MudSelect T="int?" @bind-Value="model.CategoryId" Label="카테고리"
|
||||
Variant="Variant.Outlined" Class="mb-4">
|
||||
@@ -43,8 +44,11 @@ else
|
||||
}
|
||||
</MudSelect>
|
||||
|
||||
<MudTextField @bind-Value="model.Content" Label="본문"
|
||||
Variant="Variant.Outlined" Lines="10" Class="mb-4" Required="true" />
|
||||
<div class="mb-4">
|
||||
<label class="d-block mb-2" style="font-weight: 500;">본문 내용 (마크다운) *</label>
|
||||
<textarea id="markdown-editor" @bind="model.Content" style="display: none;"></textarea>
|
||||
<div id="editor-container" style="border: 1px solid #d0d0d0; border-radius: 4px; min-height: 400px;"></div>
|
||||
</div>
|
||||
|
||||
<MudTextField @bind-Value="model.Tags" Label="태그 (쉼표로 구분)"
|
||||
Variant="Variant.Outlined" Class="mb-4" />
|
||||
@@ -71,6 +75,9 @@ else
|
||||
[Parameter]
|
||||
public int Id { get; set; }
|
||||
|
||||
[Inject]
|
||||
private IJSRuntime JS { get; set; } = null!;
|
||||
|
||||
private MudForm? form;
|
||||
private Domain.Entities.BlogPost? post;
|
||||
private List<Domain.Entities.Category> categories = [];
|
||||
@@ -98,6 +105,14 @@ else
|
||||
}
|
||||
}
|
||||
|
||||
protected override async Task OnAfterRenderAsync(bool firstRender)
|
||||
{
|
||||
if (firstRender && post != null)
|
||||
{
|
||||
await JS.InvokeVoidAsync("window.initMarkdownEditor", "markdown-editor", model.Content ?? "");
|
||||
}
|
||||
}
|
||||
|
||||
private void MapPostToModel(Domain.Entities.BlogPost post)
|
||||
{
|
||||
model.Title = post.Title;
|
||||
@@ -119,6 +134,15 @@ else
|
||||
if (form == null || post == null)
|
||||
return;
|
||||
|
||||
// 에디터에서 최신 내용 가져오기
|
||||
model.Content = await JS.InvokeAsync<string>("window.getMarkdownContent");
|
||||
|
||||
if (string.IsNullOrWhiteSpace(model.Content))
|
||||
{
|
||||
Snackbar.Add("본문 내용을 입력하세요.", Severity.Error);
|
||||
return;
|
||||
}
|
||||
|
||||
await form.Validate();
|
||||
if (!form.IsValid)
|
||||
return;
|
||||
@@ -185,3 +209,33 @@ else
|
||||
public bool IsPublished { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
<!-- EasyMDE 초기화 스크립트 -->
|
||||
<script>
|
||||
window.initMarkdownEditor = function(editorId, initialContent) {
|
||||
if (!window.easyMDEInstance) {
|
||||
window.easyMDEInstance = new EasyMDE({
|
||||
element: document.getElementById(editorId),
|
||||
spellChecker: false,
|
||||
autoDownloadFontAwesome: false,
|
||||
initialValue: initialContent || "",
|
||||
toolbar: [
|
||||
"bold", "italic", "strikethrough", "|",
|
||||
"heading", "code", "|",
|
||||
"unordered-list", "ordered-list", "|",
|
||||
"link", "image", "table", "|",
|
||||
"quote", "horizontal-rule", "|",
|
||||
"preview", "side-by-side", "fullscreen", "|",
|
||||
"guide"
|
||||
],
|
||||
previewRender: function(plainText) {
|
||||
return marked.parse(plainText);
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
window.getMarkdownContent = function() {
|
||||
return window.easyMDEInstance ? window.easyMDEInstance.value() : "";
|
||||
};
|
||||
</script>
|
||||
|
||||
@@ -15,14 +15,19 @@
|
||||
Href="/taxbaik/admin/blog/create">새 포스트 작성</MudButton>
|
||||
</section>
|
||||
|
||||
<div class="d-flex pa-4 gap-4 align-center">
|
||||
<MudTextField @bind-Value="searchQuery" Placeholder="블로그 제목 또는 본문 검색..." Adornment="Adornment.Start"
|
||||
AdornmentIcon="@Icons.Material.Filled.Search" IconSize="Size.Medium" Class="flex-grow-1" Immediate="true" Clearable="true" />
|
||||
</div>
|
||||
|
||||
<MudPaper Class="admin-surface mb-4" Elevation="0">
|
||||
<MudStack Row="true" AlignItems="AlignItems.Center" Justify="Justify.SpaceBetween">
|
||||
<MudText Typo="Typo.subtitle1">@($"전체 포스트 {totalPosts}개")</MudText>
|
||||
<MudText Typo="Typo.subtitle1">@($"검색 결과 {FilteredPosts.Count()}개 / 전체 포스트 {totalPosts}개")</MudText>
|
||||
<MudText Typo="Typo.body2">페이지 @currentPage / @totalPages</MudText>
|
||||
</MudStack>
|
||||
</MudPaper>
|
||||
|
||||
<MudDataGrid Items="@posts" Striped="true" Hoverable="true" Loading="@isLoading" Class="admin-grid">
|
||||
<MudDataGrid Items="@FilteredPosts" Striped="true" Hoverable="true" Loading="@isLoading" Class="admin-grid">
|
||||
<Columns>
|
||||
<PropertyColumn Property="x => x.Title" Title="제목" />
|
||||
<PropertyColumn Property="x => x.IsPublished" Title="발행">
|
||||
@@ -54,12 +59,18 @@
|
||||
private Task<AuthenticationState>? AuthStateTask { get; set; }
|
||||
|
||||
private List<TaxBaik.Domain.Entities.BlogPost> posts = [];
|
||||
private string searchQuery = "";
|
||||
private bool isLoading = true;
|
||||
private int currentPage = 1;
|
||||
private int totalPages = 1;
|
||||
private int totalPosts = 0;
|
||||
private const int PageSize = 20;
|
||||
|
||||
private IEnumerable<TaxBaik.Domain.Entities.BlogPost> FilteredPosts => posts?
|
||||
.Where(p => string.IsNullOrEmpty(searchQuery) ||
|
||||
p.Title.Contains(searchQuery, StringComparison.OrdinalIgnoreCase) ||
|
||||
(p.Content != null && p.Content.Contains(searchQuery, StringComparison.OrdinalIgnoreCase))) ?? Enumerable.Empty<TaxBaik.Domain.Entities.BlogPost>();
|
||||
|
||||
protected override async Task OnAfterRenderAsync(bool firstRender)
|
||||
{
|
||||
if (firstRender)
|
||||
|
||||
@@ -21,116 +21,133 @@
|
||||
</MudText>
|
||||
}
|
||||
</div>
|
||||
<MudButton Variant="Variant.Filled" Color="Color.Primary" OnClick="OpenCreateDialog" StartIcon="@Icons.Material.Filled.Add">
|
||||
<MudButton Variant="Variant.Filled" Color="Color.Primary" OnClick="PrepareCreate" StartIcon="@Icons.Material.Filled.Add" id="btn-add-contract">
|
||||
새 계약 추가
|
||||
</MudButton>
|
||||
</section>
|
||||
|
||||
<MudPaper Class="admin-surface" Elevation="0">
|
||||
@if (contracts is null)
|
||||
{
|
||||
<MudProgressLinear Indeterminate="true" />
|
||||
}
|
||||
else if (contracts.Count == 0)
|
||||
{
|
||||
<MudAlert Severity="Severity.Info" Class="mt-4">
|
||||
<MudIcon Icon="@Icons.Material.Filled.Description" Class="me-2" />
|
||||
계약이 없습니다.
|
||||
</MudAlert>
|
||||
}
|
||||
else
|
||||
{
|
||||
<MudDataGrid T="Contract"
|
||||
Items="@contracts"
|
||||
Dense="true"
|
||||
Hover="true"
|
||||
Striped="true"
|
||||
Virtualize="true"
|
||||
RowsPerPage="30"
|
||||
Class="admin-grid">
|
||||
<Columns>
|
||||
<PropertyColumn Property="x => x.Id" Title="ID" Sortable="true" />
|
||||
<TemplateColumn Title="고객">
|
||||
<CellTemplate>
|
||||
@if (clientMap.TryGetValue(context.Item.ClientId, out var clientName))
|
||||
@if (contracts is null)
|
||||
{
|
||||
<MudProgressLinear Indeterminate="true" />
|
||||
}
|
||||
else
|
||||
{
|
||||
<MudGrid Spacing="2" Class="mt-2">
|
||||
<!-- Left: Dense Grid List -->
|
||||
<MudItem XS="12" MD="8">
|
||||
@if (contracts.Count == 0)
|
||||
{
|
||||
<MudAlert Severity="Severity.Info">
|
||||
<MudIcon Icon="@Icons.Material.Filled.Description" Class="me-2" />
|
||||
계약이 없습니다.
|
||||
</MudAlert>
|
||||
}
|
||||
else
|
||||
{
|
||||
<MudDataGrid T="Contract"
|
||||
Items="@contracts"
|
||||
Dense="true"
|
||||
Hover="true"
|
||||
Striped="true"
|
||||
Virtualize="true"
|
||||
RowsPerPage="30"
|
||||
SelectedItem="@selectedContract"
|
||||
SelectedItemChanged="OnRowSelected"
|
||||
Class="admin-grid">
|
||||
<Columns>
|
||||
<PropertyColumn Property="x => x.Id" Title="ID" Sortable="true" />
|
||||
<TemplateColumn Title="고객">
|
||||
<CellTemplate>
|
||||
@if (clientMap.TryGetValue(context.Item.ClientId, out var clientName))
|
||||
{
|
||||
@clientName
|
||||
}
|
||||
</CellTemplate>
|
||||
</TemplateColumn>
|
||||
<PropertyColumn Property="x => x.ContractNumber" Title="계약번호" />
|
||||
<PropertyColumn Property="x => x.ServiceType" Title="서비스 유형" />
|
||||
<PropertyColumn Property="x => x.MonthlyFee" Title="월 수수료" Format="C" />
|
||||
<TemplateColumn Title="계약기간">
|
||||
<CellTemplate>
|
||||
@context.Item.StartDate.ToString("yyyy-MM-dd")
|
||||
@if (context.Item.EndDate.HasValue)
|
||||
{
|
||||
<span>~@context.Item.EndDate.Value.ToString("yyyy-MM-dd")</span>
|
||||
}
|
||||
</CellTemplate>
|
||||
</TemplateColumn>
|
||||
<TemplateColumn Title="상태">
|
||||
<CellTemplate>
|
||||
@{
|
||||
var isActive = !context.Item.EndDate.HasValue || context.Item.EndDate.Value >= DateTime.Today;
|
||||
}
|
||||
@if (isActive)
|
||||
{
|
||||
<MudChip Size="Size.Small" Color="Color.Success" Variant="Variant.Filled">활성</MudChip>
|
||||
}
|
||||
else
|
||||
{
|
||||
<MudChip Size="Size.Small" Color="Color.Default" Variant="Variant.Outlined">만료</MudChip>
|
||||
}
|
||||
</CellTemplate>
|
||||
</TemplateColumn>
|
||||
<TemplateColumn Title="작업" Sortable="false">
|
||||
<CellTemplate>
|
||||
<MudIconButton Icon="@Icons.Material.Filled.Delete" Color="Color.Error" Size="Size.Small"
|
||||
OnClick="@(async () => await DeleteContract(context.Item.Id))" />
|
||||
</CellTemplate>
|
||||
</TemplateColumn>
|
||||
</Columns>
|
||||
</MudDataGrid>
|
||||
}
|
||||
</MudItem>
|
||||
|
||||
<!-- Right: Detail Form Panel (Inline Editor) -->
|
||||
<MudItem XS="12" MD="4">
|
||||
<MudPaper Class="pa-4 admin-surface admin-editor-panel" Elevation="0" Style="border: 1px solid var(--border-color); min-height: 400px;">
|
||||
<div class="d-flex align-center justify-space-between mb-4">
|
||||
<MudText Typo="Typo.h6" Class="font-weight-bold">@(isEditMode ? "계약 상세 정보" : "새 계약 추가")</MudText>
|
||||
@if (isEditMode)
|
||||
{
|
||||
<MudButton Size="Size.Small" Variant="Variant.Outlined" Color="Color.Secondary" OnClick="PrepareCreate">
|
||||
새로 작성
|
||||
</MudButton>
|
||||
}
|
||||
</div>
|
||||
<MudForm @ref="form">
|
||||
<MudSelect T="int?" @bind-Value="contractForm.ClientId" Label="고객" Required="true" Variant="Variant.Outlined" FullWidth="@true" Class="mb-3" RequiredError="고객을 선택하세요." Disabled="@isEditMode">
|
||||
@foreach (var client in clients)
|
||||
{
|
||||
<MudLink Href="@($"/taxbaik/admin/clients/{context.Item.ClientId}")" Color="Color.Primary">
|
||||
@clientName
|
||||
</MudLink>
|
||||
<MudSelectItem Value="@((int?)client.Id)">@GetClientDisplayName(client)</MudSelectItem>
|
||||
}
|
||||
</CellTemplate>
|
||||
</TemplateColumn>
|
||||
<PropertyColumn Property="x => x.ContractNumber" Title="계약번호" />
|
||||
<PropertyColumn Property="x => x.ServiceType" Title="서비스 유형" />
|
||||
<PropertyColumn Property="x => x.MonthlyFee" Title="월 수수료" Format="C" />
|
||||
<TemplateColumn Title="계약기간">
|
||||
<CellTemplate>
|
||||
@context.Item.StartDate.ToString("yyyy-MM-dd")
|
||||
@if (context.Item.EndDate.HasValue)
|
||||
</MudSelect>
|
||||
<MudTextField T="string" @bind-Value="contractForm.ContractNumber" Label="계약번호" Variant="Variant.Outlined" FullWidth="@true" Class="mb-3" Required="true" />
|
||||
<MudSelect T="string" @bind-Value="contractForm.ServiceType" Label="서비스 유형" Variant="Variant.Outlined" FullWidth="@true" Class="mb-3" Required="true">
|
||||
<MudSelectItem Value="@("개인 기장대리")">개인 기장대리</MudSelectItem>
|
||||
<MudSelectItem Value="@("법인 기장대리")">법인 기장대리</MudSelectItem>
|
||||
<MudSelectItem Value="@("세무조정 대행")">세무조정 대행</MudSelectItem>
|
||||
<MudSelectItem Value="@("양도세 신고대리")">양도세 신고대리</MudSelectItem>
|
||||
<MudSelectItem Value="@("상속·증여 자문")">상속·증여 자문</MudSelectItem>
|
||||
<MudSelectItem Value="@("세무조사 대응")">세무조사 대응</MudSelectItem>
|
||||
</MudSelect>
|
||||
<MudDatePicker @bind-Date="contractForm.StartDate" Label="계약 시작일" Variant="Variant.Outlined" FullWidth="@true" Class="mb-3" Required="true" />
|
||||
<MudNumericField T="decimal?" @bind-Value="contractForm.MonthlyFee" Label="월 수수료" Variant="Variant.Outlined" FullWidth="@true" Class="mb-4" />
|
||||
|
||||
<div class="d-flex justify-end gap-2">
|
||||
@if (isEditMode)
|
||||
{
|
||||
<span>~@context.Item.EndDate.Value.ToString("yyyy-MM-dd")</span>
|
||||
}
|
||||
</CellTemplate>
|
||||
</TemplateColumn>
|
||||
<TemplateColumn Title="상태">
|
||||
<CellTemplate>
|
||||
@{
|
||||
var isActive = !context.Item.EndDate.HasValue || context.Item.EndDate.Value >= DateTime.Today;
|
||||
}
|
||||
@if (isActive)
|
||||
{
|
||||
<MudChip Size="Size.Small" Color="Color.Success" Variant="Variant.Filled">활성</MudChip>
|
||||
<MudButton Variant="Variant.Outlined" Color="Color.Error" OnClick="@(async () => await DeleteContract(selectedContract?.Id ?? 0))">삭제</MudButton>
|
||||
}
|
||||
else
|
||||
{
|
||||
<MudChip Size="Size.Small" Color="Color.Default" Variant="Variant.Outlined">만료</MudChip>
|
||||
<MudButton Variant="Variant.Filled" Color="Color.Primary" OnClick="SaveContract" id="btn-save-contract">저장</MudButton>
|
||||
}
|
||||
</CellTemplate>
|
||||
</TemplateColumn>
|
||||
<TemplateColumn Title="작업" Sortable="false">
|
||||
<CellTemplate>
|
||||
<MudButtonGroup Size="Size.Small" Variant="Variant.Outlined">
|
||||
<MudIconButton Icon="@Icons.Material.Filled.Delete" Color="Color.Error"
|
||||
OnClick="@(async () => await DeleteContract(context.Item.Id))" />
|
||||
</MudButtonGroup>
|
||||
</CellTemplate>
|
||||
</TemplateColumn>
|
||||
</Columns>
|
||||
</MudDataGrid>
|
||||
}
|
||||
</MudPaper>
|
||||
|
||||
<!-- Create Dialog -->
|
||||
<MudDialog @bind-IsVisible="isDialogOpen" Options="new DialogOptions { MaxWidth = MaxWidth.Small, FullWidth = true }">
|
||||
<TitleContent>
|
||||
<MudText Typo="Typo.h6">새 계약 추가</MudText>
|
||||
</TitleContent>
|
||||
<DialogContent>
|
||||
<MudForm @ref="form">
|
||||
<MudSelect T="int?" @bind-Value="contractForm.ClientId" Label="고객" Required="true" Variant="Variant.Outlined" FullWidth="true" Class="mb-4" RequiredError="고객을 선택하세요.">
|
||||
@foreach (var client in clients)
|
||||
{
|
||||
<MudSelectItem Value="@((int?)client.Id)">@GetClientDisplayName(client)</MudSelectItem>
|
||||
}
|
||||
</MudSelect>
|
||||
<MudTextField T="string" @bind-Value="contractForm.ContractNumber" Label="계약번호" Variant="Variant.Outlined" FullWidth="true" Class="mb-4" Required="true" />
|
||||
<MudSelect T="string" @bind-Value="contractForm.ServiceType" Label="서비스 유형" Variant="Variant.Outlined" FullWidth="true" Class="mb-4" Required="true">
|
||||
<MudSelectItem Value="@("개인 기장대리")">개인 기장대리</MudSelectItem>
|
||||
<MudSelectItem Value="@("법인 기장대리")">법인 기장대리</MudSelectItem>
|
||||
<MudSelectItem Value="@("세무조정 대행")">세무조정 대행</MudSelectItem>
|
||||
<MudSelectItem Value="@("양도세 신고대리")">양도세 신고대리</MudSelectItem>
|
||||
<MudSelectItem Value="@("상속·증여 자문")">상속·증여 자문</MudSelectItem>
|
||||
<MudSelectItem Value="@("세무조사 대응")">세무조사 대응</MudSelectItem>
|
||||
</MudSelect>
|
||||
<MudDatePicker @bind-Date="contractForm.StartDate" Label="계약 시작일" Variant="Variant.Outlined" FullWidth="true" Class="mb-4" Required="true" />
|
||||
<MudNumericField T="decimal?" @bind-Value="contractForm.MonthlyFee" Label="월 수수료" Variant="Variant.Outlined" FullWidth="true" Class="mb-4" />
|
||||
</MudForm>
|
||||
</DialogContent>
|
||||
<DialogActions>
|
||||
<MudButton OnClick="CloseDialog">취소</MudButton>
|
||||
<MudButton Color="Color.Primary" OnClick="SaveContract">저장</MudButton>
|
||||
</DialogActions>
|
||||
</MudDialog>
|
||||
</div>
|
||||
</MudForm>
|
||||
</MudPaper>
|
||||
</MudItem>
|
||||
</MudGrid>
|
||||
}
|
||||
|
||||
@code {
|
||||
[CascadingParameter]
|
||||
@@ -141,7 +158,8 @@
|
||||
private Dictionary<int, string> clientMap = new();
|
||||
private decimal mrr = 0;
|
||||
private MudForm? form;
|
||||
private bool isDialogOpen;
|
||||
private bool isEditMode;
|
||||
private Contract? selectedContract;
|
||||
private ContractForm contractForm = new();
|
||||
|
||||
protected override async Task OnAfterRenderAsync(bool firstRender)
|
||||
@@ -154,6 +172,7 @@
|
||||
if (authState.User.Identity?.IsAuthenticated == true)
|
||||
{
|
||||
await LoadData();
|
||||
PrepareCreate();
|
||||
StateHasChanged();
|
||||
}
|
||||
}
|
||||
@@ -176,14 +195,30 @@
|
||||
}
|
||||
}
|
||||
|
||||
private void OpenCreateDialog()
|
||||
private void PrepareCreate()
|
||||
{
|
||||
selectedContract = null;
|
||||
isEditMode = false;
|
||||
contractForm = new ContractForm
|
||||
{
|
||||
ClientId = clients.FirstOrDefault()?.Id,
|
||||
StartDate = DateTime.Today
|
||||
};
|
||||
isDialogOpen = true;
|
||||
}
|
||||
|
||||
private void OnRowSelected(Contract contract)
|
||||
{
|
||||
if (contract == null) return;
|
||||
selectedContract = contract;
|
||||
isEditMode = true;
|
||||
contractForm = new ContractForm
|
||||
{
|
||||
ClientId = contract.ClientId,
|
||||
ContractNumber = contract.ContractNumber,
|
||||
ServiceType = contract.ServiceType,
|
||||
StartDate = contract.StartDate,
|
||||
MonthlyFee = contract.MonthlyFee
|
||||
};
|
||||
}
|
||||
|
||||
private async Task SaveContract()
|
||||
@@ -211,7 +246,7 @@
|
||||
if (newId > 0)
|
||||
{
|
||||
Snackbar.Add("계약이 추가되었습니다.", Severity.Success);
|
||||
CloseDialog();
|
||||
PrepareCreate();
|
||||
await LoadData();
|
||||
}
|
||||
}
|
||||
@@ -239,6 +274,10 @@
|
||||
{
|
||||
await ContractClient.DeleteAsync(id);
|
||||
Snackbar.Add("계약이 삭제되었습니다.", Severity.Success);
|
||||
if (selectedContract?.Id == id)
|
||||
{
|
||||
PrepareCreate();
|
||||
}
|
||||
await LoadData();
|
||||
}
|
||||
catch (Exception ex)
|
||||
@@ -247,18 +286,13 @@
|
||||
}
|
||||
}
|
||||
|
||||
private void CloseDialog()
|
||||
{
|
||||
isDialogOpen = false;
|
||||
contractForm = new();
|
||||
}
|
||||
|
||||
private static string GetClientDisplayName(Client client)
|
||||
=> !string.IsNullOrWhiteSpace(client.CompanyName)
|
||||
? client.CompanyName
|
||||
: !string.IsNullOrWhiteSpace(client.Name)
|
||||
? client.Name
|
||||
: $"Client #{client.Id}";
|
||||
|
||||
private class ContractForm
|
||||
{
|
||||
public int? ClientId { get; set; }
|
||||
|
||||
@@ -17,49 +17,58 @@
|
||||
</MudButton>
|
||||
</section>
|
||||
|
||||
<!-- Metrics Grid - Pure HTML div instead of MudGrid to ensure proper layout -->
|
||||
@if (!string.IsNullOrEmpty(errorMessage))
|
||||
{
|
||||
<MudAlert Severity="Severity.Error" Class="mb-4">@errorMessage</MudAlert>
|
||||
}
|
||||
@if (isLoading)
|
||||
{
|
||||
<MudProgressLinear Color="Color.Primary" Indeterminate="true" Class="mb-4" />
|
||||
}
|
||||
|
||||
<!-- Metrics Grid -->
|
||||
<div class="admin-metric-grid">
|
||||
<div class="admin-metric-card accent-blue cursor-pointer" @onclick='(() => Nav.NavigateTo("/taxbaik/admin/inquiries"))' style="cursor: pointer;">
|
||||
<div style="display: flex; flex-direction: column; gap: 12px; height: 100%;">
|
||||
<span style="font-size: 0.75rem; color: #999; text-transform: uppercase; font-weight: 600;">이번달 문의</span>
|
||||
<div style="display: flex; justify-content: space-between; align-items: center; flex: 1;">
|
||||
<span style="font-size: 2rem; font-weight: 700; color: #1565c0;">@summary.ThisMonthInquiries</span>
|
||||
<span style="font-size: 2.5rem; opacity: 0.15; color: #1976d2;">💬</span>
|
||||
<div class="admin-metric-card accent-blue cursor-pointer" @onclick='(() => Nav.NavigateTo("/taxbaik/admin/inquiries"))'>
|
||||
<div class="admin-metric-card-body">
|
||||
<span class="admin-metric-card-label">이번달 문의</span>
|
||||
<div class="admin-metric-card-value-row">
|
||||
<span class="admin-metric-card-value" style="color: var(--primary-dark);">@summary.ThisMonthInquiries</span>
|
||||
<span class="admin-metric-card-icon" style="color: var(--primary-color);">💬</span>
|
||||
</div>
|
||||
<span style="font-size: 0.9rem; color: #666;">월간 상담 유입 (클릭 시 이동)</span>
|
||||
<span class="admin-metric-card-caption">월간 상담 유입 (클릭 시 이동)</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="admin-metric-card accent-amber cursor-pointer" @onclick='(() => Nav.NavigateTo("/taxbaik/admin/inquiries?status=new"))' style="cursor: pointer;">
|
||||
<div style="display: flex; flex-direction: column; gap: 12px; height: 100%;">
|
||||
<span style="font-size: 0.75rem; color: #999; text-transform: uppercase; font-weight: 600;">신규 문의</span>
|
||||
<div style="display: flex; justify-content: space-between; align-items: center; flex: 1;">
|
||||
<span style="font-size: 2rem; font-weight: 700; color: #e65100;">@summary.NewInquiries</span>
|
||||
<span style="font-size: 2.5rem; opacity: 0.15; color: #f57c00;">⚠️</span>
|
||||
<div class="admin-metric-card accent-amber cursor-pointer" @onclick='(() => Nav.NavigateTo("/taxbaik/admin/inquiries?status=new"))'>
|
||||
<div class="admin-metric-card-body">
|
||||
<span class="admin-metric-card-label">신규 문의</span>
|
||||
<div class="admin-metric-card-value-row">
|
||||
<span class="admin-metric-card-value" style="color: var(--tertiary-dark);">@summary.NewInquiries</span>
|
||||
<span class="admin-metric-card-icon" style="color: var(--tertiary-color);">⚠️</span>
|
||||
</div>
|
||||
<span style="font-size: 0.9rem; color: #666;">처리 대기 (클릭 시 이동)</span>
|
||||
<span class="admin-metric-card-caption">처리 대기 (클릭 시 이동)</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="admin-metric-card accent-slate cursor-pointer" @onclick='(() => Nav.NavigateTo("/taxbaik/admin/blog"))' style="cursor: pointer;">
|
||||
<div style="display: flex; flex-direction: column; gap: 12px; height: 100%;">
|
||||
<span style="font-size: 0.75rem; color: #999; text-transform: uppercase; font-weight: 600;">전체 포스트</span>
|
||||
<div style="display: flex; justify-content: space-between; align-items: center; flex: 1;">
|
||||
<span style="font-size: 2rem; font-weight: 700; color: #455a64;">@summary.TotalPosts</span>
|
||||
<span style="font-size: 2.5rem; opacity: 0.15; color: #607d8b;">📄</span>
|
||||
<div class="admin-metric-card accent-slate cursor-pointer" @onclick='(() => Nav.NavigateTo("/taxbaik/admin/blog"))'>
|
||||
<div class="admin-metric-card-body">
|
||||
<span class="admin-metric-card-label">전체 포스트</span>
|
||||
<div class="admin-metric-card-value-row">
|
||||
<span class="admin-metric-card-value" style="color: #455a64;">@summary.TotalPosts</span>
|
||||
<span class="admin-metric-card-icon" style="color: #607d8b;">📄</span>
|
||||
</div>
|
||||
<span style="font-size: 0.9rem; color: #666;">콘텐츠 자산 (클릭 시 이동)</span>
|
||||
<span class="admin-metric-card-caption">콘텐츠 자산 (클릭 시 이동)</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="admin-metric-card accent-green cursor-pointer" @onclick='(() => Nav.NavigateTo("/taxbaik/admin/blog"))' style="cursor: pointer;">
|
||||
<div style="display: flex; flex-direction: column; gap: 12px; height: 100%;">
|
||||
<span style="font-size: 0.75rem; color: #999; text-transform: uppercase; font-weight: 600;">발행된 포스트</span>
|
||||
<div style="display: flex; justify-content: space-between; align-items: center; flex: 1;">
|
||||
<span style="font-size: 2rem; font-weight: 700; color: #2e7d32;">@summary.PublishedPosts</span>
|
||||
<span style="font-size: 2.5rem; opacity: 0.15; color: #388e3c;">🌐</span>
|
||||
<div class="admin-metric-card accent-green cursor-pointer" @onclick='(() => Nav.NavigateTo("/taxbaik/admin/blog"))'>
|
||||
<div class="admin-metric-card-body">
|
||||
<span class="admin-metric-card-label">발행된 포스트</span>
|
||||
<div class="admin-metric-card-value-row">
|
||||
<span class="admin-metric-card-value" style="color: var(--secondary-dark);">@summary.PublishedPosts</span>
|
||||
<span class="admin-metric-card-icon" style="color: var(--secondary-color);">🌐</span>
|
||||
</div>
|
||||
<span style="font-size: 0.9rem; color: #666;">검색 노출 대상 (클릭 시 이동)</span>
|
||||
<span class="admin-metric-card-caption">검색 노출 대상 (클릭 시 이동)</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -22,16 +22,21 @@
|
||||
</MudButton>
|
||||
</section>
|
||||
|
||||
<div class="d-flex pa-4 gap-4 align-center">
|
||||
<MudTextField @bind-Value="searchQuery" Placeholder="질문 또는 답변 검색..." Adornment="Adornment.Start"
|
||||
AdornmentIcon="@Icons.Material.Filled.Search" IconSize="Size.Medium" Class="flex-grow-1" Immediate="true" Clearable="true" />
|
||||
</div>
|
||||
|
||||
<MudPaper Class="admin-surface" Elevation="0">
|
||||
@if (faqs is null)
|
||||
{
|
||||
<MudProgressLinear Indeterminate="true" />
|
||||
}
|
||||
else if (!faqs.Any())
|
||||
else if (!FilteredFaqs.Any())
|
||||
{
|
||||
<div class="pa-6 text-center">
|
||||
<MudIcon Icon="@Icons.Material.Filled.QuestionAnswer" Style="font-size:3rem; opacity:.3;" />
|
||||
<MudText Class="mt-2 text-muted">등록된 FAQ가 없습니다.</MudText>
|
||||
<MudText Class="mt-2 text-muted">검색 조건에 맞는 FAQ가 없습니다.</MudText>
|
||||
</div>
|
||||
}
|
||||
else
|
||||
@@ -39,7 +44,7 @@
|
||||
<MudSimpleTable Striped="true" Dense="true" Class="admin-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width:60px;">순서</th>
|
||||
<th style="width:110px;">순서</th>
|
||||
<th>질문</th>
|
||||
<th style="width:130px;">카테고리</th>
|
||||
<th style="width:90px;">상태</th>
|
||||
@@ -47,11 +52,15 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in faqs)
|
||||
@foreach (var item in FilteredFaqs)
|
||||
{
|
||||
<tr>
|
||||
<td class="text-center">
|
||||
<MudText Typo="Typo.body2">@item.SortOrder</MudText>
|
||||
<td>
|
||||
<div class="d-flex align-center justify-start gap-1">
|
||||
<MudText Typo="Typo.body2" Class="mr-2">@item.SortOrder</MudText>
|
||||
<MudIconButton Icon="@Icons.Material.Filled.ArrowDropUp" Size="Size.Small" OnClick="@(() => MoveUpAsync(item))" Style="padding:2px;" Dense="true" />
|
||||
<MudIconButton Icon="@Icons.Material.Filled.ArrowDropDown" Size="Size.Small" OnClick="@(() => MoveDownAsync(item))" Style="padding:2px;" Dense="true" />
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<MudText Typo="Typo.body2" Style="max-width:480px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;">
|
||||
@@ -77,10 +86,10 @@
|
||||
<td>
|
||||
<MudButtonGroup Size="Size.Small" Variant="Variant.Outlined">
|
||||
<MudButton @onclick="@(() => Navigation.NavigateTo($"/taxbaik/admin/faqs/{item.Id}/edit"))">
|
||||
수정
|
||||
수정
|
||||
</MudButton>
|
||||
<MudButton Color="Color.Error" @onclick="@(() => DeleteAsync(item))">
|
||||
삭제
|
||||
삭제
|
||||
</MudButton>
|
||||
</MudButtonGroup>
|
||||
</td>
|
||||
@@ -89,7 +98,7 @@
|
||||
</tbody>
|
||||
</MudSimpleTable>
|
||||
<MudText Typo="Typo.caption" Class="pa-2 text-muted">
|
||||
총 @(faqs.Count)개 · 노출 중 @(faqs.Count(f => f.IsActive))개
|
||||
검색 결과 @(FilteredFaqs.Count())개 · 총 @(faqs.Count)개 · 노출 중 @(faqs.Count(f => f.IsActive))개
|
||||
</MudText>
|
||||
}
|
||||
</MudPaper>
|
||||
@@ -99,6 +108,13 @@
|
||||
private Task<AuthenticationState>? AuthStateTask { get; set; }
|
||||
|
||||
private List<Faq>? faqs;
|
||||
private string searchQuery = "";
|
||||
|
||||
private IEnumerable<Faq> FilteredFaqs => faqs?
|
||||
.Where(f => string.IsNullOrEmpty(searchQuery) ||
|
||||
f.Question.Contains(searchQuery, StringComparison.OrdinalIgnoreCase) ||
|
||||
(f.Answer != null && f.Answer.Contains(searchQuery, StringComparison.OrdinalIgnoreCase)))
|
||||
.OrderBy(f => f.SortOrder) ?? Enumerable.Empty<Faq>();
|
||||
|
||||
protected override async Task OnAfterRenderAsync(bool firstRender)
|
||||
{
|
||||
@@ -120,7 +136,7 @@
|
||||
{
|
||||
try
|
||||
{
|
||||
faqs = (await FaqClient.GetAllAsync()).ToList();
|
||||
faqs = (await FaqClient.GetAllAsync()).OrderBy(f => f.SortOrder).ToList();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
@@ -129,6 +145,66 @@
|
||||
}
|
||||
}
|
||||
|
||||
private async Task MoveUpAsync(Faq item)
|
||||
{
|
||||
if (faqs == null) return;
|
||||
var sorted = faqs.OrderBy(f => f.SortOrder).ToList();
|
||||
var index = sorted.IndexOf(item);
|
||||
if (index <= 0) return;
|
||||
|
||||
var prev = sorted[index - 1];
|
||||
var temp = item.SortOrder;
|
||||
item.SortOrder = prev.SortOrder;
|
||||
prev.SortOrder = temp;
|
||||
|
||||
if (item.SortOrder == prev.SortOrder)
|
||||
{
|
||||
prev.SortOrder = item.SortOrder + 1;
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
await FaqClient.UpdateAsync(item.Id, item);
|
||||
await FaqClient.UpdateAsync(prev.Id, prev);
|
||||
Snackbar.Add("순서가 상향되었습니다.", Severity.Success);
|
||||
await LoadAsync();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Snackbar.Add($"순서 조정 실패: {ex.Message}", Severity.Error);
|
||||
}
|
||||
}
|
||||
|
||||
private async Task MoveDownAsync(Faq item)
|
||||
{
|
||||
if (faqs == null) return;
|
||||
var sorted = faqs.OrderBy(f => f.SortOrder).ToList();
|
||||
var index = sorted.IndexOf(item);
|
||||
if (index < 0 || index >= sorted.Count - 1) return;
|
||||
|
||||
var next = sorted[index + 1];
|
||||
var temp = item.SortOrder;
|
||||
item.SortOrder = next.SortOrder;
|
||||
next.SortOrder = temp;
|
||||
|
||||
if (item.SortOrder == next.SortOrder)
|
||||
{
|
||||
next.SortOrder = item.SortOrder + 1;
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
await FaqClient.UpdateAsync(item.Id, item);
|
||||
await FaqClient.UpdateAsync(next.Id, next);
|
||||
Snackbar.Add("순서가 하향되었습니다.", Severity.Success);
|
||||
await LoadAsync();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Snackbar.Add($"순서 조정 실패: {ex.Message}", Severity.Error);
|
||||
}
|
||||
}
|
||||
|
||||
private async Task DeleteAsync(Faq item)
|
||||
{
|
||||
var confirmed = await DialogService.ShowMessageBox(
|
||||
|
||||
@@ -1,12 +1,10 @@
|
||||
@page "/admin/login"
|
||||
@using System.ComponentModel.DataAnnotations
|
||||
@layout TaxBaik.Web.Components.Admin.Layout.BlankLayout
|
||||
@attribute [AllowAnonymous]
|
||||
@rendermode @(new InteractiveServerRenderMode(prerender: true))
|
||||
@inject IApiClient ApiClient
|
||||
@inject NavigationManager NavigationManager
|
||||
@inject CustomAuthenticationStateProvider AuthStateProvider
|
||||
@inject IJSRuntime Js
|
||||
@inject ILocalStorageService LocalStorageService
|
||||
@inject IJSRuntime Js
|
||||
|
||||
<PageTitle>로그인</PageTitle>
|
||||
|
||||
@@ -14,52 +12,39 @@
|
||||
<MudPaper Class="pa-8" Elevation="3" Style="width: 100%; max-width: 400px;">
|
||||
<MudText Typo="Typo.h4" Class="mb-6 text-center">관리자 로그인</MudText>
|
||||
|
||||
<form @onsubmit="HandleLogin" @onsubmit:preventDefault>
|
||||
<InputText class="mud-input mud-input-outlined mud-input-root mud-input-root-adorned-start mb-4"
|
||||
style="width: 100%; min-height: 56px; padding: 16px 14px;"
|
||||
placeholder="사용자명"
|
||||
autocomplete="username"
|
||||
@bind-Value="model.Username" />
|
||||
<form id="admin-login-form">
|
||||
<input class="mud-input mud-input-outlined mud-input-root mud-input-root-adorned-start mb-4"
|
||||
style="width: 100%; min-height: 56px; padding: 16px 14px;"
|
||||
placeholder="사용자명"
|
||||
autocomplete="username"
|
||||
name="username"
|
||||
value="@model.Username" />
|
||||
|
||||
<InputText type="password"
|
||||
class="mud-input mud-input-outlined mud-input-root mud-input-root-adorned-start mb-4"
|
||||
style="width: 100%; min-height: 56px; padding: 16px 14px;"
|
||||
placeholder="비밀번호"
|
||||
autocomplete="current-password"
|
||||
@bind-Value="model.Password" />
|
||||
<input type="password"
|
||||
class="mud-input mud-input-outlined mud-input-root mud-input-root-adorned-start mb-4"
|
||||
style="width: 100%; min-height: 56px; padding: 16px 14px;"
|
||||
placeholder="비밀번호"
|
||||
autocomplete="current-password"
|
||||
name="password" />
|
||||
|
||||
<div class="mb-4">
|
||||
<InputCheckbox class="mud-checkbox" @bind-Value="model.RememberMe" />
|
||||
<input class="mud-checkbox" type="checkbox" name="rememberMe" />
|
||||
<label style="margin-left: 8px; cursor: pointer;">아이디 저장</label>
|
||||
</div>
|
||||
|
||||
@if (!string.IsNullOrEmpty(errorMessage))
|
||||
{
|
||||
<MudAlert Severity="Severity.Error" Class="mb-4">@errorMessage</MudAlert>
|
||||
}
|
||||
<div class="mud-alert mud-alert-filled-error mb-4 login-error-message" style="display:none;">로그인 중 오류가 발생했습니다.</div>
|
||||
|
||||
<button type="submit"
|
||||
class="mud-button-root mud-button mud-button-filled mud-button-filled-primary mud-elevation-0"
|
||||
style="width: 100%; min-height: 52px; border: 0; border-radius: 4px; color: white;"
|
||||
disabled="@isLoading">
|
||||
@if (isLoading)
|
||||
{
|
||||
<MudProgressCircular Size="Size.Small" Indeterminate="true" Class="mr-2" />
|
||||
<span>로그인 중...</span>
|
||||
}
|
||||
else
|
||||
{
|
||||
<span>로그인</span>
|
||||
}
|
||||
style="width: 100%; min-height: 52px; border: 0; border-radius: 4px; color: white;">
|
||||
<span>로그인</span>
|
||||
</button>
|
||||
</form>
|
||||
</MudPaper>
|
||||
</MudContainer>
|
||||
|
||||
@code {
|
||||
private bool isLoading = false;
|
||||
private string errorMessage = "";
|
||||
private LoginModel model = new();
|
||||
private readonly LoginModel model = new();
|
||||
private const string RememberedUsernameKey = "admin-remembered-username";
|
||||
|
||||
protected override async Task OnInitializedAsync()
|
||||
@@ -70,12 +55,11 @@
|
||||
if (!string.IsNullOrEmpty(remembered))
|
||||
{
|
||||
model.Username = remembered;
|
||||
model.RememberMe = true;
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
// LocalStorage not available in pre-render
|
||||
// LocalStorage may be unavailable during prerender.
|
||||
}
|
||||
}
|
||||
|
||||
@@ -85,75 +69,10 @@
|
||||
await Js.InvokeVoidAsync("taxbaikAdminSession.syncRouteClass");
|
||||
}
|
||||
|
||||
private async Task HandleLogin()
|
||||
{
|
||||
if (isLoading)
|
||||
return;
|
||||
|
||||
isLoading = true;
|
||||
errorMessage = "";
|
||||
|
||||
try
|
||||
{
|
||||
var request = new { model.Username, model.Password };
|
||||
var response = await ApiClient.PostAsync<LoginResponse>("auth/login", request);
|
||||
|
||||
if (response?.AccessToken == null || response?.RefreshToken == null)
|
||||
{
|
||||
errorMessage = "사용자명 또는 비밀번호가 올바르지 않습니다.";
|
||||
isLoading = false;
|
||||
return;
|
||||
}
|
||||
|
||||
if (model.RememberMe)
|
||||
{
|
||||
await LocalStorageService.SetItemAsStringAsync(RememberedUsernameKey, model.Username);
|
||||
}
|
||||
else
|
||||
{
|
||||
await LocalStorageService.RemoveItemAsync(RememberedUsernameKey);
|
||||
}
|
||||
|
||||
await ApiClient.SetAuthToken(response.AccessToken);
|
||||
await AuthStateProvider.LoginAsync(response.AccessToken, response.RefreshToken, response.ExpiresIn);
|
||||
NavigationManager.NavigateTo(GetReturnUrl(), forceLoad: false);
|
||||
}
|
||||
catch
|
||||
{
|
||||
errorMessage = "로그인 중 오류가 발생했습니다.";
|
||||
isLoading = false;
|
||||
}
|
||||
}
|
||||
|
||||
private class LoginResponse
|
||||
{
|
||||
public string AccessToken { get; set; } = "";
|
||||
public string RefreshToken { get; set; } = "";
|
||||
public int ExpiresIn { get; set; }
|
||||
}
|
||||
|
||||
private class LoginModel
|
||||
{
|
||||
public string Username { get; set; } = "";
|
||||
public string Password { get; set; } = "";
|
||||
public bool RememberMe { get; set; }
|
||||
}
|
||||
|
||||
private string GetReturnUrl()
|
||||
{
|
||||
var uri = NavigationManager.ToAbsoluteUri(NavigationManager.Uri);
|
||||
if (!Microsoft.AspNetCore.WebUtilities.QueryHelpers.ParseQuery(uri.Query).TryGetValue("returnUrl", out var returnUrl)
|
||||
|| string.IsNullOrWhiteSpace(returnUrl))
|
||||
{
|
||||
return "/taxbaik/admin/dashboard";
|
||||
}
|
||||
|
||||
var value = returnUrl.ToString();
|
||||
if (!value.StartsWith("admin", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
return "/taxbaik/admin/dashboard";
|
||||
}
|
||||
|
||||
return $"/taxbaik/{value.TrimStart('/')}";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,141 +14,163 @@
|
||||
<MudText Typo="Typo.h4" Class="admin-page-title">신고 일정</MudText>
|
||||
<MudText Typo="Typo.body2" Class="admin-page-subtitle">고객별 마감일과 처리 상태를 한 화면에서 관리합니다.</MudText>
|
||||
</div>
|
||||
<MudButton Variant="Variant.Filled"
|
||||
Color="Color.Primary"
|
||||
OnClick="OpenCreateDialog"
|
||||
StartIcon="@Icons.Material.Filled.Add">
|
||||
<MudButton Variant="Variant.Filled" Color="Color.Primary" OnClick="PrepareCreate" StartIcon="@Icons.Material.Filled.Add" id="btn-add-schedule">
|
||||
새 일정 추가
|
||||
</MudButton>
|
||||
</section>
|
||||
|
||||
<MudPaper Class="admin-surface" Elevation="0">
|
||||
@if (schedules is null)
|
||||
{
|
||||
<MudProgressLinear Indeterminate="true" />
|
||||
}
|
||||
else if (schedules.Count == 0)
|
||||
{
|
||||
<MudAlert Severity="Severity.Info" Class="mt-4">
|
||||
<MudIcon Icon="@Icons.Material.Filled.EventBusy" Class="me-2" />
|
||||
신고 일정이 없습니다.
|
||||
</MudAlert>
|
||||
}
|
||||
else
|
||||
{
|
||||
<MudDataGrid T="TaxFilingSchedule"
|
||||
Items="@schedules"
|
||||
Dense="true"
|
||||
Hover="true"
|
||||
Striped="true"
|
||||
Virtualize="true"
|
||||
RowsPerPage="30"
|
||||
Class="admin-grid">
|
||||
<Columns>
|
||||
<PropertyColumn Property="x => x.Id" Title="ID" Sortable="true" />
|
||||
<TemplateColumn Title="고객">
|
||||
<CellTemplate>
|
||||
@if (clientMap.TryGetValue(context.Item.ClientId, out var clientName))
|
||||
@if (schedules is null)
|
||||
{
|
||||
<MudProgressLinear Indeterminate="true" />
|
||||
}
|
||||
else
|
||||
{
|
||||
<MudGrid Spacing="2" Class="mt-2">
|
||||
<!-- Left: Dense Grid List -->
|
||||
<MudItem XS="12" MD="8">
|
||||
@if (schedules.Count == 0)
|
||||
{
|
||||
<MudAlert Severity="Severity.Info">
|
||||
<MudIcon Icon="@Icons.Material.Filled.EventBusy" Class="me-2" />
|
||||
신고 일정이 없습니다.
|
||||
</MudAlert>
|
||||
}
|
||||
else
|
||||
{
|
||||
<MudDataGrid T="TaxFilingSchedule"
|
||||
Items="@schedules"
|
||||
Dense="true"
|
||||
Hover="true"
|
||||
Striped="true"
|
||||
Virtualize="true"
|
||||
RowsPerPage="30"
|
||||
SelectedItem="@selectedSchedule"
|
||||
SelectedItemChanged="OnRowSelected"
|
||||
Class="admin-grid">
|
||||
<Columns>
|
||||
<PropertyColumn Property="x => x.Id" Title="ID" Sortable="true" />
|
||||
<TemplateColumn Title="고객">
|
||||
<CellTemplate>
|
||||
@if (clientMap.TryGetValue(context.Item.ClientId, out var clientName))
|
||||
{
|
||||
@clientName
|
||||
}
|
||||
</CellTemplate>
|
||||
</TemplateColumn>
|
||||
<PropertyColumn Property="x => x.FilingType" Title="신고 유형" />
|
||||
<TemplateColumn Title="마감일">
|
||||
<CellTemplate>
|
||||
@{
|
||||
var daysLeft = (context.Item.DueDate.Date - DateTime.Today).Days;
|
||||
var statusColor = daysLeft < 0 ? Color.Error : daysLeft <= 7 ? Color.Warning : Color.Success;
|
||||
}
|
||||
<MudChip Size="Size.Small" Color="@statusColor" Variant="Variant.Filled">
|
||||
@context.Item.DueDate.ToString("yyyy-MM-dd")
|
||||
@if (daysLeft >= 0)
|
||||
{
|
||||
<span class="ms-1">(D-@daysLeft)</span>
|
||||
}
|
||||
else
|
||||
{
|
||||
<span class="ms-1">(마감 @Math.Abs(daysLeft)일 경과)</span>
|
||||
}
|
||||
</MudChip>
|
||||
</CellTemplate>
|
||||
</TemplateColumn>
|
||||
<PropertyColumn Property="x => x.FilingYear" Title="신고연도" />
|
||||
<TemplateColumn Title="상태">
|
||||
<CellTemplate>
|
||||
@if (context.Item.Status == "completed")
|
||||
{
|
||||
<MudChip Size="Size.Small" Color="Color.Success" Variant="Variant.Filled">완료</MudChip>
|
||||
}
|
||||
else
|
||||
{
|
||||
<MudChip Size="Size.Small" Color="Color.Default" Variant="Variant.Outlined">대기</MudChip>
|
||||
}
|
||||
</CellTemplate>
|
||||
</TemplateColumn>
|
||||
<TemplateColumn Title="작업" Sortable="false">
|
||||
<CellTemplate>
|
||||
<MudButtonGroup Size="Size.Small" Variant="Variant.Outlined">
|
||||
@if (context.Item.Status != "completed")
|
||||
{
|
||||
<MudIconButton Icon="@Icons.Material.Filled.CheckCircle"
|
||||
Color="Color.Success"
|
||||
OnClick="@(async () => await CompleteSchedule(context.Item.Id))"
|
||||
Title="완료" />
|
||||
}
|
||||
<MudIconButton Icon="@Icons.Material.Filled.Delete"
|
||||
Color="Color.Error"
|
||||
OnClick="@(async () => await DeleteSchedule(context.Item.Id))"
|
||||
Title="삭제" />
|
||||
</MudButtonGroup>
|
||||
</CellTemplate>
|
||||
</TemplateColumn>
|
||||
</Columns>
|
||||
</MudDataGrid>
|
||||
}
|
||||
</MudItem>
|
||||
|
||||
<!-- Right: Detail Form Panel (Inline Editor) -->
|
||||
<MudItem XS="12" MD="4">
|
||||
<MudPaper Class="pa-4 admin-surface admin-editor-panel" Elevation="0" Style="border: 1px solid var(--border-color); min-height: 400px;">
|
||||
<div class="d-flex align-center justify-space-between mb-4">
|
||||
<MudText Typo="Typo.h6" Class="font-weight-bold">@(isEditMode ? "신고 일정 상세" : "새 신고 일정 추가")</MudText>
|
||||
@if (isEditMode)
|
||||
{
|
||||
<MudButton Size="Size.Small" Variant="Variant.Outlined" Color="Color.Secondary" OnClick="PrepareCreate">
|
||||
새로 작성
|
||||
</MudButton>
|
||||
}
|
||||
</div>
|
||||
<MudForm @ref="form">
|
||||
<MudSelect T="int?"
|
||||
@bind-Value="scheduleForm.ClientId"
|
||||
Label="고객"
|
||||
Required="true"
|
||||
Variant="Variant.Outlined"
|
||||
FullWidth="@true"
|
||||
Class="mb-3"
|
||||
RequiredError="고객을 선택하세요."
|
||||
Disabled="@isEditMode">
|
||||
@foreach (var client in clients)
|
||||
{
|
||||
<MudLink Href="@($"/taxbaik/admin/clients/{context.Item.ClientId}")" Color="Color.Primary">
|
||||
@clientName
|
||||
</MudLink>
|
||||
<MudSelectItem Value="@((int?)client.Id)">@GetClientDisplayName(client)</MudSelectItem>
|
||||
}
|
||||
</CellTemplate>
|
||||
</TemplateColumn>
|
||||
<PropertyColumn Property="x => x.FilingType" Title="신고 유형" />
|
||||
<TemplateColumn Title="마감일">
|
||||
<CellTemplate>
|
||||
@{
|
||||
var daysLeft = (context.Item.DueDate.Date - DateTime.Today).Days;
|
||||
var statusColor = daysLeft < 0 ? Color.Error : daysLeft <= 7 ? Color.Warning : Color.Success;
|
||||
}
|
||||
<MudChip Size="Size.Small" Color="@statusColor" Variant="Variant.Filled">
|
||||
@context.Item.DueDate.ToString("yyyy-MM-dd")
|
||||
@if (daysLeft >= 0)
|
||||
{
|
||||
<span class="ms-1">(D-@daysLeft)</span>
|
||||
}
|
||||
else
|
||||
{
|
||||
<span class="ms-1">(마감 @Math.Abs(daysLeft)일 경과)</span>
|
||||
}
|
||||
</MudChip>
|
||||
</CellTemplate>
|
||||
</TemplateColumn>
|
||||
<PropertyColumn Property="x => x.FilingYear" Title="신고연도" />
|
||||
<TemplateColumn Title="상태">
|
||||
<CellTemplate>
|
||||
@if (context.Item.Status == "completed")
|
||||
</MudSelect>
|
||||
<MudSelect T="string" @bind-Value="scheduleForm.FilingType" Label="신고 유형" Variant="Variant.Outlined" FullWidth="@true" Class="mb-3" Required="true">
|
||||
<MudSelectItem Value="@("종합소득세")">종합소득세</MudSelectItem>
|
||||
<MudSelectItem Value="@("부가가치세")">부가가치세</MudSelectItem>
|
||||
<MudSelectItem Value="@("법인세")">법인세</MudSelectItem>
|
||||
<MudSelectItem Value="@("원천세")">원천세</MudSelectItem>
|
||||
<MudSelectItem Value="@("종합부동산세")">종합부동산세</MudSelectItem>
|
||||
<MudSelectItem Value="@("양도소득세")">양도소득세</MudSelectItem>
|
||||
<MudSelectItem Value="@("상속·증여세")">상속·증여세</MudSelectItem>
|
||||
<MudSelectItem Value="@("세무조정")">세무조정</MudSelectItem>
|
||||
</MudSelect>
|
||||
<MudDatePicker @bind-Date="scheduleForm.DueDate" Label="마감일" Variant="Variant.Outlined" FullWidth="@true" Class="mb-3" Required="true" />
|
||||
<MudNumericField T="int" @bind-Value="scheduleForm.FilingYear" Label="신고연도" Variant="Variant.Outlined" FullWidth="@true" Class="mb-4" Required="true" />
|
||||
|
||||
<div class="d-flex justify-end gap-2">
|
||||
@if (isEditMode && selectedSchedule?.Status != "completed")
|
||||
{
|
||||
<MudChip Size="Size.Small" Color="Color.Success" Variant="Variant.Filled">완료</MudChip>
|
||||
<MudButton Variant="Variant.Outlined" Color="Color.Success" OnClick="@(async () => await CompleteSchedule(selectedSchedule?.Id ?? 0))">완료 처리</MudButton>
|
||||
}
|
||||
@if (isEditMode)
|
||||
{
|
||||
<MudButton Variant="Variant.Outlined" Color="Color.Error" OnClick="@(async () => await DeleteSchedule(selectedSchedule?.Id ?? 0))">삭제</MudButton>
|
||||
}
|
||||
else
|
||||
{
|
||||
<MudChip Size="Size.Small" Color="Color.Default" Variant="Variant.Outlined">대기</MudChip>
|
||||
<MudButton Variant="Variant.Filled" Color="Color.Primary" OnClick="SaveSchedule" id="btn-save-schedule">저장</MudButton>
|
||||
}
|
||||
</CellTemplate>
|
||||
</TemplateColumn>
|
||||
<TemplateColumn Title="작업" Sortable="false">
|
||||
<CellTemplate>
|
||||
<MudButtonGroup Size="Size.Small" Variant="Variant.Outlined">
|
||||
@if (context.Item.Status != "completed")
|
||||
{
|
||||
<MudIconButton Icon="@Icons.Material.Filled.CheckCircle"
|
||||
Color="Color.Success"
|
||||
OnClick="@(async () => await CompleteSchedule(context.Item.Id))"
|
||||
Title="완료" />
|
||||
}
|
||||
<MudIconButton Icon="@Icons.Material.Filled.Delete"
|
||||
Color="Color.Error"
|
||||
OnClick="@(async () => await DeleteSchedule(context.Item.Id))"
|
||||
Title="삭제" />
|
||||
</MudButtonGroup>
|
||||
</CellTemplate>
|
||||
</TemplateColumn>
|
||||
</Columns>
|
||||
</MudDataGrid>
|
||||
}
|
||||
</MudPaper>
|
||||
|
||||
<MudDialog @bind-IsVisible="isDialogOpen" Options="new DialogOptions { MaxWidth = MaxWidth.Small, FullWidth = true }">
|
||||
<TitleContent>
|
||||
<MudText Typo="Typo.h6">새 신고 일정 추가</MudText>
|
||||
</TitleContent>
|
||||
<DialogContent>
|
||||
<MudForm @ref="form">
|
||||
<MudSelect T="int?"
|
||||
@bind-Value="scheduleForm.ClientId"
|
||||
Label="고객"
|
||||
Required="true"
|
||||
Variant="Variant.Outlined"
|
||||
FullWidth="true"
|
||||
Class="mb-4"
|
||||
RequiredError="고객을 선택하세요.">
|
||||
@foreach (var client in clients)
|
||||
{
|
||||
<MudSelectItem Value="@((int?)client.Id)">@GetClientDisplayName(client)</MudSelectItem>
|
||||
}
|
||||
</MudSelect>
|
||||
<MudSelect T="string" @bind-Value="scheduleForm.FilingType" Label="신고 유형" Variant="Variant.Outlined" FullWidth="true" Class="mb-4" Required="true">
|
||||
<MudSelectItem Value="@("종합소득세")">종합소득세</MudSelectItem>
|
||||
<MudSelectItem Value="@("부가가치세")">부가가치세</MudSelectItem>
|
||||
<MudSelectItem Value="@("법인세")">법인세</MudSelectItem>
|
||||
<MudSelectItem Value="@("원천세")">원천세</MudSelectItem>
|
||||
<MudSelectItem Value="@("종합부동산세")">종합부동산세</MudSelectItem>
|
||||
<MudSelectItem Value="@("양도소득세")">양도소득세</MudSelectItem>
|
||||
<MudSelectItem Value="@("상속·증여세")">상속·증여세</MudSelectItem>
|
||||
<MudSelectItem Value="@("세무조정")">세무조정</MudSelectItem>
|
||||
</MudSelect>
|
||||
<MudDatePicker @bind-Date="scheduleForm.DueDate" Label="마감일" Variant="Variant.Outlined" FullWidth="true" Class="mb-4" Required="true" />
|
||||
<MudNumericField T="int" @bind-Value="scheduleForm.FilingYear" Label="신고연도" Variant="Variant.Outlined" FullWidth="true" Class="mb-4" Required="true" />
|
||||
</MudForm>
|
||||
</DialogContent>
|
||||
<DialogActions>
|
||||
<MudButton OnClick="CloseDialog">취소</MudButton>
|
||||
<MudButton Color="Color.Primary" OnClick="SaveSchedule">저장</MudButton>
|
||||
</DialogActions>
|
||||
</MudDialog>
|
||||
</div>
|
||||
</MudForm>
|
||||
</MudPaper>
|
||||
</MudItem>
|
||||
</MudGrid>
|
||||
}
|
||||
|
||||
@code {
|
||||
[CascadingParameter]
|
||||
@@ -158,7 +180,8 @@
|
||||
private List<Client> clients = [];
|
||||
private Dictionary<int, string> clientMap = new();
|
||||
private MudForm? form;
|
||||
private bool isDialogOpen;
|
||||
private bool isEditMode;
|
||||
private TaxFilingSchedule? selectedSchedule;
|
||||
private TaxFilingScheduleForm scheduleForm = new();
|
||||
|
||||
protected override async Task OnAfterRenderAsync(bool firstRender)
|
||||
@@ -171,6 +194,7 @@
|
||||
if (authState.User.Identity?.IsAuthenticated == true)
|
||||
{
|
||||
await LoadData();
|
||||
PrepareCreate();
|
||||
StateHasChanged();
|
||||
}
|
||||
}
|
||||
@@ -192,15 +216,30 @@
|
||||
}
|
||||
}
|
||||
|
||||
private void OpenCreateDialog()
|
||||
private void PrepareCreate()
|
||||
{
|
||||
selectedSchedule = null;
|
||||
isEditMode = false;
|
||||
scheduleForm = new TaxFilingScheduleForm
|
||||
{
|
||||
FilingYear = DateTime.Now.Year,
|
||||
DueDate = DateTime.Today,
|
||||
ClientId = clients.FirstOrDefault()?.Id
|
||||
};
|
||||
isDialogOpen = true;
|
||||
}
|
||||
|
||||
private void OnRowSelected(TaxFilingSchedule schedule)
|
||||
{
|
||||
if (schedule == null) return;
|
||||
selectedSchedule = schedule;
|
||||
isEditMode = true;
|
||||
scheduleForm = new TaxFilingScheduleForm
|
||||
{
|
||||
ClientId = schedule.ClientId,
|
||||
FilingType = schedule.FilingType,
|
||||
DueDate = schedule.DueDate,
|
||||
FilingYear = schedule.FilingYear
|
||||
};
|
||||
}
|
||||
|
||||
private async Task SaveSchedule()
|
||||
@@ -227,7 +266,7 @@
|
||||
if (newId > 0)
|
||||
{
|
||||
Snackbar.Add("신고 일정이 추가되었습니다.", Severity.Success);
|
||||
CloseDialog();
|
||||
PrepareCreate();
|
||||
await LoadData();
|
||||
}
|
||||
else
|
||||
@@ -247,6 +286,10 @@
|
||||
{
|
||||
await TaxFilingClient.MarkCompletedAsync(id);
|
||||
Snackbar.Add("신고 일정이 완료 처리되었습니다.", Severity.Success);
|
||||
if (selectedSchedule?.Id == id)
|
||||
{
|
||||
PrepareCreate();
|
||||
}
|
||||
await LoadData();
|
||||
}
|
||||
catch (Exception ex)
|
||||
@@ -272,6 +315,10 @@
|
||||
{
|
||||
await TaxFilingClient.DeleteAsync(id);
|
||||
Snackbar.Add("신고 일정이 삭제되었습니다.", Severity.Success);
|
||||
if (selectedSchedule?.Id == id)
|
||||
{
|
||||
PrepareCreate();
|
||||
}
|
||||
await LoadData();
|
||||
}
|
||||
catch (Exception ex)
|
||||
@@ -280,18 +327,13 @@
|
||||
}
|
||||
}
|
||||
|
||||
private void CloseDialog()
|
||||
{
|
||||
isDialogOpen = false;
|
||||
scheduleForm = new();
|
||||
}
|
||||
|
||||
private static string GetClientDisplayName(Client client)
|
||||
=> !string.IsNullOrWhiteSpace(client.CompanyName)
|
||||
? client.CompanyName
|
||||
: !string.IsNullOrWhiteSpace(client.Name)
|
||||
? client.Name
|
||||
: $"Client #{client.Id}";
|
||||
|
||||
private class TaxFilingScheduleForm
|
||||
{
|
||||
public int? ClientId { get; set; }
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
@using TaxBaik.Web.Services.AdminClients
|
||||
@inject ITaxProfileBrowserClient TaxProfileClient
|
||||
@inject IClientBrowserClient ClientClient
|
||||
@inject ICommonCodeBrowserClient CommonCodeClient
|
||||
@inject ISnackbar Snackbar
|
||||
@inject IDialogService DialogService
|
||||
@attribute [Authorize]
|
||||
@@ -14,7 +15,7 @@
|
||||
<MudText Typo="Typo.h4" Class="admin-page-title">세무 프로필</MudText>
|
||||
<MudText Typo="Typo.body2" Class="admin-page-subtitle">고객별 세무 프로필, 신고 일정, 위험도 추적</MudText>
|
||||
</div>
|
||||
<MudButton Variant="Variant.Filled" Color="Color.Primary" OnClick="OpenCreateDialog" StartIcon="@Icons.Material.Filled.Add">
|
||||
<MudButton Variant="Variant.Filled" Color="Color.Primary" OnClick="PrepareCreate" StartIcon="@Icons.Material.Filled.Add" id="btn-add-profile">
|
||||
새 프로필 추가
|
||||
</MudButton>
|
||||
</section>
|
||||
@@ -23,98 +24,109 @@
|
||||
{
|
||||
<MudProgressCircular Indeterminate="true" Class="mt-4" />
|
||||
}
|
||||
else if (profiles.Count == 0)
|
||||
{
|
||||
<MudAlert Severity="Severity.Info" Class="mt-4">세무 프로필이 없습니다.</MudAlert>
|
||||
}
|
||||
else
|
||||
{
|
||||
<MudDataGrid T="TaxProfile"
|
||||
Items="@profiles"
|
||||
Dense="true"
|
||||
Hover="true"
|
||||
Striped="true"
|
||||
Virtualize="true"
|
||||
RowsPerPage="30"
|
||||
Class="admin-grid mt-4">
|
||||
<Columns>
|
||||
<PropertyColumn Property="x => x.Id" Title="ID" Sortable="true" />
|
||||
<TemplateColumn Title="고객">
|
||||
<CellTemplate>
|
||||
@if (clientMap.TryGetValue(context.Item.ClientId, out var clientName))
|
||||
{
|
||||
<MudLink Href="@($"/taxbaik/admin/clients/{context.Item.ClientId}")" Color="Color.Primary">
|
||||
@clientName
|
||||
</MudLink>
|
||||
}
|
||||
</CellTemplate>
|
||||
</TemplateColumn>
|
||||
<PropertyColumn Property="x => x.BusinessType" Title="사업 유형" />
|
||||
<TemplateColumn Title="위험도">
|
||||
<CellTemplate>
|
||||
<MudChip Size="Size.Small" Color="@GetRiskColor(context.Item.TaxRiskLevel)" Variant="Variant.Filled">
|
||||
@context.Item.TaxRiskLevel
|
||||
</MudChip>
|
||||
</CellTemplate>
|
||||
</TemplateColumn>
|
||||
<TemplateColumn Title="다음 신고">
|
||||
<CellTemplate>
|
||||
@if (context.Item.NextFilingDueDate.HasValue)
|
||||
{
|
||||
@context.Item.NextFilingDueDate.Value.ToString("yyyy-MM-dd")
|
||||
}
|
||||
</CellTemplate>
|
||||
</TemplateColumn>
|
||||
<TemplateColumn Title="작업" Sortable="false">
|
||||
<CellTemplate>
|
||||
<MudButtonGroup Size="Size.Small" Variant="Variant.Outlined">
|
||||
<MudIconButton Icon="@Icons.Material.Filled.Edit" OnClick="@(async () => await OpenEditDialog(context.Item))" />
|
||||
<MudIconButton Icon="@Icons.Material.Filled.Delete" Color="Color.Error" OnClick="@(async () => await DeleteProfile(context.Item.Id))" />
|
||||
</MudButtonGroup>
|
||||
</CellTemplate>
|
||||
</TemplateColumn>
|
||||
</Columns>
|
||||
</MudDataGrid>
|
||||
}
|
||||
<MudGrid Spacing="2" Class="mt-2">
|
||||
<!-- Left: Dense Grid List -->
|
||||
<MudItem XS="12" MD="8">
|
||||
@if (profiles.Count == 0)
|
||||
{
|
||||
<MudAlert Severity="Severity.Info">세무 프로필이 없습니다.</MudAlert>
|
||||
}
|
||||
else
|
||||
{
|
||||
<MudDataGrid T="TaxProfile"
|
||||
Items="@profiles"
|
||||
Dense="true"
|
||||
Hover="true"
|
||||
Striped="true"
|
||||
Virtualize="true"
|
||||
RowsPerPage="30"
|
||||
SelectedItem="@selectedProfile"
|
||||
SelectedItemChanged="OnRowSelected"
|
||||
Class="admin-grid">
|
||||
<Columns>
|
||||
<PropertyColumn Property="x => x.Id" Title="ID" Sortable="true" />
|
||||
<TemplateColumn Title="고객">
|
||||
<CellTemplate>
|
||||
@if (clientMap.TryGetValue(context.Item.ClientId, out var clientName))
|
||||
{
|
||||
@clientName
|
||||
}
|
||||
</CellTemplate>
|
||||
</TemplateColumn>
|
||||
<PropertyColumn Property="x => x.BusinessType" Title="사업 유형" />
|
||||
<TemplateColumn Title="위험도">
|
||||
<CellTemplate>
|
||||
<MudChip Size="Size.Small" Color="@GetRiskColor(context.Item.TaxRiskLevel)" Variant="Variant.Filled">
|
||||
@context.Item.TaxRiskLevel
|
||||
</MudChip>
|
||||
</CellTemplate>
|
||||
</TemplateColumn>
|
||||
<TemplateColumn Title="다음 신고">
|
||||
<CellTemplate>
|
||||
@if (context.Item.NextFilingDueDate.HasValue)
|
||||
{
|
||||
@context.Item.NextFilingDueDate.Value.ToString("yyyy-MM-dd")
|
||||
}
|
||||
</CellTemplate>
|
||||
</TemplateColumn>
|
||||
<TemplateColumn Title="작업" Sortable="false">
|
||||
<CellTemplate>
|
||||
<MudIconButton Icon="@Icons.Material.Filled.Delete" Color="Color.Error" Size="Size.Small" OnClick="@(async () => await DeleteProfile(context.Item.Id))" />
|
||||
</CellTemplate>
|
||||
</TemplateColumn>
|
||||
</Columns>
|
||||
</MudDataGrid>
|
||||
}
|
||||
</MudItem>
|
||||
|
||||
<!-- Create/Edit Dialog -->
|
||||
<MudDialog @bind-IsVisible="isDialogOpen" Options="new DialogOptions { MaxWidth = MaxWidth.Small, FullWidth = true }">
|
||||
<TitleContent>
|
||||
<MudText Typo="Typo.h6">@(isEditMode ? "세무 프로필 수정" : "새 세무 프로필 추가")</MudText>
|
||||
</TitleContent>
|
||||
<DialogContent>
|
||||
<MudForm @ref="form">
|
||||
<MudSelect T="int?" @bind-Value="profileForm.ClientId" Label="고객" Required="true" Variant="Variant.Outlined" FullWidth="true" Class="mb-4" RequiredError="고객을 선택하세요.">
|
||||
@foreach (var client in clients)
|
||||
{
|
||||
<MudSelectItem Value="@((int?)client.Id)">@GetClientDisplayName(client)</MudSelectItem>
|
||||
}
|
||||
</MudSelect>
|
||||
<MudSelect T="string" @bind-Value="profileForm.BusinessType" Label="사업 유형" Variant="Variant.Outlined" FullWidth="true" Class="mb-4" Required="true">
|
||||
<MudSelectItem Value="@("일반제조업")">일반제조업</MudSelectItem>
|
||||
<MudSelectItem Value="@("도소매업")">도소매업</MudSelectItem>
|
||||
<MudSelectItem Value="@("서비스업")">서비스업</MudSelectItem>
|
||||
<MudSelectItem Value="@("정보통신업")">정보통신업</MudSelectItem>
|
||||
<MudSelectItem Value="@("부동산업")">부동산업</MudSelectItem>
|
||||
<MudSelectItem Value="@("건설업")">건설업</MudSelectItem>
|
||||
<MudSelectItem Value="@("음식점업")">음식점업</MudSelectItem>
|
||||
<MudSelectItem Value="@("프리랜서")">프리랜서</MudSelectItem>
|
||||
<MudSelectItem Value="@("기타")">기타</MudSelectItem>
|
||||
</MudSelect>
|
||||
<MudSelect T="string" @bind-Value="profileForm.TaxRiskLevel" Label="위험도" Variant="Variant.Outlined" FullWidth="true" Class="mb-4">
|
||||
<MudSelectItem Value="@("low")">낮음</MudSelectItem>
|
||||
<MudSelectItem Value="@("normal")">보통</MudSelectItem>
|
||||
<MudSelectItem Value="@("high")">높음</MudSelectItem>
|
||||
</MudSelect>
|
||||
<MudDatePicker @bind-Date="profileForm.NextFilingDueDate" Label="다음 신고 예정일" Variant="Variant.Outlined" FullWidth="true" Class="mb-4" />
|
||||
<MudTextField T="string" @bind-Value="profileForm.SpecialNotes" Label="특수 사항" Variant="Variant.Outlined" FullWidth="true" Lines="2" />
|
||||
</MudForm>
|
||||
</DialogContent>
|
||||
<DialogActions>
|
||||
<MudButton OnClick="CloseDialog">취소</MudButton>
|
||||
<MudButton Color="Color.Primary" OnClick="SaveProfile">저장</MudButton>
|
||||
</DialogActions>
|
||||
</MudDialog>
|
||||
<!-- Right: Detail Form Panel (Inline Editor) -->
|
||||
<MudItem XS="12" MD="4">
|
||||
<MudPaper Class="pa-4 admin-surface admin-editor-panel" Elevation="0" Style="border: 1px solid var(--border-color); min-height: 400px;">
|
||||
<div class="d-flex align-center justify-space-between mb-4">
|
||||
<MudText Typo="Typo.h6" Class="font-weight-bold">@(isEditMode ? "세무 프로필 수정" : "새 세무 프로필 추가")</MudText>
|
||||
@if (isEditMode)
|
||||
{
|
||||
<MudButton Size="Size.Small" Variant="Variant.Outlined" Color="Color.Secondary" OnClick="PrepareCreate">
|
||||
새로 작성
|
||||
</MudButton>
|
||||
}
|
||||
</div>
|
||||
<MudForm @ref="form">
|
||||
<MudSelect T="int?" @bind-Value="profileForm.ClientId" Label="고객" Required="true" Variant="Variant.Outlined" FullWidth="@true" Class="mb-3" RequiredError="고객을 선택하세요." Disabled="@isEditMode">
|
||||
@foreach (var client in clients)
|
||||
{
|
||||
<MudSelectItem Value="@((int?)client.Id)">@GetClientDisplayName(client)</MudSelectItem>
|
||||
}
|
||||
</MudSelect>
|
||||
<MudSelect T="string" @bind-Value="profileForm.BusinessType" Label="사업 유형" Variant="Variant.Outlined" FullWidth="@true" Class="mb-3" Required="true">
|
||||
@foreach (var type in businessTypes)
|
||||
{
|
||||
<MudSelectItem Value="@type.CodeValue">@type.CodeName</MudSelectItem>
|
||||
}
|
||||
</MudSelect>
|
||||
<MudSelect T="string" @bind-Value="profileForm.TaxRiskLevel" Label="위험도" Variant="Variant.Outlined" FullWidth="@true" Class="mb-3">
|
||||
@foreach (var level in riskLevels)
|
||||
{
|
||||
<MudSelectItem Value="@level.CodeValue">@level.CodeName</MudSelectItem>
|
||||
}
|
||||
</MudSelect>
|
||||
<MudDatePicker @bind-Date="profileForm.NextFilingDueDate" Label="다음 신고 예정일" Variant="Variant.Outlined" FullWidth="@true" Class="mb-3" />
|
||||
<MudTextField T="string" @bind-Value="profileForm.SpecialNotes" Label="특수 사항" Variant="Variant.Outlined" FullWidth="@true" Lines="3" Class="mb-4" />
|
||||
|
||||
<div class="d-flex justify-end gap-2">
|
||||
@if (isEditMode)
|
||||
{
|
||||
<MudButton Variant="Variant.Outlined" Color="Color.Error" OnClick="@(async () => await DeleteProfile(selectedProfile?.Id ?? 0))">삭제</MudButton>
|
||||
}
|
||||
<MudButton Variant="Variant.Filled" Color="Color.Primary" OnClick="SaveProfile" id="btn-save-profile">저장</MudButton>
|
||||
</div>
|
||||
</MudForm>
|
||||
</MudPaper>
|
||||
</MudItem>
|
||||
</MudGrid>
|
||||
}
|
||||
|
||||
@code {
|
||||
[CascadingParameter]
|
||||
@@ -123,10 +135,11 @@ else
|
||||
private List<TaxProfile>? profiles;
|
||||
private List<Client> clients = [];
|
||||
private Dictionary<int, string> clientMap = new();
|
||||
private List<CommonCode> businessTypes = [];
|
||||
private List<CommonCode> riskLevels = [];
|
||||
private MudForm? form;
|
||||
private bool isDialogOpen;
|
||||
private bool isEditMode;
|
||||
private TaxProfile? editingProfile;
|
||||
private TaxProfile? selectedProfile;
|
||||
private TaxProfileForm profileForm = new();
|
||||
|
||||
protected override async Task OnAfterRenderAsync(bool firstRender)
|
||||
@@ -139,6 +152,7 @@ else
|
||||
if (authState.User.Identity?.IsAuthenticated == true)
|
||||
{
|
||||
await LoadData();
|
||||
PrepareCreate();
|
||||
StateHasChanged();
|
||||
}
|
||||
}
|
||||
@@ -153,6 +167,32 @@ else
|
||||
var (clientItems, _) = await ClientClient.GetPagedAsync(pageSize: 1000);
|
||||
clients = clientItems.ToList();
|
||||
clientMap = clients.ToDictionary(c => c.Id, GetClientDisplayName);
|
||||
|
||||
businessTypes = await CommonCodeClient.GetByGroupAsync("BUSINESS_TYPE");
|
||||
if (businessTypes.Count == 0)
|
||||
{
|
||||
businessTypes = [
|
||||
new() { CodeValue = "일반제조업", CodeName = "일반제조업" },
|
||||
new() { CodeValue = "도소매업", CodeName = "도소매업" },
|
||||
new() { CodeValue = "서비스업", CodeName = "서비스업" },
|
||||
new() { CodeValue = "정보통신업", CodeName = "정보통신업" },
|
||||
new() { CodeValue = "부동산업", CodeName = "부동산업" },
|
||||
new() { CodeValue = "건설업", CodeName = "건설업" },
|
||||
new() { CodeValue = "음식점업", CodeName = "음식점업" },
|
||||
new() { CodeValue = "프리랜서", CodeName = "프리랜서" },
|
||||
new() { CodeValue = "기타", CodeName = "기타" }
|
||||
];
|
||||
}
|
||||
|
||||
riskLevels = await CommonCodeClient.GetByGroupAsync("TAX_RISK_LEVEL");
|
||||
if (riskLevels.Count == 0)
|
||||
{
|
||||
riskLevels = [
|
||||
new() { CodeValue = "low", CodeName = "낮음" },
|
||||
new() { CodeValue = "normal", CodeName = "보통" },
|
||||
new() { CodeValue = "high", CodeName = "높음" }
|
||||
];
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
@@ -160,23 +200,23 @@ else
|
||||
}
|
||||
}
|
||||
|
||||
private void OpenCreateDialog()
|
||||
private void PrepareCreate()
|
||||
{
|
||||
selectedProfile = null;
|
||||
isEditMode = false;
|
||||
editingProfile = null;
|
||||
profileForm = new TaxProfileForm
|
||||
{
|
||||
ClientId = clients.FirstOrDefault()?.Id,
|
||||
TaxRiskLevel = "normal",
|
||||
NextFilingDueDate = DateTime.Today.AddMonths(1)
|
||||
};
|
||||
isDialogOpen = true;
|
||||
}
|
||||
|
||||
private async Task OpenEditDialog(TaxProfile profile)
|
||||
private void OnRowSelected(TaxProfile profile)
|
||||
{
|
||||
if (profile == null) return;
|
||||
selectedProfile = profile;
|
||||
isEditMode = true;
|
||||
editingProfile = profile;
|
||||
profileForm = new TaxProfileForm
|
||||
{
|
||||
ClientId = profile.ClientId,
|
||||
@@ -185,7 +225,6 @@ else
|
||||
NextFilingDueDate = profile.NextFilingDueDate,
|
||||
SpecialNotes = profile.SpecialNotes
|
||||
};
|
||||
isDialogOpen = true;
|
||||
}
|
||||
|
||||
private async Task SaveProfile()
|
||||
@@ -195,16 +234,16 @@ else
|
||||
await form.Validate();
|
||||
if (!form.IsValid)
|
||||
{
|
||||
Snackbar.Add("고객을 선택하세요.", Severity.Warning);
|
||||
Snackbar.Add("고객을 선택하세요.", Severity.Warning);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
if (isEditMode && editingProfile != null)
|
||||
if (isEditMode && selectedProfile != null)
|
||||
{
|
||||
await TaxProfileClient.UpdateAsync(editingProfile.Id, profileForm.BusinessType,
|
||||
await TaxProfileClient.UpdateAsync(selectedProfile.Id, profileForm.BusinessType,
|
||||
null, profileForm.NextFilingDueDate, profileForm.TaxRiskLevel);
|
||||
Snackbar.Add("세무 프로필이 수정되었습니다.", Severity.Success);
|
||||
}
|
||||
@@ -220,7 +259,6 @@ else
|
||||
profileForm.BusinessType);
|
||||
if (newId > 0)
|
||||
{
|
||||
// 생성 후 상태 업데이트 처리
|
||||
await TaxProfileClient.UpdateAsync(
|
||||
newId,
|
||||
profileForm.BusinessType,
|
||||
@@ -230,7 +268,7 @@ else
|
||||
Snackbar.Add("세무 프로필이 추가되었습니다.", Severity.Success);
|
||||
}
|
||||
}
|
||||
CloseDialog();
|
||||
PrepareCreate();
|
||||
await LoadData();
|
||||
}
|
||||
catch (Exception ex)
|
||||
@@ -255,6 +293,10 @@ else
|
||||
{
|
||||
await TaxProfileClient.DeleteAsync(id);
|
||||
Snackbar.Add("세무 프로필이 삭제되었습니다.", Severity.Success);
|
||||
if (selectedProfile?.Id == id)
|
||||
{
|
||||
PrepareCreate();
|
||||
}
|
||||
await LoadData();
|
||||
}
|
||||
catch (Exception ex)
|
||||
@@ -263,14 +305,6 @@ else
|
||||
}
|
||||
}
|
||||
|
||||
private void CloseDialog()
|
||||
{
|
||||
isDialogOpen = false;
|
||||
isEditMode = false;
|
||||
editingProfile = null;
|
||||
profileForm = new();
|
||||
}
|
||||
|
||||
private Color GetRiskColor(string riskLevel) => riskLevel switch
|
||||
{
|
||||
"high" => Color.Error,
|
||||
@@ -285,6 +319,7 @@ else
|
||||
: !string.IsNullOrWhiteSpace(client.Name)
|
||||
? client.Name
|
||||
: $"Client #{client.Id}";
|
||||
|
||||
private class TaxProfileForm
|
||||
{
|
||||
public int? ClientId { get; set; }
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using TaxBaik.Application.Services;
|
||||
|
||||
namespace TaxBaik.Web.Controllers;
|
||||
|
||||
[ApiController]
|
||||
[Route("api/[controller]")]
|
||||
[Authorize]
|
||||
public class CommonCodeController(CommonCodeService commonCodeService) : ControllerBase
|
||||
{
|
||||
[HttpGet]
|
||||
public async Task<IActionResult> GetAllActive()
|
||||
{
|
||||
try
|
||||
{
|
||||
var codes = await commonCodeService.GetAllActiveAsync();
|
||||
return Ok(codes);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
return StatusCode(500, new { error = "공통코드 조회 실패", message = ex.Message });
|
||||
}
|
||||
}
|
||||
|
||||
[HttpGet("group/{group}")]
|
||||
public async Task<IActionResult> GetByGroup(string group)
|
||||
{
|
||||
try
|
||||
{
|
||||
var codes = await commonCodeService.GetByGroupAsync(group);
|
||||
return Ok(codes);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
return StatusCode(500, new { error = "그룹별 공통코드 조회 실패", message = ex.Message });
|
||||
}
|
||||
}
|
||||
}
|
||||
+159
-43
@@ -3,55 +3,171 @@
|
||||
ViewData["Title"] = "소개 | 백원숙 세무회계";
|
||||
}
|
||||
|
||||
<div class="container py-5">
|
||||
<h1 class="fw-bold mb-5">백원숙 세무사</h1>
|
||||
<!-- Breadcrumb Navigation -->
|
||||
<nav aria-label="breadcrumb" class="py-3" style="background: #F9F7F3; border-bottom: 1px solid #D9D3C4;">
|
||||
<div class="container">
|
||||
<ol class="breadcrumb mb-0">
|
||||
<li class="breadcrumb-item"><a href="/taxbaik/" class="text-decoration-none">홈</a></li>
|
||||
<li class="breadcrumb-item active">소개</li>
|
||||
</ol>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<div class="row g-5">
|
||||
<div class="col-md-6">
|
||||
<p class="lead">사업자 세무, 부동산 거래, 가족 자산 관리 등 종합적인 세무 컨설팅을 제공합니다.</p>
|
||||
<p>10년 이상의 풍부한 경험과 3개의 국가자격증을 바탕으로, 각 클라이언트의 상황에 맞는 맞춤형 솔루션을 제시합니다.</p>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="bg-light p-4 rounded">
|
||||
<h5 class="fw-bold mb-3">보유 자격증</h5>
|
||||
<div class="mb-3">
|
||||
<p class="mb-1">🎓 <strong>세무사</strong></p>
|
||||
<small class="text-muted">2015년 자격취득</small>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<p class="mb-1">🏠 <strong>부동산중개사</strong></p>
|
||||
<small class="text-muted">부동산 거래 전문성</small>
|
||||
</div>
|
||||
<div>
|
||||
<p class="mb-1">📊 <strong>보험설계사</strong></p>
|
||||
<small class="text-muted">자산관리 전문성</small>
|
||||
<div class="container py-5">
|
||||
<!-- 돌아가기 버튼 -->
|
||||
<div class="mb-4">
|
||||
<a href="/taxbaik/" class="btn btn-sm btn-outline-secondary">← 홈으로 돌아가기</a>
|
||||
</div>
|
||||
|
||||
<!-- Hero Section -->
|
||||
<section class="mb-5 pb-5 border-bottom">
|
||||
<h1 class="fw-bold mb-4" style="font-size: 2.5rem;">안녕하세요, 백원숙 세무사입니다.</h1>
|
||||
<div class="row g-5">
|
||||
<div class="col-lg-6">
|
||||
<p class="lead">사업자 세무, 부동산 거래, 가족 자산 관리 등 종합적인 세무 컨설팅을 제공합니다.</p>
|
||||
<p>10년 이상의 풍부한 경험과 3개의 국가자격증을 바탕으로, 각 클라이언트의 상황에 맞는 맞춤형 솔루션을 제시합니다.</p>
|
||||
<p class="text-muted">저도 작게 시작하는 사업가였습니다. 처음 사업을 시작할 때의 막막함을 잘 알고 있습니다. 그 경험이 오늘날 고객분들과 소통하는 원동력입니다.</p>
|
||||
</div>
|
||||
<div class="col-lg-6">
|
||||
<div class="bg-light p-4 rounded">
|
||||
<h5 class="fw-bold mb-3">보유 자격증</h5>
|
||||
<div class="mb-3">
|
||||
<p class="mb-1">🎓 <strong>세무사</strong></p>
|
||||
<small class="text-muted">2015년 자격취득 · 10년 경력</small>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<p class="mb-1">🏠 <strong>부동산중개사</strong></p>
|
||||
<small class="text-muted">부동산 거래 구조 이해 · 실무 전문성</small>
|
||||
</div>
|
||||
<div>
|
||||
<p class="mb-1">📊 <strong>보험설계사</strong></p>
|
||||
<small class="text-muted">자산관리·상속 대비 전문성</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<hr class="my-5" />
|
||||
<!-- Expertise Section -->
|
||||
<section class="mb-5 pb-5 border-bottom">
|
||||
<h2 class="fw-bold mb-4">세 가지 자격의 시너지</h2>
|
||||
<p class="text-muted mb-4">단순히 세금을 계산하는 것이 아니라, 사업 구조와 자산 흐름을 종합적으로 이해합니다.</p>
|
||||
<div class="row g-4">
|
||||
<div class="col-md-6">
|
||||
<div class="p-4 border rounded-3" style="border-color: #D9D3C4;">
|
||||
<div style="font-size: 2rem; margin-bottom: 1rem;">⚖️</div>
|
||||
<h5 class="fw-bold mb-2">공인 세무사</h5>
|
||||
<p class="text-muted small mb-0">
|
||||
세무신고·장부관리·조세 자문 등 세무 업무 전반을 공식 대리합니다. 신고 기한 내 불이익 없는 신고를 기본으로 합니다.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="p-4 border rounded-3" style="border-color: #D9D3C4;">
|
||||
<div style="font-size: 2rem; margin-bottom: 1rem;">🏠</div>
|
||||
<h5 class="fw-bold mb-2">공인 부동산중개사</h5>
|
||||
<p class="text-muted small mb-0">
|
||||
부동산 거래 구조를 이해해 양도·증여·임대 세무상담에 현실감을 더합니다. 계약 전 사전검토로 선택지를 최대화합니다.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="p-4 border rounded-3" style="border-color: #D9D3C4;">
|
||||
<div style="font-size: 2rem; margin-bottom: 1rem;">🛡️</div>
|
||||
<h5 class="fw-bold mb-2">보험설계사 자격</h5>
|
||||
<p class="text-muted small mb-0">
|
||||
상속·증여·대표자 리스크 관점에서 가족 현금흐름과 보험 구조를 함께 설명합니다. 절세와 리스크 관리를 동시에 다룹니다.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<h2 class="fw-bold mb-4">서비스 철학</h2>
|
||||
<div class="row g-4">
|
||||
<div class="col-md-4 text-center">
|
||||
<div class="mb-3" style="font-size: 2rem;">🎯</div>
|
||||
<h5>명확한 설명</h5>
|
||||
<p class="small">어려운 세법을 쉽게 설명하여 이해를 높입니다</p>
|
||||
<!-- Philosophy Section -->
|
||||
<section class="mb-5 pb-5 border-bottom">
|
||||
<h2 class="fw-bold mb-4">상담 철학</h2>
|
||||
<div class="row g-4">
|
||||
<div class="col-md-4 text-center">
|
||||
<div class="mb-3" style="font-size: 2.5rem;">🎯</div>
|
||||
<h5>명확한 설명</h5>
|
||||
<p class="small text-muted">어려운 세법을 쉽게 설명하여 이해를 높입니다. 전문용어로 일방적 설명하지 않습니다.</p>
|
||||
</div>
|
||||
<div class="col-md-4 text-center">
|
||||
<div class="mb-3" style="font-size: 2.5rem;">💰</div>
|
||||
<h5>최대 절세</h5>
|
||||
<p class="small text-muted">법적 범위 내에서 세금을 최소화합니다. 초기 세무 전략이 연간 수백만 원의 차이를 만듭니다.</p>
|
||||
</div>
|
||||
<div class="col-md-4 text-center">
|
||||
<div class="mb-3" style="font-size: 2.5rem;">🤝</div>
|
||||
<h5>신뢰 파트너</h5>
|
||||
<p class="small text-muted">장기적 파트너로서 성장을 함께 합니다. 일회성 상담이 아닌 지속적 관계를 지향합니다.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4 text-center">
|
||||
<div class="mb-3" style="font-size: 2rem;">💰</div>
|
||||
<h5>최대 절세</h5>
|
||||
<p class="small">법적 범위 내에서 세금을 최소화합니다</p>
|
||||
</div>
|
||||
<div class="col-md-4 text-center">
|
||||
<div class="mb-3" style="font-size: 2rem;">🤝</div>
|
||||
<h5>신뢰 관계</h5>
|
||||
<p class="small">장기적 파트너로서 성장을 함께 합니다</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<div class="text-center mt-5">
|
||||
<a href="/taxbaik/contact" class="btn btn-primary btn-lg">상담 신청하기</a>
|
||||
</div>
|
||||
<!-- Online Consultation Section -->
|
||||
<section class="mb-5 pb-5 border-bottom">
|
||||
<h2 class="fw-bold mb-4">전국 비대면 온라인 상담</h2>
|
||||
<div class="row g-4">
|
||||
<div class="col-md-6">
|
||||
<h5 class="fw-bold mb-3">왜 온라인인가?</h5>
|
||||
<ul class="list-unstyled">
|
||||
<li class="mb-2"><strong>✓ 시간 절약</strong><br/><small class="text-muted">서울로 올 필요 없이 카카오·이메일로 진행</small></li>
|
||||
<li class="mb-2"><strong>✓ 자료 공유 편의</strong><br/><small class="text-muted">온라인으로 자료 검토 후 맞춤 상담</small></li>
|
||||
<li class="mb-2"><strong>✓ 기록 남음</strong><br/><small class="text-muted">채팅·메일로 모든 내용을 기록 관리</small></li>
|
||||
<li class="mb-2"><strong>✓ 비용 절감</strong><br/><small class="text-muted">방문 비용 없이 효율적 상담 제공</small></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<h5 class="fw-bold mb-3">상담 방식</h5>
|
||||
<div class="p-3 bg-light rounded-3 mb-3">
|
||||
<p class="fw-bold mb-2">📞 전화 상담</p>
|
||||
<small class="text-muted">즉시 상황 파악 필요 시 · 010-4122-8268</small>
|
||||
</div>
|
||||
<div class="p-3 bg-light rounded-3 mb-3">
|
||||
<p class="fw-bold mb-2">💬 카카오채널</p>
|
||||
<small class="text-muted">당일 응답 · 편한 시간에 문의</small>
|
||||
</div>
|
||||
<div class="p-3 bg-light rounded-3 mb-3">
|
||||
<p class="fw-bold mb-2">✉️ 이메일</p>
|
||||
<small class="text-muted">자료 첨부 상담 · taxbaik5668@gmail.com</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- CTA Section -->
|
||||
<section class="text-center mb-5 pb-5 border-bottom">
|
||||
<h3 class="fw-bold mb-3">세금 고민, 이제 끝내세요</h3>
|
||||
<p class="text-muted mb-5">무료 상담으로 현재 상황을 진단하고 맞춤형 절세 전략을 받아보세요.</p>
|
||||
<div class="d-flex gap-3 justify-content-center flex-wrap">
|
||||
<a href="/taxbaik/contact" class="btn btn-primary btn-lg">상담 신청하기</a>
|
||||
<a href="http://pf.kakao.com/_xoxchTX" target="_blank" class="btn btn-warning btn-lg">카카오로 문의</a>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- 관련 페이지 네비게이션 -->
|
||||
<section class="text-center py-5">
|
||||
<h4 class="fw-bold mb-4">다른 페이지 보기</h4>
|
||||
<div class="row g-3 justify-content-center">
|
||||
<div class="col-md-4">
|
||||
<a href="/taxbaik/" class="btn btn-outline-primary btn-sm w-100 py-3">
|
||||
🏠 홈으로<br/>
|
||||
<small class="text-muted">서비스 및 최신 정보</small>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<a href="/taxbaik/services" class="btn btn-outline-primary btn-sm w-100 py-3">
|
||||
📊 전문 서비스<br/>
|
||||
<small class="text-muted">사업자·부동산·자산 관리</small>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<a href="/taxbaik/blog" class="btn btn-outline-primary btn-sm w-100 py-3">
|
||||
📝 세무 정보 블로그<br/>
|
||||
<small class="text-muted">절세팁 및 신고 가이드</small>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
@page "/announcement"
|
||||
@{
|
||||
Response.Redirect("/taxbaik/#top");
|
||||
}
|
||||
@@ -39,8 +39,8 @@
|
||||
|
||||
<hr class="my-4" />
|
||||
|
||||
<div class="article-body lh-lg">
|
||||
@Html.Raw(Model.Post.Content)
|
||||
<div class="article-body lh-lg markdown-body">
|
||||
@Html.Raw(Model.HtmlContent)
|
||||
</div>
|
||||
|
||||
<hr class="my-4" />
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
using Microsoft.AspNetCore.Mvc.RazorPages;
|
||||
using TaxBaik.Application.Services;
|
||||
using TaxBaik.Domain.Entities;
|
||||
using Markdig;
|
||||
|
||||
namespace TaxBaik.Web.Pages.Blog;
|
||||
|
||||
@@ -9,6 +10,7 @@ public class BlogPostModel : PageModel
|
||||
private readonly BlogService _blogService;
|
||||
|
||||
public BlogPost? Post { get; set; }
|
||||
public string? HtmlContent { get; set; }
|
||||
|
||||
public BlogPostModel(BlogService blogService)
|
||||
{
|
||||
@@ -20,6 +22,7 @@ public class BlogPostModel : PageModel
|
||||
Post = await _blogService.GetBySlugAsync(slug);
|
||||
if (Post != null)
|
||||
{
|
||||
HtmlContent = Markdown.ToHtml(Post.Content ?? "");
|
||||
_ = _blogService.IncrementViewCountAsync(Post.Id);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
@page "/faq"
|
||||
@{
|
||||
Response.Redirect("/taxbaik/#faq");
|
||||
}
|
||||
+90
-131
@@ -103,31 +103,14 @@ else
|
||||
</section>
|
||||
}
|
||||
|
||||
<!-- 신뢰도 스트립 — 자격과 경험 -->
|
||||
<section class="trust-strip">
|
||||
<!-- About 링크 배너 -->
|
||||
<section class="py-3" style="background: rgba(46, 92, 78, 0.05); border-bottom: 1px solid rgba(46, 92, 78, 0.1);">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<div class="trust-item">
|
||||
<div class="trust-icon">🎓</div>
|
||||
<h3>세무사</h3>
|
||||
<p>국가공인 세무사 자격<br/>2015년 취득 · 10년 경력</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<div class="trust-item">
|
||||
<div class="trust-icon">🏢</div>
|
||||
<h3>부동산중개사</h3>
|
||||
<p>부동산 거래 전문 자격<br/>양도세·취득세 컨설팅</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<div class="trust-item">
|
||||
<div class="trust-icon">📊</div>
|
||||
<h3>보험설계사</h3>
|
||||
<p>자산관리 전문 자격<br/>가족 자산 플래닝</p>
|
||||
</div>
|
||||
<div class="d-flex justify-content-between align-items-center gap-3 flex-wrap">
|
||||
<div>
|
||||
<p class="mb-0 small text-muted">세무사의 경력, 자격, 상담 철학을 알아보세요</p>
|
||||
</div>
|
||||
<a href="/taxbaik/about" class="btn btn-sm btn-outline-primary">백원숙 세무사 소개 →</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -144,7 +127,7 @@ else
|
||||
|
||||
@{
|
||||
var focusService = season?.FocusService ?? "";
|
||||
// 시즌에 따라 서비스 카드 순서 결정: 시즌 관련 카드가 맨 앞
|
||||
// 시즌에 따라 서비스 카드 순서 결정
|
||||
var cardOrder = focusService switch
|
||||
{
|
||||
"real-estate-tax" => new[] { "real-estate-tax", "business-tax", "family-asset" },
|
||||
@@ -162,18 +145,10 @@ else
|
||||
<div class="col-lg-4 col-md-6">
|
||||
<div class="card service-card h-100 @(isFeatured ? "service-card--featured" : "")">
|
||||
@if (isFeatured) { <div class="service-card-badge">현재 시즌</div> }
|
||||
<div class="service-icon">🏪</div>
|
||||
<div class="service-icon">📊</div>
|
||||
<div class="card-body pt-0">
|
||||
<h3 class="card-title">사업자 세무</h3>
|
||||
<ul class="list-unstyled small mb-3">
|
||||
<li class="mb-2">✓ 정확한 기장 및 결산</li>
|
||||
<li class="mb-2">✓ 세금계산서 관리</li>
|
||||
<li class="mb-2">✓ 경비처리 최적화</li>
|
||||
<li class="mb-2">✓ 절세 전략 수립</li>
|
||||
</ul>
|
||||
<p class="text-muted small">
|
||||
초기부터 세무 전략을 수립하면 연간 최대 수백만 원의 절세가 가능합니다.
|
||||
</p>
|
||||
<p class="text-muted small">월 기장부터 종합소득세, 신규 사업자 세무까지 — 사업 초기부터 체계적인 세무 관리.</p>
|
||||
<a href="/taxbaik/services#business-tax" class="btn btn-sm btn-outline-primary mt-3">자세히 보기</a>
|
||||
</div>
|
||||
</div>
|
||||
@@ -187,15 +162,7 @@ else
|
||||
<div class="service-icon">🏠</div>
|
||||
<div class="card-body pt-0">
|
||||
<h3 class="card-title">부동산 세금</h3>
|
||||
<ul class="list-unstyled small mb-3">
|
||||
<li class="mb-2">✓ 양도세 최소화</li>
|
||||
<li class="mb-2">✓ 취득세 절감</li>
|
||||
<li class="mb-2">✓ 임대소득 관리</li>
|
||||
<li class="mb-2">✓ 다주택자 세무</li>
|
||||
</ul>
|
||||
<p class="text-muted small">
|
||||
부동산 거래 시 미리 상담하면 세금 부담을 크게 줄일 수 있습니다.
|
||||
</p>
|
||||
<p class="text-muted small">양도세·취득세·임대소득세 — 부동산 거래 시 세금 부담을 줄이는 전략.</p>
|
||||
<a href="/taxbaik/services#real-estate-tax" class="btn btn-sm btn-outline-primary mt-3">자세히 보기</a>
|
||||
</div>
|
||||
</div>
|
||||
@@ -209,15 +176,7 @@ else
|
||||
<div class="service-icon">👨👩👧👦</div>
|
||||
<div class="card-body pt-0">
|
||||
<h3 class="card-title">가족자산 관리</h3>
|
||||
<ul class="list-unstyled small mb-3">
|
||||
<li class="mb-2">✓ 증여세 전략</li>
|
||||
<li class="mb-2">✓ 상속세 대비</li>
|
||||
<li class="mb-2">✓ 자산 이전 계획</li>
|
||||
<li class="mb-2">✓ 가족법인 설립</li>
|
||||
</ul>
|
||||
<p class="text-muted small">
|
||||
세대 이전 전에 사전 계획하면 세금 부담을 현저히 줄일 수 있습니다.
|
||||
</p>
|
||||
<p class="text-muted small">증여·상속 사전 계획부터 대표자 리스크 관리까지 — 가족 자산을 지키는 전략.</p>
|
||||
<a href="/taxbaik/services#family-asset" class="btn btn-sm btn-outline-primary mt-3">자세히 보기</a>
|
||||
</div>
|
||||
</div>
|
||||
@@ -228,6 +187,85 @@ else
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- 블로그 & 시즌 포스트 (상단으로 올림) -->
|
||||
<section class="py-5">
|
||||
<div class="container">
|
||||
<div class="text-center mb-5">
|
||||
@if (season != null)
|
||||
{
|
||||
<div class="seasonal-blog-header mb-2">
|
||||
<span class="seasonal-blog-tag">📅 @season.Name 시즌</span>
|
||||
</div>
|
||||
<h2 class="section-title">이번 시즌 세무 정보</h2>
|
||||
<p class="text-muted">@season.Name 관련 절세 팁과 신고 가이드를 확인하세요</p>
|
||||
}
|
||||
else
|
||||
{
|
||||
<h2 class="section-title">세무 정보 & 절세 팁</h2>
|
||||
<p class="text-muted">최신 세법 변화와 실무 팁을 공유합니다</p>
|
||||
}
|
||||
</div>
|
||||
|
||||
@{
|
||||
var hasSeasonalPosts = Model.SeasonalPosts?.Count > 0;
|
||||
var hasRecentPosts = Model.RecentPosts?.Count > 0;
|
||||
}
|
||||
|
||||
@if (hasSeasonalPosts || hasRecentPosts)
|
||||
{
|
||||
<div class="row g-4">
|
||||
@* 시즌 관련 글 (배지 강조) *@
|
||||
@if (hasSeasonalPosts)
|
||||
{
|
||||
@foreach (var post in Model.SeasonalPosts!)
|
||||
{
|
||||
<div class="col-lg-4 col-md-6">
|
||||
<div class="card blog-card h-100 blog-card--seasonal">
|
||||
<div class="blog-seasonal-ribbon">이번 시즌 추천</div>
|
||||
<div class="blog-placeholder">🗓️</div>
|
||||
<div class="card-body">
|
||||
<small class="badge bg-season-badge">@post.CategoryName</small>
|
||||
<h4 class="card-title mt-3">@post.Title</h4>
|
||||
<p class="text-muted small">@((post.PublishedAt ?? post.CreatedAt).ToString("yyyy년 MM월 dd일"))</p>
|
||||
<a href="/taxbaik/blog/@post.Slug" class="btn btn-sm btn-seasonal">읽기</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
}
|
||||
@* 최신 글 (나머지 채우기) *@
|
||||
@if (hasRecentPosts)
|
||||
{
|
||||
@foreach (var post in Model.RecentPosts!)
|
||||
{
|
||||
<div class="col-lg-4 col-md-6">
|
||||
<div class="card blog-card h-100">
|
||||
<div class="blog-placeholder">📝</div>
|
||||
<div class="card-body">
|
||||
<small class="badge bg-primary-badge">@post.CategoryName</small>
|
||||
<h4 class="card-title mt-3">@post.Title</h4>
|
||||
<p class="text-muted small">@((post.PublishedAt ?? post.CreatedAt).ToString("yyyy년 MM월 dd일"))</p>
|
||||
<a href="/taxbaik/blog/@post.Slug" class="btn btn-sm btn-primary">읽기</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
}
|
||||
</div>
|
||||
|
||||
<div class="text-center mt-5 d-flex justify-content-center gap-3 flex-wrap">
|
||||
@if (season != null && !string.IsNullOrEmpty(season.RelatedCategorySlug))
|
||||
{
|
||||
<a href="/taxbaik/blog?category=@season.RelatedCategorySlug" class="btn btn-outline-secondary btn-lg">
|
||||
📅 @season.Name 전체 글 보기
|
||||
</a>
|
||||
}
|
||||
<a href="/taxbaik/blog" class="btn btn-outline-primary btn-lg">전체 블로그 보기</a>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- 상담 프로세스 -->
|
||||
<section class="py-5" style="background: #F9F7F3;">
|
||||
<div class="container">
|
||||
@@ -273,85 +311,6 @@ else
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- 세무 정보 블로그 -->
|
||||
<section class="py-5">
|
||||
<div class="container">
|
||||
<div class="text-center mb-5">
|
||||
@if (season != null)
|
||||
{
|
||||
<div class="seasonal-blog-header mb-2">
|
||||
<span class="seasonal-blog-tag">📅 @season.Name 시즌</span>
|
||||
</div>
|
||||
<h2 class="section-title">이번 시즌 세무 정보</h2>
|
||||
<p class="text-muted">@season.Name 관련 절세 팁과 신고 가이드를 확인하세요</p>
|
||||
}
|
||||
else
|
||||
{
|
||||
<h2 class="section-title">세무 정보</h2>
|
||||
<p class="text-muted">최신 세법 변화와 실무 팁을 공유합니다</p>
|
||||
}
|
||||
</div>
|
||||
|
||||
@{
|
||||
var hasSeasonalPosts = Model.SeasonalPosts?.Count > 0;
|
||||
var hasRecentPosts = Model.RecentPosts?.Count > 0;
|
||||
}
|
||||
|
||||
@if (hasSeasonalPosts || hasRecentPosts)
|
||||
{
|
||||
<div class="row g-4">
|
||||
@* 시즌 관련 글 (배지 강조) *@
|
||||
@if (hasSeasonalPosts)
|
||||
{
|
||||
@foreach (var post in Model.SeasonalPosts!)
|
||||
{
|
||||
<div class="col-lg-4 col-md-6">
|
||||
<div class="card blog-card h-100 blog-card--seasonal">
|
||||
<div class="blog-seasonal-ribbon">이번 시즌 추천</div>
|
||||
<div class="blog-placeholder">🗓️</div>
|
||||
<div class="card-body">
|
||||
<small class="badge bg-season-badge">@post.CategoryName</small>
|
||||
<h4 class="card-title mt-3">@post.Title</h4>
|
||||
<p class="text-muted small">@((post.PublishedAt ?? post.CreatedAt).ToString("yyyy년 MM월 dd일"))</p>
|
||||
<a href="/taxbaik/blog/@post.Slug" class="btn btn-sm btn-seasonal">자세히 보기</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
}
|
||||
@* 최신 글 (나머지 채우기) *@
|
||||
@if (hasRecentPosts)
|
||||
{
|
||||
@foreach (var post in Model.RecentPosts!)
|
||||
{
|
||||
<div class="col-lg-4 col-md-6">
|
||||
<div class="card blog-card h-100">
|
||||
<div class="blog-placeholder">📝</div>
|
||||
<div class="card-body">
|
||||
<small class="badge bg-primary-badge">@post.CategoryName</small>
|
||||
<h4 class="card-title mt-3">@post.Title</h4>
|
||||
<p class="text-muted small">@((post.PublishedAt ?? post.CreatedAt).ToString("yyyy년 MM월 dd일"))</p>
|
||||
<a href="/taxbaik/blog/@post.Slug" class="btn btn-sm btn-primary">글 내용 보기</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
}
|
||||
</div>
|
||||
|
||||
<div class="text-center mt-5 d-flex justify-content-center gap-3 flex-wrap">
|
||||
@if (season != null && !string.IsNullOrEmpty(season.RelatedCategorySlug))
|
||||
{
|
||||
<a href="/taxbaik/blog?category=@season.RelatedCategorySlug" class="btn btn-outline-seasonal btn-lg">
|
||||
📅 @season.Name 전체 글 보기
|
||||
</a>
|
||||
}
|
||||
<a href="/taxbaik/blog" class="btn btn-outline-primary btn-lg">전체 블로그 보기</a>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- 자주 묻는 질문 (DB 연동) -->
|
||||
@if (Model.ActiveFaqs.Count > 0)
|
||||
{
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
@page "/inquiry"
|
||||
@{
|
||||
Response.Redirect("/taxbaik/contact");
|
||||
}
|
||||
@@ -54,7 +54,7 @@
|
||||
<div class="row g-4">
|
||||
<!-- 왼쪽: 세무 신고 현황 (Tax Filings) -->
|
||||
<div class="col-lg-8">
|
||||
<div class="card border-0 shadow-sm rounded-3 mb-4">
|
||||
<div class="card glass-card mb-4">
|
||||
<div class="card-body p-4">
|
||||
<div class="d-flex justify-content-between align-items-center mb-4">
|
||||
<h3 class="h5 fw-bold text-dark mb-0">
|
||||
@@ -124,7 +124,7 @@
|
||||
|
||||
<!-- 오른쪽: 상담 이력 요약 (Consulting Activities) -->
|
||||
<div class="col-lg-4">
|
||||
<div class="card border-0 shadow-sm rounded-3">
|
||||
<div class="card glass-card">
|
||||
<div class="card-body p-4">
|
||||
<h3 class="h5 fw-bold text-dark mb-4">
|
||||
<i class="bi bi-chat-text text-primary me-2"></i> 최근 상담 및 지원 이력
|
||||
@@ -139,14 +139,10 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
<div class="timeline">
|
||||
<div class="timeline ps-2">
|
||||
@foreach (var activity in Model.Consultations)
|
||||
{
|
||||
<div class="border-start border-2 border-primary-subtle ps-3 pb-4 position-relative">
|
||||
<!-- 타임라인 아이콘 -->
|
||||
<div class="position-absolute start-0 translate-middle-x bg-primary rounded-circle"
|
||||
style="width: 10px; height: 10px; margin-left: -1px; top: 6px;"></div>
|
||||
|
||||
<div class="timeline-item-modern">
|
||||
<div class="d-flex justify-content-between align-items-center mb-1">
|
||||
<span class="badge bg-primary-subtle text-primary small">@activity.ActivityType</span>
|
||||
<small class="text-muted">@activity.ActivityDate.ToString("yyyy-MM-dd")</small>
|
||||
|
||||
@@ -4,7 +4,20 @@
|
||||
ViewData["Description"] = "사업자 세무, 부동산 세금, 종합소득세 등 전문 상담 서비스";
|
||||
}
|
||||
|
||||
<!-- Breadcrumb Navigation -->
|
||||
<nav aria-label="breadcrumb" class="py-3" style="background: #F9F7F3; border-bottom: 1px solid #D9D3C4;">
|
||||
<div class="container">
|
||||
<ol class="breadcrumb mb-0">
|
||||
<li class="breadcrumb-item"><a href="/taxbaik/" class="text-decoration-none">홈</a></li>
|
||||
<li class="breadcrumb-item active">서비스</li>
|
||||
</ol>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<div class="container py-5">
|
||||
<div class="mb-4">
|
||||
<a href="/taxbaik/" class="btn btn-sm btn-outline-secondary">← 홈으로 돌아가기</a>
|
||||
</div>
|
||||
<h1 class="fw-bold mb-5 text-center">주요 서비스</h1>
|
||||
|
||||
<!-- 사업자 세무 -->
|
||||
@@ -124,11 +137,36 @@
|
||||
</section>
|
||||
|
||||
<!-- CTA -->
|
||||
<section class="bg-primary text-white py-5 rounded mt-5">
|
||||
<section class="bg-primary text-white py-5 rounded mt-5 mb-5">
|
||||
<div class="text-center">
|
||||
<h2 class="fw-bold mb-3">전문 상담받으세요</h2>
|
||||
<p class="lead mb-4">정확한 진단 후 맞춤형 솔루션을 제시합니다</p>
|
||||
<a href="/taxbaik/contact" class="btn btn-warning btn-lg">무료 상담 신청</a>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- 관련 페이지 네비게이션 -->
|
||||
<section class="text-center py-5">
|
||||
<h4 class="fw-bold mb-4">다른 페이지 보기</h4>
|
||||
<div class="row g-3 justify-content-center">
|
||||
<div class="col-md-4">
|
||||
<a href="/taxbaik/" class="btn btn-outline-primary btn-sm w-100 py-3">
|
||||
🏠 홈<br/>
|
||||
<small class="text-muted">최신 정보 및 블로그</small>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<a href="/taxbaik/about" class="btn btn-outline-primary btn-sm w-100 py-3">
|
||||
👤 세무사 소개<br/>
|
||||
<small class="text-muted">자격 및 상담 철학</small>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<a href="/taxbaik/blog" class="btn btn-outline-primary btn-sm w-100 py-3">
|
||||
📝 세무 정보<br/>
|
||||
<small class="text-muted">절세팁 및 신고 가이드</small>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@@ -26,10 +26,12 @@
|
||||
|
||||
<meta name="robots" content="index, follow" />
|
||||
<meta name="theme-color" content="#C89D6E" />
|
||||
<link rel="icon" type="image/svg+xml" href="/taxbaik/favicon.svg" />
|
||||
<link rel="alternate icon" href="/taxbaik/favicon.ico" />
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||
<link rel="dns-prefetch" href="https://cdn.jsdelivr.net" />
|
||||
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700&display=swap" rel="stylesheet" />
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Noto+Sans+KR:wght@400;500;700&family=Outfit:wght@400;500;600;700;800&display=swap" rel="stylesheet" />
|
||||
<link rel="canonical" href="@(ViewData["CanonicalUrl"] ?? "http://178.104.200.7/taxbaik/")" />
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet" />
|
||||
<link rel="stylesheet" href="~/css/site.css" asp-append-version="true" />
|
||||
@@ -60,37 +62,51 @@
|
||||
<main role="main" class="pb-5">
|
||||
@RenderBody()
|
||||
</main>
|
||||
<footer class="bg-light border-top mt-5 py-4">
|
||||
<footer class="bg-light border-top mt-5 py-5">
|
||||
<div class="container">
|
||||
<div class="row g-4">
|
||||
<div class="col-md-4">
|
||||
<h6 class="fw-bold">백원숙 세무회계</h6>
|
||||
<div class="row g-5">
|
||||
<div class="col-md-3">
|
||||
<h6 class="fw-bold mb-3">백원숙 세무회계</h6>
|
||||
<p class="small text-muted">
|
||||
사업자 기장, 부동산 양도세·증여세,<br />
|
||||
종합소득세 전문 상담
|
||||
</p>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<h6 class="fw-bold">연락처</h6>
|
||||
<div class="col-md-3">
|
||||
<h6 class="fw-bold mb-3">메뉴</h6>
|
||||
<ul class="list-unstyled small">
|
||||
<li class="mb-2"><a href="/taxbaik/" class="text-decoration-none text-muted">홈</a></li>
|
||||
<li class="mb-2"><a href="/taxbaik/about" class="text-decoration-none text-muted">세무사 소개</a></li>
|
||||
<li class="mb-2"><a href="/taxbaik/services" class="text-decoration-none text-muted">전문 서비스</a></li>
|
||||
<li class="mb-2"><a href="/taxbaik/blog" class="text-decoration-none text-muted">세무 정보</a></li>
|
||||
<li><a href="/taxbaik/contact" class="text-decoration-none text-muted">상담 신청</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h6 class="fw-bold mb-3">연락처</h6>
|
||||
<p class="small">
|
||||
📞 <a href="tel:010-4122-8268" class="text-decoration-none">010-4122-8268</a><br />
|
||||
📧 <a href="mailto:taxbaik5668@gmail.com" class="text-decoration-none">taxbaik5668@gmail.com</a>
|
||||
📞 <a href="tel:010-4122-8268" class="text-decoration-none text-muted">010-4122-8268</a><br />
|
||||
📧 <a href="mailto:taxbaik5668@gmail.com" class="text-decoration-none text-muted">taxbaik5668@gmail.com</a>
|
||||
</p>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<h6 class="fw-bold">채널</h6>
|
||||
<div class="col-md-3">
|
||||
<h6 class="fw-bold mb-3">채널</h6>
|
||||
<p class="small">
|
||||
<a href="http://pf.kakao.com/_xoxchTX" target="_blank" class="btn btn-sm btn-warning me-2">카카오톡</a>
|
||||
<a href="https://www.instagram.com/taxtory5668/" target="_blank" class="btn btn-sm btn-outline-secondary">Instagram</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="my-3" />
|
||||
<hr class="my-4" />
|
||||
<div class="text-center small text-muted">
|
||||
<p>© 2026 백원숙 세무회계. All rights reserved.</p>
|
||||
<a href="/taxbaik/privacy" class="text-decoration-none text-muted me-2">개인정보처리방침</a>
|
||||
<a href="/taxbaik/terms" class="text-decoration-none text-muted">이용약관</a>
|
||||
<a href="/taxbaik/portal" class="text-decoration-none text-muted ms-2">고객 포털</a>
|
||||
<div class="mb-2">
|
||||
<a href="/taxbaik/privacy" class="text-decoration-none text-muted me-2">개인정보처리방침</a>
|
||||
<span class="text-muted">|</span>
|
||||
<a href="/taxbaik/terms" class="text-decoration-none text-muted ms-2 me-2">이용약관</a>
|
||||
<span class="text-muted">|</span>
|
||||
<a href="/taxbaik/portal" class="text-decoration-none text-muted ms-2">고객 포털</a>
|
||||
</div>
|
||||
@if (Context.RequestServices.GetService(typeof(VersionInfo)) is VersionInfo version)
|
||||
{
|
||||
<div class="mt-2 text-muted" style="font-size: 0.75rem; opacity: 0.6;">
|
||||
|
||||
+36
-12
@@ -54,7 +54,9 @@ builder.Services.AddHealthChecks();
|
||||
|
||||
// Razor Pages + Blazor Server 통합
|
||||
builder.Services.AddRazorPages();
|
||||
builder.Services.AddRazorComponents().AddInteractiveServerComponents();
|
||||
builder.Services.AddRazorComponents()
|
||||
.AddInteractiveServerComponents()
|
||||
.AddInteractiveWebAssemblyComponents();
|
||||
builder.Services.Configure<Microsoft.AspNetCore.Components.Server.CircuitOptions>(options =>
|
||||
{
|
||||
options.DetailedErrors = true;
|
||||
@@ -208,59 +210,65 @@ var apiBaseUrl = builder.Configuration["ApiClient:BaseUrl"]
|
||||
builder.Services.AddHttpClient<IAdminDashboardClient, AdminDashboardClient>(client =>
|
||||
{
|
||||
client.BaseAddress = new Uri(apiBaseUrl);
|
||||
});
|
||||
}).AddHttpMessageHandler<TokenRefreshHandler>();
|
||||
builder.Services.AddHttpClient<IInquiryBrowserClient, InquiryBrowserClient>(client =>
|
||||
{
|
||||
client.BaseAddress = new Uri(apiBaseUrl);
|
||||
});
|
||||
}).AddHttpMessageHandler<TokenRefreshHandler>();
|
||||
builder.Services.AddHttpClient<IClientBrowserClient, ClientBrowserClient>(client =>
|
||||
{
|
||||
client.BaseAddress = new Uri(apiBaseUrl);
|
||||
});
|
||||
}).AddHttpMessageHandler<TokenRefreshHandler>();
|
||||
builder.Services.AddHttpClient<ITaxFilingBrowserClient, TaxFilingBrowserClient>(client =>
|
||||
{
|
||||
client.BaseAddress = new Uri(apiBaseUrl);
|
||||
});
|
||||
}).AddHttpMessageHandler<TokenRefreshHandler>();
|
||||
builder.Services.AddHttpClient<IFaqBrowserClient, FaqBrowserClient>(client =>
|
||||
{
|
||||
client.BaseAddress = new Uri(apiBaseUrl);
|
||||
});
|
||||
}).AddHttpMessageHandler<TokenRefreshHandler>();
|
||||
builder.Services.AddHttpClient<IAnnouncementBrowserClient, AnnouncementBrowserClient>(client =>
|
||||
{
|
||||
client.BaseAddress = new Uri(apiBaseUrl);
|
||||
});
|
||||
}).AddHttpMessageHandler<TokenRefreshHandler>();
|
||||
|
||||
// Phase 5: Tax Accounting & CRM Browser Clients
|
||||
builder.Services.AddHttpClient<ITaxProfileBrowserClient, TaxProfileBrowserClient>(client =>
|
||||
{
|
||||
client.BaseAddress = new Uri(apiBaseUrl);
|
||||
});
|
||||
}).AddHttpMessageHandler<TokenRefreshHandler>();
|
||||
|
||||
builder.Services.AddHttpClient<ITaxFilingScheduleBrowserClient, TaxFilingScheduleBrowserClient>(client =>
|
||||
{
|
||||
client.BaseAddress = new Uri(apiBaseUrl);
|
||||
});
|
||||
}).AddHttpMessageHandler<TokenRefreshHandler>();
|
||||
|
||||
builder.Services.AddHttpClient<IConsultingActivityBrowserClient, ConsultingActivityBrowserClient>(client =>
|
||||
{
|
||||
client.BaseAddress = new Uri(apiBaseUrl);
|
||||
});
|
||||
}).AddHttpMessageHandler<TokenRefreshHandler>();
|
||||
|
||||
builder.Services.AddHttpClient<IContractBrowserClient, ContractBrowserClient>(client =>
|
||||
{
|
||||
client.BaseAddress = new Uri(apiBaseUrl);
|
||||
});
|
||||
}).AddHttpMessageHandler<TokenRefreshHandler>();
|
||||
|
||||
builder.Services.AddHttpClient<IRevenueTrackingBrowserClient, RevenueTrackingBrowserClient>(client =>
|
||||
{
|
||||
client.BaseAddress = new Uri(apiBaseUrl);
|
||||
});
|
||||
}).AddHttpMessageHandler<TokenRefreshHandler>();
|
||||
|
||||
builder.Services.AddHttpClient<ICommonCodeBrowserClient, CommonCodeBrowserClient>(client =>
|
||||
{
|
||||
client.BaseAddress = new Uri(apiBaseUrl);
|
||||
}).AddHttpMessageHandler<TokenRefreshHandler>();
|
||||
|
||||
// UI & 캐시 (MudBlazor Theme Customization)
|
||||
builder.Services.AddMudServices(config =>
|
||||
{
|
||||
config.SnackbarConfiguration.HideTransitionDuration = 400;
|
||||
config.SnackbarConfiguration.ShowTransitionDuration = 300;
|
||||
config.PopoverOptions.ThrowOnDuplicateProvider = false;
|
||||
});
|
||||
builder.Services.AddMemoryCache();
|
||||
builder.Services.AddResponseCompression(opts => {
|
||||
@@ -307,6 +315,20 @@ app.UseForwardedHeaders(new ForwardedHeadersOptions
|
||||
ForwardedHeaders = ForwardedHeaders.XForwardedFor | ForwardedHeaders.XForwardedProto
|
||||
});
|
||||
|
||||
app.Use(async (context, next) =>
|
||||
{
|
||||
var path = context.Request.Path.Value ?? string.Empty;
|
||||
if (path.Equals("/favicon.ico", StringComparison.OrdinalIgnoreCase) ||
|
||||
path.Equals("/taxbaik/favicon.ico", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
context.Response.ContentType = "image/svg+xml";
|
||||
await context.Response.SendFileAsync(Path.Combine(app.Environment.WebRootPath ?? "wwwroot", "favicon.svg"));
|
||||
return;
|
||||
}
|
||||
|
||||
await next();
|
||||
});
|
||||
|
||||
// Run migrations on startup (non-blocking for development)
|
||||
try
|
||||
{
|
||||
@@ -348,6 +370,8 @@ app.MapRazorPages();
|
||||
// 인증은 Blazor AuthorizeRouteView → RedirectToLogin 에서 처리한다.
|
||||
app.MapRazorComponents<TaxBaik.Web.Components.Admin.App>()
|
||||
.AddInteractiveServerRenderMode()
|
||||
.AddInteractiveWebAssemblyRenderMode()
|
||||
.AddAdditionalAssemblies(typeof(TaxBaik.WasmClient._Imports).Assembly)
|
||||
.AllowAnonymous();
|
||||
|
||||
// 애플리케이션 시작/종료 로깅
|
||||
|
||||
@@ -15,18 +15,29 @@ public class TelegramReportBackgroundService(
|
||||
{
|
||||
using var timer = new PeriodicTimer(TimeSpan.FromMinutes(30));
|
||||
|
||||
while (await timer.WaitForNextTickAsync(stoppingToken))
|
||||
try
|
||||
{
|
||||
try
|
||||
while (await timer.WaitForNextTickAsync(stoppingToken))
|
||||
{
|
||||
var now = TimeZoneInfo.ConvertTime(DateTimeOffset.UtcNow, KoreaTimeZone);
|
||||
await TrySendReportsAsync(now, stoppingToken);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
logger.LogError(ex, "Telegram report background loop failed");
|
||||
try
|
||||
{
|
||||
var now = TimeZoneInfo.ConvertTime(DateTimeOffset.UtcNow, KoreaTimeZone);
|
||||
await TrySendReportsAsync(now, stoppingToken);
|
||||
}
|
||||
catch (OperationCanceledException) when (stoppingToken.IsCancellationRequested)
|
||||
{
|
||||
break;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
logger.LogError(ex, "Telegram report background loop failed");
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (OperationCanceledException) when (stoppingToken.IsCancellationRequested)
|
||||
{
|
||||
// Normal shutdown path.
|
||||
}
|
||||
}
|
||||
|
||||
private async Task TrySendReportsAsync(DateTimeOffset nowKst, CancellationToken ct)
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\TaxBaik.Application\TaxBaik.Application.csproj" />
|
||||
<ProjectReference Include="..\TaxBaik.Infrastructure\TaxBaik.Infrastructure.csproj" />
|
||||
<ProjectReference Include="..\TaxBaik.Web.Client\TaxBaik.Web.Client.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
@@ -12,6 +13,7 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Server" Version="10.0.9" />
|
||||
<PackageReference Include="MudBlazor" Version="6.10.0" />
|
||||
<PackageReference Include="BCrypt.Net-Next" Version="4.0.3" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Authentication.Google" Version="10.0.9" />
|
||||
@@ -21,6 +23,7 @@
|
||||
<PackageReference Include="Serilog.AspNetCore" Version="8.0.1" />
|
||||
<PackageReference Include="Serilog.Sinks.Console" Version="6.0.0" />
|
||||
<PackageReference Include="Serilog.Sinks.File" Version="5.0.0" />
|
||||
<PackageReference Include="Markdig" Version="0.38.0" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
@@ -64,35 +64,35 @@
|
||||
|
||||
/* Spacing Scale */
|
||||
--space-0: 0;
|
||||
--space-1: 4px;
|
||||
--space-2: 8px;
|
||||
--space-3: 12px;
|
||||
--space-4: 16px;
|
||||
--space-5: 20px;
|
||||
--space-6: 24px;
|
||||
--space-7: 28px;
|
||||
--space-8: 32px;
|
||||
--space-10: 40px;
|
||||
--space-12: 48px;
|
||||
--space-16: 64px;
|
||||
--space-1: 3px;
|
||||
--space-2: 6px;
|
||||
--space-3: 10px;
|
||||
--space-4: 12px;
|
||||
--space-5: 16px;
|
||||
--space-6: 20px;
|
||||
--space-7: 24px;
|
||||
--space-8: 28px;
|
||||
--space-10: 34px;
|
||||
--space-12: 40px;
|
||||
--space-16: 52px;
|
||||
|
||||
/* Border Radius */
|
||||
--radius-sm: 4px;
|
||||
--radius-md: 8px;
|
||||
--radius-lg: 12px;
|
||||
--radius-xl: 16px;
|
||||
--radius-sm: 3px;
|
||||
--radius-md: 6px;
|
||||
--radius-lg: 8px;
|
||||
--radius-xl: 12px;
|
||||
--radius-full: 9999px;
|
||||
|
||||
/* Typography Scale */
|
||||
--font-family-base: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
||||
--font-size-xs: 0.75rem;
|
||||
--font-size-sm: 0.875rem;
|
||||
--font-size-base: 1rem;
|
||||
--font-size-lg: 1.125rem;
|
||||
--font-size-xl: 1.25rem;
|
||||
--font-size-2xl: 1.5rem;
|
||||
--font-size-3xl: 1.875rem;
|
||||
--font-size-4xl: 2.25rem;
|
||||
--font-size-xs: 0.7rem;
|
||||
--font-size-sm: 0.75rem;
|
||||
--font-size-base: 0.82rem;
|
||||
--font-size-lg: 0.95rem;
|
||||
--font-size-xl: 1.1rem;
|
||||
--font-size-2xl: 1.3rem;
|
||||
--font-size-3xl: 1.6rem;
|
||||
--font-size-4xl: 2rem;
|
||||
|
||||
--font-weight-regular: 400;
|
||||
--font-weight-medium: 500;
|
||||
@@ -445,11 +445,12 @@ textarea:focus-visible {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
padding: 6px 16px;
|
||||
padding: 0px 12px;
|
||||
height: 38px !important;
|
||||
background-color: var(--bg-primary);
|
||||
border-bottom: 1px solid var(--border-color);
|
||||
z-index: var(--z-dropdown);
|
||||
box-shadow: var(--shadow-xs);
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
.admin-menu-button {
|
||||
@@ -571,6 +572,33 @@ textarea:focus-visible {
|
||||
color: var(--text-tertiary);
|
||||
}
|
||||
|
||||
.admin-drawer-version {
|
||||
margin-top: auto;
|
||||
padding: var(--space-4);
|
||||
border-top: 1px solid var(--border-color-light);
|
||||
font-size: 0.72rem;
|
||||
color: var(--text-tertiary);
|
||||
line-height: 1.35;
|
||||
}
|
||||
|
||||
.admin-drawer-version-label {
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.08em;
|
||||
margin-bottom: 4px;
|
||||
color: var(--text-secondary);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
}
|
||||
|
||||
.admin-drawer-version-value {
|
||||
font-weight: var(--font-weight-semibold);
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.admin-drawer-version-built {
|
||||
margin-top: 2px;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.admin-main {
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
@@ -1641,3 +1669,58 @@ textarea:focus-visible {
|
||||
margin-right: -8px;
|
||||
}
|
||||
}
|
||||
|
||||
/* ============================================================================
|
||||
더존 ERP 스타일 최적화 (Douzone ERP High-Density Desktop Style)
|
||||
- 프레임워크 고유 레이아웃과 이벤트를 방해하는 와일드카드 및 강제 강하 스타일 제거
|
||||
- MudBlazor 테마 설정을 기반으로 하며 레이아웃 및 서체 스택만 안전하게 제어
|
||||
============================================================================ */
|
||||
|
||||
html, body {
|
||||
background-color: #E2E8F0 !important;
|
||||
color: #1E293B !important;
|
||||
font-family: 'Malgun Gothic', '맑은 고딕', 'Segoe UI', sans-serif !important;
|
||||
}
|
||||
|
||||
/* 어드민 드로워 및 탑바 테마 컬러 보완 */
|
||||
.mud-drawer {
|
||||
border-right: 1px solid #CBD5E1 !important;
|
||||
}
|
||||
|
||||
.mud-drawer-header {
|
||||
border-bottom: 1px solid #1E293B !important;
|
||||
padding: 8px 12px !important;
|
||||
}
|
||||
|
||||
.mud-nav-link {
|
||||
font-size: 12px !important;
|
||||
}
|
||||
|
||||
/* 데이터그리드 헤더 가시성 보완 */
|
||||
.mud-table-head th {
|
||||
background-color: #F1F5F9 !important;
|
||||
font-weight: bold !important;
|
||||
color: #0F172A !important;
|
||||
}
|
||||
|
||||
/* 페이지 헤더 영역 */
|
||||
.admin-page-hero {
|
||||
padding: 12px 16px !important;
|
||||
background-color: #F8FAFC !important;
|
||||
border-bottom: 1px solid #E2E8F0 !important;
|
||||
margin-bottom: 12px !important;
|
||||
}
|
||||
|
||||
.admin-page-title {
|
||||
font-size: 16px !important;
|
||||
font-weight: bold !important;
|
||||
}
|
||||
|
||||
.admin-page-subtitle {
|
||||
font-size: 12px !important;
|
||||
color: #64748B !important;
|
||||
}
|
||||
|
||||
.admin-eyebrow {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
@@ -269,34 +269,6 @@ a:hover {
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
/* ===== 휴스 스트립 (신뢰도) ===== */
|
||||
.trust-strip {
|
||||
background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-accent) 100%);
|
||||
padding: var(--spacing-3xl) 0;
|
||||
border-top: 1px solid var(--color-border);
|
||||
border-bottom: 1px solid var(--color-border);
|
||||
}
|
||||
|
||||
.trust-item {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.trust-icon {
|
||||
font-size: 3.5rem;
|
||||
margin-bottom: var(--spacing-md);
|
||||
display: block;
|
||||
}
|
||||
|
||||
.trust-item h3 {
|
||||
color: var(--color-text);
|
||||
margin-bottom: var(--spacing-sm);
|
||||
font-size: 1.35rem;
|
||||
}
|
||||
|
||||
.trust-item p {
|
||||
color: var(--color-text-light);
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
|
||||
/* ===== 배지 ===== */
|
||||
.badge {
|
||||
@@ -419,10 +391,6 @@ body.with-mobile-cta {
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
|
||||
.trust-icon {
|
||||
font-size: 2.5rem;
|
||||
}
|
||||
|
||||
.container {
|
||||
padding: 0 var(--spacing-md);
|
||||
}
|
||||
@@ -746,3 +714,263 @@ img {
|
||||
.faq-answer ul li {
|
||||
margin-bottom: 0.4rem;
|
||||
}
|
||||
|
||||
/* ===== 프리미엄 고도화 & 마이크로 인터랙션 (2026-06-30) ===== */
|
||||
|
||||
/* 영어/숫자용 폰트 클래스 */
|
||||
.font-numeric, .font-heading-en {
|
||||
font-family: 'Outfit', 'Inter', 'Noto Sans KR', sans-serif;
|
||||
}
|
||||
|
||||
/* 히어로 섹션 프리미엄 개편 (메쉬 그라데이션 및 CSS 애니메이션) */
|
||||
.hero-section {
|
||||
background: radial-gradient(circle at 10% 20%, rgba(46, 92, 78, 1) 0%, rgba(31, 58, 48, 1) 44%, rgba(13, 30, 26, 1) 100%) !important;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.hero-section::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: -30%;
|
||||
right: -10%;
|
||||
width: 600px;
|
||||
height: 600px;
|
||||
background: radial-gradient(circle, rgba(200, 157, 110, 0.25) 0%, rgba(200, 157, 110, 0) 70%);
|
||||
border-radius: 50%;
|
||||
animation: floatAnimation 8s ease-in-out infinite;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.hero-section::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: -20%;
|
||||
left: -10%;
|
||||
width: 500px;
|
||||
height: 500px;
|
||||
background: radial-gradient(circle, rgba(232, 228, 216, 0.15) 0%, rgba(232, 228, 216, 0) 70%);
|
||||
border-radius: 50%;
|
||||
animation: floatAnimation2 12s ease-in-out infinite alternate;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
@keyframes floatAnimation {
|
||||
0% { transform: translateY(0px) scale(1); }
|
||||
50% { transform: translateY(-30px) scale(1.05); }
|
||||
100% { transform: translateY(0px) scale(1); }
|
||||
}
|
||||
|
||||
@keyframes floatAnimation2 {
|
||||
0% { transform: translateX(0px) rotate(0deg); }
|
||||
50% { transform: translateX(20px) translateY(15px) rotate(10deg); }
|
||||
100% { transform: translateX(0px) rotate(0deg); }
|
||||
}
|
||||
|
||||
/* 서비스 카드 고도화 */
|
||||
.service-card {
|
||||
border: 1px solid rgba(217, 211, 196, 0.6) !important;
|
||||
box-shadow: 0 10px 25px rgba(61, 40, 23, 0.03) !important;
|
||||
transition: all var(--transition-normal) !important;
|
||||
}
|
||||
|
||||
.service-card:hover {
|
||||
transform: translateY(-8px) !important;
|
||||
box-shadow: 0 20px 40px rgba(61, 40, 23, 0.1) !important;
|
||||
border-color: var(--color-primary) !important;
|
||||
}
|
||||
|
||||
.service-card--featured {
|
||||
background: linear-gradient(180deg, #FFFFFF 0%, #FAF8F5 100%) !important;
|
||||
border-left: 4px solid var(--color-primary) !important;
|
||||
}
|
||||
|
||||
/* 글래스모피즘 포털 클래스 (Glassmorphism Portal Classes) */
|
||||
.glass-card {
|
||||
background: rgba(255, 255, 255, 0.7) !important;
|
||||
backdrop-filter: blur(12px) saturate(180%) !important;
|
||||
-webkit-backdrop-filter: blur(12px) saturate(180%) !important;
|
||||
border: 1px solid rgba(255, 255, 255, 0.4) !important;
|
||||
box-shadow: 0 8px 32px 0 rgba(61, 40, 23, 0.05) !important;
|
||||
border-radius: var(--radius-lg);
|
||||
transition: all var(--transition-normal);
|
||||
}
|
||||
|
||||
.glass-card:hover {
|
||||
background: rgba(255, 255, 255, 0.8) !important;
|
||||
box-shadow: 0 8px 32px 0 rgba(61, 40, 23, 0.08) !important;
|
||||
}
|
||||
|
||||
.portal-welcome-strip {
|
||||
background: linear-gradient(135deg, var(--color-secondary-dark) 0%, #152A22 100%);
|
||||
border-radius: var(--radius-lg);
|
||||
color: white;
|
||||
padding: 2.5rem;
|
||||
box-shadow: var(--shadow-lg);
|
||||
border-bottom: 3px solid var(--color-primary);
|
||||
}
|
||||
|
||||
/* 타임라인 컴포넌트 뷰티화 */
|
||||
.timeline-item-modern {
|
||||
border-left: 2px solid rgba(200, 157, 110, 0.4);
|
||||
position: relative;
|
||||
padding-left: 1.5rem;
|
||||
padding-bottom: 2rem;
|
||||
}
|
||||
|
||||
.timeline-item-modern::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
border-radius: 50%;
|
||||
background: var(--color-primary);
|
||||
left: -7px;
|
||||
top: 6px;
|
||||
box-shadow: 0 0 0 4px rgba(200, 157, 110, 0.25);
|
||||
transition: all var(--transition-fast);
|
||||
}
|
||||
|
||||
.timeline-item-modern:hover::after {
|
||||
background: var(--color-secondary);
|
||||
box-shadow: 0 0 0 6px rgba(46, 92, 78, 0.3);
|
||||
transform: scale(1.1);
|
||||
}
|
||||
|
||||
/* ===== 마크다운 스타일 ===== */
|
||||
.markdown-body {
|
||||
font-size: 1rem;
|
||||
line-height: 1.8;
|
||||
color: var(--color-text);
|
||||
}
|
||||
|
||||
.markdown-body h1,
|
||||
.markdown-body h2,
|
||||
.markdown-body h3,
|
||||
.markdown-body h4,
|
||||
.markdown-body h5,
|
||||
.markdown-body h6 {
|
||||
font-weight: 700;
|
||||
margin-top: 1.5rem;
|
||||
margin-bottom: 1rem;
|
||||
color: var(--color-text);
|
||||
}
|
||||
|
||||
.markdown-body h1 {
|
||||
font-size: 1.8rem;
|
||||
border-bottom: 2px solid var(--color-primary);
|
||||
padding-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.markdown-body h2 {
|
||||
font-size: 1.5rem;
|
||||
border-bottom: 1px solid var(--color-border);
|
||||
padding-bottom: 0.3rem;
|
||||
}
|
||||
|
||||
.markdown-body h3 {
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
|
||||
.markdown-body h4 {
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
.markdown-body p {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.markdown-body strong {
|
||||
font-weight: 700;
|
||||
color: var(--color-primary-dark);
|
||||
}
|
||||
|
||||
.markdown-body em {
|
||||
font-style: italic;
|
||||
color: var(--color-text-light);
|
||||
}
|
||||
|
||||
.markdown-body code {
|
||||
background: var(--color-bg-alt);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius-sm);
|
||||
padding: 0.15rem 0.4rem;
|
||||
font-family: 'Courier New', monospace;
|
||||
font-size: 0.9rem;
|
||||
color: #d63384;
|
||||
}
|
||||
|
||||
.markdown-body pre {
|
||||
background: var(--color-text);
|
||||
color: #f8f8f8;
|
||||
padding: 1rem;
|
||||
border-radius: var(--radius-lg);
|
||||
overflow-x: auto;
|
||||
margin-bottom: 1rem;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.markdown-body pre code {
|
||||
background: none;
|
||||
border: none;
|
||||
padding: 0;
|
||||
color: inherit;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.markdown-body ul,
|
||||
.markdown-body ol {
|
||||
margin-bottom: 1rem;
|
||||
margin-left: 2rem;
|
||||
}
|
||||
|
||||
.markdown-body li {
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.markdown-body blockquote {
|
||||
border-left: 4px solid var(--color-primary);
|
||||
padding-left: 1rem;
|
||||
margin: 1rem 0;
|
||||
color: var(--color-text-light);
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.markdown-body table {
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.markdown-body table th,
|
||||
.markdown-body table td {
|
||||
border: 1px solid var(--color-border);
|
||||
padding: 0.75rem;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.markdown-body table th {
|
||||
background: var(--color-bg-alt);
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.markdown-body table tr:nth-child(even) {
|
||||
background: var(--color-bg);
|
||||
}
|
||||
|
||||
.markdown-body a {
|
||||
color: var(--color-primary-dark);
|
||||
text-decoration: none;
|
||||
border-bottom: 1px solid var(--color-primary);
|
||||
transition: color var(--transition-fast);
|
||||
}
|
||||
|
||||
.markdown-body a:hover {
|
||||
color: var(--color-primary);
|
||||
}
|
||||
|
||||
.markdown-body hr {
|
||||
border: none;
|
||||
border-top: 1px solid var(--color-border);
|
||||
margin: 2rem 0;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" role="img" aria-label="TaxBaik">
|
||||
<defs>
|
||||
<linearGradient id="g" x1="0%" y1="0%" x2="100%" y2="100%">
|
||||
<stop offset="0%" stop-color="#1f3c88"/>
|
||||
<stop offset="100%" stop-color="#d7a86e"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<rect width="64" height="64" rx="16" fill="url(#g)"/>
|
||||
<path d="M18 24h28v6H18zM22 32h20v6H22zM26 40h12v6H26z" fill="#fff" opacity="0.95"/>
|
||||
<path d="M16 18h32v2H16z" fill="#ffffff" opacity="0.35"/>
|
||||
<circle cx="46" cy="18" r="5" fill="#fff" opacity="0.9"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 564 B |
@@ -11,6 +11,9 @@ window.taxbaikAdminSession = {
|
||||
|
||||
clearAuthToken: function () {
|
||||
try {
|
||||
localStorage.removeItem('accessToken');
|
||||
localStorage.removeItem('refreshToken');
|
||||
localStorage.removeItem('tokenExpiry');
|
||||
localStorage.removeItem('auth_token');
|
||||
} catch {
|
||||
// Ignore storage errors; redirect still recovers the session.
|
||||
@@ -18,6 +21,11 @@ window.taxbaikAdminSession = {
|
||||
},
|
||||
|
||||
showLoading: function () {
|
||||
if (document.documentElement.classList.contains('admin-login-route')) {
|
||||
window.taxbaikAdminSession.hideLoading();
|
||||
return;
|
||||
}
|
||||
|
||||
const overlay = document.getElementById('blazor-loading');
|
||||
if (!overlay) return;
|
||||
|
||||
@@ -81,6 +89,10 @@ window.taxbaikAdminSession = {
|
||||
window.taxbaikAdminSession.syncRouteClass();
|
||||
window.addEventListener('popstate', window.taxbaikAdminSession.syncRouteClass);
|
||||
|
||||
if (document.documentElement.classList.contains('admin-login-route')) {
|
||||
window.taxbaikAdminSession.hideLoading();
|
||||
}
|
||||
|
||||
// Show loading on initial page load — overlay has 'show' from HTML,
|
||||
// but we still need to set up the observer to detect when to hide it.
|
||||
window.taxbaikAdminSession.showLoading();
|
||||
@@ -98,5 +110,102 @@ window.taxbaikAdminSession = {
|
||||
|
||||
new MutationObserver(reloadOnRejectedCircuit)
|
||||
.observe(modal, { attributes: true, attributeFilter: ['class'] });
|
||||
},
|
||||
|
||||
bindLoginForm: function () {
|
||||
const form = document.getElementById('admin-login-form');
|
||||
if (!form || form.dataset.bound === '1') return;
|
||||
|
||||
form.dataset.bound = '1';
|
||||
form.addEventListener('submit', async function (event) {
|
||||
event.preventDefault();
|
||||
|
||||
const username = form.querySelector('input[placeholder="사용자명"]')?.value?.trim() || '';
|
||||
const password = form.querySelector('input[placeholder="비밀번호"]')?.value || '';
|
||||
const rememberMe = form.querySelector('input[type="checkbox"]')?.checked || false;
|
||||
const existing = form.parentElement.querySelector('.login-error-message');
|
||||
const submitButton = form.querySelector('button[type="submit"]');
|
||||
|
||||
if (existing) existing.remove();
|
||||
if (submitButton) submitButton.disabled = true;
|
||||
|
||||
try {
|
||||
const response = await fetch('/taxbaik/api/auth/login', {
|
||||
method: 'POST',
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
body: JSON.stringify({ username, password })
|
||||
});
|
||||
|
||||
if (!response.ok) {
|
||||
throw new Error('login failed');
|
||||
}
|
||||
|
||||
const data = await response.json();
|
||||
if (!data?.accessToken || !data?.refreshToken) {
|
||||
throw new Error('invalid response');
|
||||
}
|
||||
|
||||
localStorage.setItem('accessToken', data.accessToken);
|
||||
localStorage.setItem('refreshToken', data.refreshToken);
|
||||
localStorage.setItem('tokenExpiry', String(Date.now() + (data.expiresIn || 3600) * 1000));
|
||||
|
||||
if (rememberMe) {
|
||||
localStorage.setItem('admin-remembered-username', username);
|
||||
} else {
|
||||
localStorage.removeItem('admin-remembered-username');
|
||||
}
|
||||
|
||||
window.location.href = '/taxbaik/admin/dashboard';
|
||||
} catch {
|
||||
const error = document.createElement('div');
|
||||
error.className = 'mud-alert mud-alert-filled-error login-error-message mb-4';
|
||||
error.textContent = '로그인 중 오류가 발생했습니다.';
|
||||
form.parentElement.insertBefore(error, form);
|
||||
} finally {
|
||||
if (submitButton) submitButton.disabled = false;
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
// 더존 ERP 스타일 엔터 키 포커스 이동 및 단축키 바인딩
|
||||
document.addEventListener('keydown', function (e) {
|
||||
if (e.key === 'Enter') {
|
||||
const active = document.activeElement;
|
||||
if (!active) return;
|
||||
|
||||
// 특정 영역(편집 폼 또는 다이얼로그) 내의 입력 필드만 포커스 이동 처리
|
||||
const container = active.closest('.admin-editor-panel, .mud-form, .mud-dialog');
|
||||
if (!container) return;
|
||||
|
||||
// textarea나 button, submit 타입 등은 기본 동작(줄바꿈/제출) 유지
|
||||
if (active.tagName === 'TEXTAREA' ||
|
||||
active.tagName === 'BUTTON' ||
|
||||
active.getAttribute('type') === 'submit' ||
|
||||
active.classList.contains('mud-button-root')) {
|
||||
return;
|
||||
}
|
||||
|
||||
e.preventDefault();
|
||||
|
||||
// 포커스 이동 가능한 모든 입력 요소 수집
|
||||
const focusables = Array.from(container.querySelectorAll('input, select, textarea, button'))
|
||||
.filter(el => {
|
||||
const style = window.getComputedStyle(el);
|
||||
return el.tabIndex >= 0 &&
|
||||
!el.disabled &&
|
||||
el.getAttribute('aria-disabled') !== 'true' &&
|
||||
style.display !== 'none' &&
|
||||
style.visibility !== 'hidden';
|
||||
});
|
||||
|
||||
const index = focusables.indexOf(active);
|
||||
if (index > -1 && index < focusables.length - 1) {
|
||||
const nextEl = focusables[index + 1];
|
||||
nextEl.focus();
|
||||
if (typeof nextEl.select === 'function') {
|
||||
nextEl.select();
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
+14
@@ -13,6 +13,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TaxBaik.Web", "TaxBaik.Web\
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TaxBaik.Application.Tests", "TaxBaik.Application.Tests\TaxBaik.Application.Tests.csproj", "{47D1F07D-F11B-4343-A3C3-1872F0C46AE3}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TaxBaik.Web.Client", "TaxBaik.Web.Client\TaxBaik.Web.Client.csproj", "{C46C51D4-9E87-47DF-AB76-2E794F64FD5F}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
@@ -83,6 +85,18 @@ Global
|
||||
{47D1F07D-F11B-4343-A3C3-1872F0C46AE3}.Release|x64.Build.0 = Release|Any CPU
|
||||
{47D1F07D-F11B-4343-A3C3-1872F0C46AE3}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{47D1F07D-F11B-4343-A3C3-1872F0C46AE3}.Release|x86.Build.0 = Release|Any CPU
|
||||
{C46C51D4-9E87-47DF-AB76-2E794F64FD5F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{C46C51D4-9E87-47DF-AB76-2E794F64FD5F}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{C46C51D4-9E87-47DF-AB76-2E794F64FD5F}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{C46C51D4-9E87-47DF-AB76-2E794F64FD5F}.Debug|x64.Build.0 = Debug|Any CPU
|
||||
{C46C51D4-9E87-47DF-AB76-2E794F64FD5F}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{C46C51D4-9E87-47DF-AB76-2E794F64FD5F}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{C46C51D4-9E87-47DF-AB76-2E794F64FD5F}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{C46C51D4-9E87-47DF-AB76-2E794F64FD5F}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{C46C51D4-9E87-47DF-AB76-2E794F64FD5F}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{C46C51D4-9E87-47DF-AB76-2E794F64FD5F}.Release|x64.Build.0 = Release|Any CPU
|
||||
{C46C51D4-9E87-47DF-AB76-2E794F64FD5F}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{C46C51D4-9E87-47DF-AB76-2E794F64FD5F}.Release|x86.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
||||
+1603
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,514 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<script src="./support.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<x-dc>
|
||||
<helmet>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Hahmlet:wght@600;700;900&display=swap" rel="stylesheet">
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/pretendard@latest/dist/web/static/pretendard.css">
|
||||
<style>
|
||||
@keyframes fadeUp { from{opacity:0;transform:translateY(36px)} to{opacity:1;transform:translateY(0)} }
|
||||
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
|
||||
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
|
||||
html{scroll-behavior:smooth}
|
||||
body{font-family:'Pretendard',-apple-system,BlinkMacSystemFont,sans-serif;background:#fafaf8;color:#1a2232;overflow-x:hidden;line-height:1.7}
|
||||
::selection{background:rgba(201,168,76,0.22)}
|
||||
a{text-decoration:none;color:inherit}
|
||||
button{cursor:pointer;font-family:inherit;border:none;background:none}
|
||||
@media(max-width:768px){
|
||||
.nav-links{display:none!important}
|
||||
.section-px{padding-left:24px!important;padding-right:24px!important}
|
||||
}
|
||||
</style>
|
||||
</helmet>
|
||||
|
||||
<!-- ── NAV ── -->
|
||||
<nav style="{{ navStyle }}">
|
||||
<div style="{{ navLogoStyle }}">백원숙 세무사</div>
|
||||
<div style="display:flex;gap:28px;align-items:center;" class="nav-links">
|
||||
<a href="#about" style="{{ navLinkStyle }}" style-hover="color:#c9a84c;">소개</a>
|
||||
<a href="#services" style="{{ navLinkStyle }}" style-hover="color:#c9a84c;">서비스</a>
|
||||
<a href="#customers" style="{{ navLinkStyle }}" style-hover="color:#c9a84c;">고객유형</a>
|
||||
<a href="#faq" style="{{ navLinkStyle }}" style-hover="color:#c9a84c;">FAQ</a>
|
||||
<a href="#contact" style="background:#c9a84c;color:#0d2340;padding:10px 22px;border-radius:5px;font-size:0.875rem;font-weight:700;transition:filter 0.2s;" style-hover="filter:brightness(0.92);">상담 예약</a>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<!-- ── HERO ── -->
|
||||
<section style="min-height:100vh;background:#0d2340;display:flex;align-items:center;position:relative;overflow:hidden;">
|
||||
<div style="position:absolute;top:-180px;right:-180px;width:760px;height:760px;border-radius:50%;border:1px solid rgba(201,168,76,0.12);pointer-events:none;"></div>
|
||||
<div style="position:absolute;top:-80px;right:-80px;width:460px;height:460px;border-radius:50%;border:1px solid rgba(201,168,76,0.07);pointer-events:none;"></div>
|
||||
<div style="position:absolute;bottom:0;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent,rgba(201,168,76,0.25),transparent);"></div>
|
||||
|
||||
<div style="max-width:1200px;margin:0 auto;width:100%;padding:140px 60px 90px;" class="section-px">
|
||||
<div style="animation:fadeIn 0.7s ease both;margin-bottom:18px;">
|
||||
<span style="font-size:0.72rem;letter-spacing:0.22em;color:#c9a84c;font-weight:600;text-transform:uppercase;">공인 세무사 · 부동산중개사 · 보험설계사</span>
|
||||
</div>
|
||||
<h1 style="font-family:'Hahmlet',serif;font-size:clamp(2.4rem,5.5vw,5rem);font-weight:900;color:white;line-height:1.18;letter-spacing:-0.035em;margin-bottom:28px;animation:fadeUp 0.8s ease 0.08s both;">
|
||||
사업의 숫자와<br>
|
||||
가족의 자산을<br>
|
||||
<span style="color:#c9a84c;">함께 지키는 세무사</span>
|
||||
</h1>
|
||||
<p style="font-size:clamp(0.95rem,1.8vw,1.1rem);color:rgba(255,255,255,0.65);max-width:540px;line-height:2;margin-bottom:44px;animation:fadeUp 0.8s ease 0.18s both;">
|
||||
스마트스토어·프리랜서·개인사업자부터 부동산·가족자산까지 —<br>전국 어디서나 <strong style="color:rgba(255,255,255,0.9);font-weight:600;">비대면 온라인 상담</strong>으로 시작하세요.
|
||||
</p>
|
||||
<div style="display:flex;gap:14px;flex-wrap:wrap;animation:fadeUp 0.8s ease 0.28s both;">
|
||||
<a href="https://pf.kakao.com/_xoxchTX" target="_blank" style="background:#FEE500;color:#3C1E1E;padding:16px 30px;border-radius:6px;font-weight:700;font-size:1rem;display:inline-flex;align-items:center;gap:8px;transition:filter 0.2s;" style-hover="filter:brightness(0.95);">💬 카카오로 상담하기</a>
|
||||
<a href="tel:010-4122-8268" style="background:rgba(255,255,255,0.08);color:white;padding:16px 30px;border-radius:6px;font-weight:500;font-size:1rem;border:1px solid rgba(255,255,255,0.2);transition:background 0.2s;" style-hover="background:rgba(255,255,255,0.14);">📞 010-4122-8268</a>
|
||||
</div>
|
||||
<div style="display:flex;gap:28px;margin-top:60px;animation:fadeUp 0.8s ease 0.38s both;flex-wrap:wrap;padding-top:32px;border-top:1px solid rgba(255,255,255,0.08);">
|
||||
<div style="display:flex;align-items:center;gap:9px;"><div style="width:5px;height:5px;border-radius:50%;background:#c9a84c;flex-shrink:0;"></div><span style="color:rgba(255,255,255,0.45);font-size:0.8rem;font-weight:300;">세무사 자격 (2015)</span></div>
|
||||
<div style="display:flex;align-items:center;gap:9px;"><div style="width:5px;height:5px;border-radius:50%;background:#c9a84c;flex-shrink:0;"></div><span style="color:rgba(255,255,255,0.45);font-size:0.8rem;font-weight:300;">공인 부동산중개사</span></div>
|
||||
<div style="display:flex;align-items:center;gap:9px;"><div style="width:5px;height:5px;border-radius:50%;background:#c9a84c;flex-shrink:0;"></div><span style="color:rgba(255,255,255,0.45);font-size:0.8rem;font-weight:300;">보험설계사 자격</span></div>
|
||||
<div style="display:flex;align-items:center;gap:9px;"><div style="width:5px;height:5px;border-radius:50%;background:#c9a84c;flex-shrink:0;"></div><span style="color:rgba(255,255,255,0.45);font-size:0.8rem;font-weight:300;">전국 비대면 온라인 상담</span></div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ── ONLINE TRUST BAR ── -->
|
||||
<div style="background:#1a3a5c;padding:20px 60px;" class="section-px">
|
||||
<div style="max-width:1200px;margin:0 auto;display:flex;align-items:center;justify-content:center;gap:48px;flex-wrap:wrap;">
|
||||
<div style="display:flex;align-items:center;gap:10px;">
|
||||
<span style="font-size:1.1rem;">💻</span>
|
||||
<span style="font-size:0.85rem;color:rgba(255,255,255,0.85);font-weight:500;">전국 비대면 온라인 상담</span>
|
||||
</div>
|
||||
<div style="width:1px;height:18px;background:rgba(255,255,255,0.15);"></div>
|
||||
<div style="display:flex;align-items:center;gap:10px;">
|
||||
<span style="font-size:1.1rem;">💬</span>
|
||||
<span style="font-size:0.85rem;color:rgba(255,255,255,0.85);font-weight:500;">카카오 당일 응답</span>
|
||||
</div>
|
||||
<div style="width:1px;height:18px;background:rgba(255,255,255,0.15);"></div>
|
||||
<div style="display:flex;align-items:center;gap:10px;">
|
||||
<span style="font-size:1.1rem;">📂</span>
|
||||
<span style="font-size:0.85rem;color:rgba(255,255,255,0.85);font-weight:500;">자료 공유 후 온라인 검토</span>
|
||||
</div>
|
||||
<div style="width:1px;height:18px;background:rgba(255,255,255,0.15);"></div>
|
||||
<div style="display:flex;align-items:center;gap:10px;">
|
||||
<span style="font-size:1.1rem;">✅</span>
|
||||
<span style="font-size:0.85rem;color:rgba(255,255,255,0.85);font-weight:500;">방문 없이 신고·기장 가능</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- ── ABOUT ── -->
|
||||
<section id="about" style="padding:100px 60px;background:white;" class="section-px">
|
||||
<div style="max-width:1200px;margin:0 auto;">
|
||||
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:60px;align-items:start;">
|
||||
|
||||
<div style="background:#0d2340;border-radius:20px;padding:52px 44px;">
|
||||
<div style="font-size:0.72rem;letter-spacing:0.18em;color:#c9a84c;font-weight:600;margin-bottom:20px;text-transform:uppercase;">About</div>
|
||||
<h2 style="font-family:'Hahmlet',serif;font-size:1.9rem;font-weight:700;color:white;line-height:1.35;margin-bottom:24px;">안녕하세요.<br>백원숙 세무사입니다.</h2>
|
||||
<p style="color:rgba(255,255,255,0.7);line-height:1.95;font-size:0.9rem;margin-bottom:18px;">세무사 자격과 함께 부동산중개사, 보험설계사 자격을 보유하고 있습니다. 사업자 세무, 종합소득세, 부가가치세, 양도세, 증여·상속 상담을 중심으로 운영합니다.</p>
|
||||
<p style="color:rgba(255,255,255,0.7);line-height:1.95;font-size:0.9rem;">저도 집을 사업장으로 등록하고 작게 시작해 본 사람입니다. 처음 사업을 시작하는 대표님의 막막함을 직접 압니다.</p>
|
||||
<div style="margin-top:36px;padding-top:28px;border-top:1px solid rgba(255,255,255,0.1);display:flex;gap:36px;">
|
||||
<div>
|
||||
<div style="font-size:0.76rem;color:rgba(255,255,255,0.38);margin-bottom:6px;">세무사 자격 취득</div>
|
||||
<div style="font-size:1.2rem;font-family:'Hahmlet',serif;font-weight:700;color:#c9a84c;">2015년</div>
|
||||
</div>
|
||||
<div>
|
||||
<div style="font-size:0.76rem;color:rgba(255,255,255,0.38);margin-bottom:6px;">활동 지역</div>
|
||||
<div style="font-size:1.2rem;font-family:'Hahmlet',serif;font-weight:700;color:#c9a84c;">성북구</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<div style="font-size:0.72rem;letter-spacing:0.18em;color:#c9a84c;font-weight:600;margin-bottom:16px;text-transform:uppercase;">Expertise</div>
|
||||
<h2 style="font-family:'Hahmlet',serif;font-size:2rem;font-weight:700;color:#0d2340;margin-bottom:36px;line-height:1.3;">세 가지 자격의<br>시너지</h2>
|
||||
<div style="display:flex;flex-direction:column;gap:16px;">
|
||||
<div style="display:flex;gap:18px;padding:24px;border:1.5px solid #ede9e0;border-radius:14px;transition:border-color 0.2s;" style-hover="border-color:#c9a84c;background:#fffdf7;">
|
||||
<div style="width:48px;height:48px;background:#f5f3ee;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:1.4rem;flex-shrink:0;">⚖️</div>
|
||||
<div>
|
||||
<div style="font-weight:700;font-size:0.975rem;color:#0d2340;margin-bottom:5px;">공인 세무사</div>
|
||||
<div style="font-size:0.845rem;color:#6b7e8f;line-height:1.75;">세무신고·장부관리·조세 자문 등 세무 업무 전반을 공식 대리합니다.</div>
|
||||
</div>
|
||||
</div>
|
||||
<div style="display:flex;gap:18px;padding:24px;border:1.5px solid #ede9e0;border-radius:14px;transition:border-color 0.2s;" style-hover="border-color:#c9a84c;background:#fffdf7;">
|
||||
<div style="width:48px;height:48px;background:#f5f3ee;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:1.4rem;flex-shrink:0;">🏠</div>
|
||||
<div>
|
||||
<div style="font-weight:700;font-size:0.975rem;color:#0d2340;margin-bottom:5px;">공인 부동산중개사</div>
|
||||
<div style="font-size:0.845rem;color:#6b7e8f;line-height:1.75;">부동산 거래 구조를 이해해 양도·증여·임대 세무상담에 현실감을 더합니다.</div>
|
||||
</div>
|
||||
</div>
|
||||
<div style="display:flex;gap:18px;padding:24px;border:1.5px solid #ede9e0;border-radius:14px;transition:border-color 0.2s;" style-hover="border-color:#c9a84c;background:#fffdf7;">
|
||||
<div style="width:48px;height:48px;background:#f5f3ee;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:1.4rem;flex-shrink:0;">🛡️</div>
|
||||
<div>
|
||||
<div style="font-weight:700;font-size:0.975rem;color:#0d2340;margin-bottom:5px;">보험설계사 자격</div>
|
||||
<div style="font-size:0.845rem;color:#6b7e8f;line-height:1.75;">상속·증여·대표자 리스크 관점에서 가족 현금흐름과 보험 구조를 함께 설명합니다.</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ── SERVICES ── -->
|
||||
<section id="services" style="padding:100px 60px;background:#f2f5f9;" class="section-px">
|
||||
<div style="max-width:1200px;margin:0 auto;">
|
||||
<div style="text-align:center;margin-bottom:64px;">
|
||||
<div style="font-size:0.72rem;letter-spacing:0.18em;color:#c9a84c;font-weight:600;margin-bottom:14px;text-transform:uppercase;">Services</div>
|
||||
<h2 style="font-family:'Hahmlet',serif;font-size:2.2rem;font-weight:700;color:#0d2340;margin-bottom:14px;">주요 서비스</h2>
|
||||
<p style="color:#6b7e8f;font-size:0.925rem;max-width:460px;margin:0 auto;">신고만 하는 세무가 아니라, 사업과 자산의 흐름을 함께 봅니다.</p>
|
||||
</div>
|
||||
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:22px;">
|
||||
|
||||
<div style="background:white;border-radius:14px;padding:32px;box-shadow:0 2px 16px rgba(13,35,64,0.06);transition:transform 0.25s ease,box-shadow 0.25s ease;" style-hover="transform:translateY(-5px);box-shadow:0 20px 48px rgba(13,35,64,0.13);">
|
||||
<div style="width:48px;height:48px;background:#edf2f7;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:1.4rem;margin-bottom:20px;">📊</div>
|
||||
<div style="font-size:0.68rem;letter-spacing:0.14em;color:#c9a84c;font-weight:600;margin-bottom:8px;text-transform:uppercase;">기장 서비스</div>
|
||||
<h3 style="font-family:'Hahmlet',serif;font-size:1.15rem;font-weight:700;color:#0d2340;margin-bottom:12px;">월 기장 관리</h3>
|
||||
<p style="color:#6b7e8f;font-size:0.855rem;line-height:1.85;">장부 작성, 부가세, 원천세, 인건비, 예상세액까지 — 매월 세금 리스크를 함께 점검합니다.</p>
|
||||
<div style="margin-top:22px;padding-top:18px;border-top:1px solid #eef0f3;font-size:0.775rem;color:#9db0bc;">대상: 매출 발생 사업자</div>
|
||||
</div>
|
||||
|
||||
<div style="background:white;border-radius:14px;padding:32px;box-shadow:0 2px 16px rgba(13,35,64,0.06);transition:transform 0.25s ease,box-shadow 0.25s ease;" style-hover="transform:translateY(-5px);box-shadow:0 20px 48px rgba(13,35,64,0.13);">
|
||||
<div style="width:48px;height:48px;background:#edf2f7;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:1.4rem;margin-bottom:20px;">📋</div>
|
||||
<div style="font-size:0.68rem;letter-spacing:0.14em;color:#c9a84c;font-weight:600;margin-bottom:8px;text-transform:uppercase;">소득세</div>
|
||||
<h3 style="font-family:'Hahmlet',serif;font-size:1.15rem;font-weight:700;color:#0d2340;margin-bottom:12px;">종합소득세 신고</h3>
|
||||
<p style="color:#6b7e8f;font-size:0.855rem;line-height:1.85;">사업자, 프리랜서, 보험설계사, 부동산중개사의 소득 유형에 맞는 경비처리와 신고를 안내합니다.</p>
|
||||
<div style="margin-top:22px;padding-top:18px;border-top:1px solid #eef0f3;font-size:0.775rem;color:#9db0bc;">대상: 개인사업자·프리랜서·영업직</div>
|
||||
</div>
|
||||
|
||||
<div style="background:white;border-radius:14px;padding:32px;box-shadow:0 2px 16px rgba(13,35,64,0.06);transition:transform 0.25s ease,box-shadow 0.25s ease;" style-hover="transform:translateY(-5px);box-shadow:0 20px 48px rgba(13,35,64,0.13);">
|
||||
<div style="width:48px;height:48px;background:#fdf8ec;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:1.4rem;margin-bottom:20px;">🏡</div>
|
||||
<div style="font-size:0.68rem;letter-spacing:0.14em;color:#c9a84c;font-weight:600;margin-bottom:8px;text-transform:uppercase;">부동산 세무</div>
|
||||
<h3 style="font-family:'Hahmlet',serif;font-size:1.15rem;font-weight:700;color:#0d2340;margin-bottom:12px;">양도세 사전진단</h3>
|
||||
<p style="color:#6b7e8f;font-size:0.855rem;line-height:1.85;">계약 전 보유기간·비과세 여부·필요경비·장기보유특별공제를 검토합니다. 계약 전 상담이 선택지를 넓힙니다.</p>
|
||||
<div style="margin-top:22px;padding-top:18px;border-top:1px solid #eef0f3;font-size:0.775rem;color:#9db0bc;">대상: 부동산 매도 예정자</div>
|
||||
</div>
|
||||
|
||||
<div style="background:white;border-radius:14px;padding:32px;box-shadow:0 2px 16px rgba(13,35,64,0.06);transition:transform 0.25s ease,box-shadow 0.25s ease;" style-hover="transform:translateY(-5px);box-shadow:0 20px 48px rgba(13,35,64,0.13);">
|
||||
<div style="width:48px;height:48px;background:#fdf8ec;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:1.4rem;margin-bottom:20px;">👨👩👧</div>
|
||||
<div style="font-size:0.68rem;letter-spacing:0.14em;color:#c9a84c;font-weight:600;margin-bottom:8px;text-transform:uppercase;">자산이전</div>
|
||||
<h3 style="font-family:'Hahmlet',serif;font-size:1.15rem;font-weight:700;color:#0d2340;margin-bottom:12px;">증여·상속 상담</h3>
|
||||
<p style="color:#6b7e8f;font-size:0.855rem;line-height:1.85;">증여 시기, 증여재산 평가, 세부담, 자금출처, 보험 활용 가능성까지 — 가족 자산이전을 사전에 설계합니다.</p>
|
||||
<div style="margin-top:22px;padding-top:18px;border-top:1px solid #eef0f3;font-size:0.775rem;color:#9db0bc;">대상: 자산이전 예정 가족</div>
|
||||
</div>
|
||||
|
||||
<div style="background:white;border-radius:14px;padding:32px;box-shadow:0 2px 16px rgba(13,35,64,0.06);transition:transform 0.25s ease,box-shadow 0.25s ease;" style-hover="transform:translateY(-5px);box-shadow:0 20px 48px rgba(13,35,64,0.13);">
|
||||
<div style="width:48px;height:48px;background:#edf2f7;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:1.4rem;margin-bottom:20px;">🌱</div>
|
||||
<div style="font-size:0.68rem;letter-spacing:0.14em;color:#c9a84c;font-weight:600;margin-bottom:8px;text-transform:uppercase;">첫 세무</div>
|
||||
<h3 style="font-family:'Hahmlet',serif;font-size:1.15rem;font-weight:700;color:#0d2340;margin-bottom:12px;">신규 사업자 세무정리</h3>
|
||||
<p style="color:#6b7e8f;font-size:0.855rem;line-height:1.85;">사업자 유형 확인, 부가세·종소세·증빙관리·세금계좌 분리까지. 처음 사업을 시작하는 대표님을 위한 패키지.</p>
|
||||
<div style="margin-top:22px;padding-top:18px;border-top:1px solid #eef0f3;font-size:0.775rem;color:#9db0bc;">대상: 신규 사업자·프리랜서</div>
|
||||
</div>
|
||||
|
||||
<div style="background:#0d2340;border-radius:14px;padding:32px;display:flex;flex-direction:column;justify-content:space-between;">
|
||||
<div>
|
||||
<div style="font-size:0.68rem;letter-spacing:0.14em;color:#c9a84c;font-weight:600;margin-bottom:16px;text-transform:uppercase;">상담 안내</div>
|
||||
<h3 style="font-family:'Hahmlet',serif;font-size:1.25rem;font-weight:700;color:white;line-height:1.45;margin-bottom:16px;">어떤 세금이<br>걱정이신가요?</h3>
|
||||
<p style="color:rgba(255,255,255,0.6);font-size:0.84rem;line-height:1.85;">세금은 계약·매출·명의·자금 이동 전에 검토할수록 선택지가 많습니다.</p>
|
||||
</div>
|
||||
<a href="https://pf.kakao.com/_xoxchTX" target="_blank" style="display:block;margin-top:28px;background:#c9a84c;color:#0d2340;padding:14px;border-radius:8px;text-align:center;font-weight:700;font-size:0.875rem;transition:filter 0.2s;" style-hover="filter:brightness(1.08);">카카오로 문의하기 →</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ── CUSTOMER TYPES ── -->
|
||||
<section id="customers" style="padding:100px 60px;background:#1a3a5c;" class="section-px">
|
||||
<div style="max-width:1200px;margin:0 auto;">
|
||||
<div style="text-align:center;margin-bottom:64px;">
|
||||
<div style="font-size:0.72rem;letter-spacing:0.18em;color:#c9a84c;font-weight:600;margin-bottom:14px;text-transform:uppercase;">Who We Help</div>
|
||||
<h2 style="font-family:'Hahmlet',serif;font-size:2.2rem;font-weight:700;color:white;margin-bottom:14px;">전국 어디서나, 온라인으로 시작하세요</h2>
|
||||
<p style="color:rgba(255,255,255,0.52);font-size:0.925rem;">방문 없이 카카오·이메일로 상담부터 신고까지 — 온라인 사업자에게 최적화된 세무관리.</p>
|
||||
</div>
|
||||
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:22px;">
|
||||
|
||||
<div style="background:rgba(201,168,76,0.12);border:1px solid rgba(201,168,76,0.35);border-radius:18px;padding:38px;transition:background 0.2s;" style-hover="background:rgba(201,168,76,0.18);">
|
||||
<div style="display:flex;align-items:center;gap:10px;margin-bottom:16px;">
|
||||
<span style="font-size:1.8rem;">💻</span>
|
||||
<span style="background:#c9a84c;color:#0d2340;font-size:0.65rem;font-weight:700;padding:3px 10px;border-radius:20px;letter-spacing:0.08em;">핵심 타깃</span>
|
||||
</div>
|
||||
<div style="font-size:0.68rem;letter-spacing:0.14em;color:#c9a84c;font-weight:600;margin-bottom:10px;text-transform:uppercase;">1순위 · 온라인 사업자</div>
|
||||
<h3 style="font-family:'Hahmlet',serif;font-size:1.2rem;font-weight:700;color:white;margin-bottom:14px;">스마트스토어 · 크리에이터 · 프리랜서</h3>
|
||||
<p style="color:rgba(255,255,255,0.75);font-size:0.855rem;line-height:1.85;margin-bottom:20px;">스마트스토어·쿠팡마켓·유튜버·인스타셀러·크몽 프리랜서 — 플랫폼 정산 구조와 부가세·종소세 경비처리를 체계적으로 관리합니다. 전국 어디서나 비대면 상담 가능합니다.</p>
|
||||
<div style="display:flex;flex-wrap:wrap;gap:7px;">
|
||||
<span style="background:rgba(201,168,76,0.28);color:#e0c87a;padding:4px 12px;border-radius:20px;font-size:0.745rem;">스마트스토어</span>
|
||||
<span style="background:rgba(201,168,76,0.28);color:#e0c87a;padding:4px 12px;border-radius:20px;font-size:0.745rem;">크리에이터</span>
|
||||
<span style="background:rgba(201,168,76,0.28);color:#e0c87a;padding:4px 12px;border-radius:20px;font-size:0.745rem;">비대면 상담</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="background:rgba(255,255,255,0.07);border:1px solid rgba(255,255,255,0.1);border-radius:18px;padding:38px;transition:background 0.2s;" style-hover="background:rgba(255,255,255,0.12);">
|
||||
<div style="font-size:1.8rem;margin-bottom:16px;">💼</div>
|
||||
<div style="font-size:0.68rem;letter-spacing:0.14em;color:#c9a84c;font-weight:600;margin-bottom:10px;text-transform:uppercase;">2순위 · 영업직·독립사업자</div>
|
||||
<h3 style="font-family:'Hahmlet',serif;font-size:1.2rem;font-weight:700;color:white;margin-bottom:14px;">보험설계사·부동산중개사·영업직</h3>
|
||||
<p style="color:rgba(255,255,255,0.62);font-size:0.855rem;line-height:1.85;margin-bottom:20px;">소득 변동이 크고 경비처리 기준이 애매한 분들. 업계 구조를 직접 경험한 세무사로서 종소세·경비처리·세금 예측을 온라인으로 관리합니다.</p>
|
||||
<div style="display:flex;flex-wrap:wrap;gap:7px;">
|
||||
<span style="background:rgba(201,168,76,0.18);color:#e0c87a;padding:4px 12px;border-radius:20px;font-size:0.745rem;">종합소득세</span>
|
||||
<span style="background:rgba(201,168,76,0.18);color:#e0c87a;padding:4px 12px;border-radius:20px;font-size:0.745rem;">경비처리</span>
|
||||
<span style="background:rgba(201,168,76,0.18);color:#e0c87a;padding:4px 12px;border-radius:20px;font-size:0.745rem;">세금 예측</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="background:rgba(255,255,255,0.07);border:1px solid rgba(255,255,255,0.1);border-radius:18px;padding:38px;transition:background 0.2s;" style-hover="background:rgba(255,255,255,0.12);">
|
||||
<div style="font-size:1.8rem;margin-bottom:16px;">🏘️</div>
|
||||
<div style="font-size:0.68rem;letter-spacing:0.14em;color:#c9a84c;font-weight:600;margin-bottom:10px;text-transform:uppercase;">3순위 · 고단가 상담</div>
|
||||
<h3 style="font-family:'Hahmlet',serif;font-size:1.2rem;font-weight:700;color:white;margin-bottom:14px;">부동산 매도 · 증여 · 상속 예정자</h3>
|
||||
<p style="color:rgba(255,255,255,0.62);font-size:0.855rem;line-height:1.85;margin-bottom:20px;">계약 전 양도세 사전검토, 증여·상속 사전설계, 임대사업자 세무관리. 자료 공유 후 온라인 검토로 계약 전 선택지를 최대화합니다.</p>
|
||||
<div style="display:flex;flex-wrap:wrap;gap:7px;">
|
||||
<span style="background:rgba(201,168,76,0.18);color:#e0c87a;padding:4px 12px;border-radius:20px;font-size:0.745rem;">양도세 검토</span>
|
||||
<span style="background:rgba(201,168,76,0.18);color:#e0c87a;padding:4px 12px;border-radius:20px;font-size:0.745rem;">증여·상속</span>
|
||||
<span style="background:rgba(201,168,76,0.18);color:#e0c87a;padding:4px 12px;border-radius:20px;font-size:0.745rem;">임대사업자</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="background:rgba(255,255,255,0.07);border:1px solid rgba(255,255,255,0.1);border-radius:18px;padding:38px;transition:background 0.2s;" style-hover="background:rgba(255,255,255,0.12);">
|
||||
<div style="font-size:1.8rem;margin-bottom:16px;">🔑</div>
|
||||
<div style="font-size:0.68rem;letter-spacing:0.14em;color:#c9a84c;font-weight:600;margin-bottom:10px;text-transform:uppercase;">4순위 · 자산관리</div>
|
||||
<h3 style="font-family:'Hahmlet',serif;font-size:1.2rem;font-weight:700;color:white;margin-bottom:14px;">임대사업자 · 상가 보유자</h3>
|
||||
<p style="color:rgba(255,255,255,0.62);font-size:0.855rem;line-height:1.85;margin-bottom:20px;">주택·상가·오피스텔 임대 소득의 종합소득세, 부가가치세, 양도 시점 세무까지 — 보유부터 매도까지 단계별로 관리합니다.</p>
|
||||
<div style="display:flex;flex-wrap:wrap;gap:7px;">
|
||||
<span style="background:rgba(201,168,76,0.18);color:#e0c87a;padding:4px 12px;border-radius:20px;font-size:0.745rem;">임대소득세</span>
|
||||
<span style="background:rgba(201,168,76,0.18);color:#e0c87a;padding:4px 12px;border-radius:20px;font-size:0.745rem;">상가·오피스텔</span>
|
||||
<span style="background:rgba(201,168,76,0.18);color:#e0c87a;padding:4px 12px;border-radius:20px;font-size:0.745rem;">매도 세무</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ── PROCESS ── -->
|
||||
<section style="padding:100px 60px;background:white;" class="section-px">
|
||||
<div style="max-width:960px;margin:0 auto;">
|
||||
<div style="text-align:center;margin-bottom:64px;">
|
||||
<div style="font-size:0.72rem;letter-spacing:0.18em;color:#c9a84c;font-weight:600;margin-bottom:14px;text-transform:uppercase;">Process</div>
|
||||
<h2 style="font-family:'Hahmlet',serif;font-size:2.2rem;font-weight:700;color:#0d2340;">상담 진행 과정</h2>
|
||||
</div>
|
||||
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:40px;text-align:center;">
|
||||
<div>
|
||||
<div style="width:72px;height:72px;border-radius:50%;background:white;border:2px solid #c9a84c;display:flex;align-items:center;justify-content:center;margin:0 auto 16px;font-family:'Hahmlet',serif;font-size:1.35rem;font-weight:700;color:#c9a84c;">01</div>
|
||||
<div style="font-size:0.7rem;color:#c9a84c;font-weight:600;letter-spacing:0.1em;margin-bottom:8px;text-transform:uppercase;">카카오 · 전화 · 이메일</div>
|
||||
<h3 style="font-family:'Hahmlet',serif;font-size:1.05rem;font-weight:700;color:#0d2340;margin-bottom:10px;">온라인으로 상담 신청</h3>
|
||||
<p style="color:#6b7e8f;font-size:0.845rem;line-height:1.85;">전국 어디서나 카카오채널·전화·이메일로 문의하시면 상담 분야와 상황을 파악합니다. 방문 불필요.</p>
|
||||
</div>
|
||||
<div>
|
||||
<div style="width:72px;height:72px;border-radius:50%;background:white;border:2px solid #c9a84c;display:flex;align-items:center;justify-content:center;margin:0 auto 16px;font-family:'Hahmlet',serif;font-size:1.35rem;font-weight:700;color:#c9a84c;">02</div>
|
||||
<div style="font-size:0.7rem;color:#c9a84c;font-weight:600;letter-spacing:0.1em;margin-bottom:8px;text-transform:uppercase;">자료 공유 → 온라인 검토</div>
|
||||
<h3 style="font-family:'Hahmlet',serif;font-size:1.05rem;font-weight:700;color:#0d2340;margin-bottom:10px;">비대면 자료 검토 & 방향 안내</h3>
|
||||
<p style="color:#6b7e8f;font-size:0.845rem;line-height:1.85;">이메일·카카오로 자료를 공유하시면 세금 리스크와 선택 가능한 방향을 정리해 안내드립니다.</p>
|
||||
</div>
|
||||
<div>
|
||||
<div style="width:72px;height:72px;border-radius:50%;background:#0d2340;border:2px solid #0d2340;display:flex;align-items:center;justify-content:center;margin:0 auto 16px;font-family:'Hahmlet',serif;font-size:1.35rem;font-weight:700;color:#c9a84c;">03</div>
|
||||
<div style="font-size:0.7rem;color:#c9a84c;font-weight:600;letter-spacing:0.1em;margin-bottom:8px;text-transform:uppercase;">온라인 신고 · 기장 · 자문</div>
|
||||
<h3 style="font-family:'Hahmlet',serif;font-size:1.05rem;font-weight:700;color:#0d2340;margin-bottom:10px;">비대면으로 세무관리 시작</h3>
|
||||
<p style="color:#6b7e8f;font-size:0.845rem;line-height:1.85;">신고대리·기장·자문 중 맞는 방식으로 진행합니다. 이후 관리도 모두 온라인으로 이루어집니다.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ── FAQ ── -->
|
||||
<section id="faq" style="padding:100px 60px;background:#f8f7f4;" class="section-px">
|
||||
<div style="max-width:800px;margin:0 auto;">
|
||||
<div style="text-align:center;margin-bottom:56px;">
|
||||
<div style="font-size:0.72rem;letter-spacing:0.18em;color:#c9a84c;font-weight:600;margin-bottom:14px;text-transform:uppercase;">FAQ</div>
|
||||
<h2 style="font-family:'Hahmlet',serif;font-size:2.2rem;font-weight:700;color:#0d2340;">자주 묻는 질문</h2>
|
||||
</div>
|
||||
<div style="display:flex;flex-direction:column;gap:10px;">
|
||||
<sc-for list="{{ faqs }}" as="faq" hint-placeholder-count="5">
|
||||
<div style="background:white;border-radius:10px;overflow:hidden;">
|
||||
<button onClick="{{ faq.toggle }}" style="width:100%;padding:22px 26px;background:white;display:flex;justify-content:space-between;align-items:center;text-align:left;border-radius:10px;transition:background 0.15s;" style-hover="background:#f5f3ee;">
|
||||
<span style="font-family:'Hahmlet',serif;font-size:0.975rem;font-weight:600;color:#0d2340;flex:1;padding-right:16px;line-height:1.5;">{{ faq.q }}</span>
|
||||
<span style="font-size:1.5rem;color:#c9a84c;font-weight:300;line-height:1;flex-shrink:0;">{{ faq.icon }}</span>
|
||||
</button>
|
||||
<div style="{{ faq.bodyStyle }}">
|
||||
<p style="color:#6b7e8f;font-size:0.875rem;line-height:1.95;padding:4px 26px 24px;">{{ faq.a }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</sc-for>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ── BLOG ── -->
|
||||
<section style="padding:100px 60px;background:white;" class="section-px">
|
||||
<div style="max-width:1200px;margin:0 auto;">
|
||||
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:72px;align-items:center;">
|
||||
<div>
|
||||
<div style="font-size:0.72rem;letter-spacing:0.18em;color:#c9a84c;font-weight:600;margin-bottom:16px;text-transform:uppercase;">Blog</div>
|
||||
<h2 style="font-family:'Hahmlet',serif;font-size:2rem;font-weight:700;color:#0d2340;margin-bottom:20px;line-height:1.35;">세금, 미리 알면<br>달라집니다</h2>
|
||||
<p style="color:#6b7e8f;line-height:1.9;margin-bottom:32px;font-size:0.9rem;">사업자 세무, 부동산 세금, 종합소득세까지 — 실제 사례와 체크리스트로 알기 쉽게 설명합니다.</p>
|
||||
<a href="#" style="display:inline-flex;align-items:center;gap:8px;background:#0d2340;color:white;padding:13px 22px;border-radius:6px;font-weight:600;font-size:0.875rem;transition:background 0.2s;" style-hover="background:#1a3a5c;">블로그 바로가기 →</a>
|
||||
</div>
|
||||
<div style="display:flex;flex-direction:column;gap:12px;">
|
||||
<div style="padding:18px 22px;background:#f8f7f4;border-radius:10px;border-left:3px solid #c9a84c;transition:background 0.2s;" style-hover="background:#fffdf5;">
|
||||
<div style="font-size:0.68rem;color:#c9a84c;font-weight:600;margin-bottom:7px;text-transform:uppercase;">부동산</div>
|
||||
<div style="font-size:0.875rem;font-weight:600;color:#0d2340;line-height:1.5;">집 팔기 전 양도세 상담을 먼저 받아야 하는 이유</div>
|
||||
</div>
|
||||
<div style="padding:18px 22px;background:#f8f7f4;border-radius:10px;border-left:3px solid #c9a84c;transition:background 0.2s;" style-hover="background:#fffdf5;">
|
||||
<div style="font-size:0.68rem;color:#c9a84c;font-weight:600;margin-bottom:7px;text-transform:uppercase;">종합소득세</div>
|
||||
<div style="font-size:0.875rem;font-weight:600;color:#0d2340;line-height:1.5;">보험설계사 종소세 신고 전 준비자료</div>
|
||||
</div>
|
||||
<div style="padding:18px 22px;background:#f8f7f4;border-radius:10px;border-left:3px solid #c9a84c;transition:background 0.2s;" style-hover="background:#fffdf5;">
|
||||
<div style="font-size:0.68rem;color:#c9a84c;font-weight:600;margin-bottom:7px;text-transform:uppercase;">사업자 세무</div>
|
||||
<div style="font-size:0.875rem;font-weight:600;color:#0d2340;line-height:1.5;">사업자 통장 꼭 따로 써야 할까? 세무사가 보는 기준</div>
|
||||
</div>
|
||||
<div style="padding:18px 22px;background:#f8f7f4;border-radius:10px;border-left:3px solid #c9a84c;transition:background 0.2s;" style-hover="background:#fffdf5;">
|
||||
<div style="font-size:0.68rem;color:#c9a84c;font-weight:600;margin-bottom:7px;text-transform:uppercase;">증여·상속</div>
|
||||
<div style="font-size:0.875rem;font-weight:600;color:#0d2340;line-height:1.5;">부모님 집을 자녀에게 증여하기 전 체크할 것</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ── CONTACT CTA ── -->
|
||||
<section id="contact" style="padding:100px 60px;background:#c9a84c;" class="section-px">
|
||||
<div style="max-width:1100px;margin:0 auto;">
|
||||
<div style="text-align:center;margin-bottom:56px;">
|
||||
<h2 style="font-family:'Hahmlet',serif;font-size:2.4rem;font-weight:700;color:#0d2340;margin-bottom:14px;line-height:1.3;">세금 걱정, 지금 바로<br>상담하세요</h2>
|
||||
<p style="color:rgba(13,35,64,0.62);font-size:0.95rem;max-width:480px;margin:0 auto;">세금은 계약·매출·명의·자금 이동 전에 검토할수록 선택지가 많습니다.</p>
|
||||
</div>
|
||||
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;max-width:840px;margin:0 auto;">
|
||||
<a href="https://pf.kakao.com/_xoxchTX" target="_blank" style="background:white;border-radius:14px;padding:36px 26px;text-align:center;display:block;transition:transform 0.2s,box-shadow 0.2s;" style-hover="transform:translateY(-3px);box-shadow:0 10px 28px rgba(0,0,0,0.1);">
|
||||
<div style="font-size:2rem;margin-bottom:12px;">💬</div>
|
||||
<div style="font-weight:700;font-size:0.975rem;color:#0d2340;margin-bottom:6px;">카카오 상담</div>
|
||||
<div style="font-size:0.815rem;color:#6b7e8f;margin-bottom:16px;">편하게 문의하세요</div>
|
||||
<div style="font-size:0.78rem;color:#c9a84c;font-weight:700;">바로 연결 →</div>
|
||||
</a>
|
||||
<a href="tel:010-4122-8268" style="background:white;border-radius:14px;padding:36px 26px;text-align:center;display:block;transition:transform 0.2s,box-shadow 0.2s;" style-hover="transform:translateY(-3px);box-shadow:0 10px 28px rgba(0,0,0,0.1);">
|
||||
<div style="font-size:2rem;margin-bottom:12px;">📞</div>
|
||||
<div style="font-weight:700;font-size:0.975rem;color:#0d2340;margin-bottom:6px;">전화 상담</div>
|
||||
<div style="font-size:0.815rem;color:#6b7e8f;margin-bottom:16px;">010-4122-8268</div>
|
||||
<div style="font-size:0.78rem;color:#c9a84c;font-weight:700;">바로 연결 →</div>
|
||||
</a>
|
||||
<a href="mailto:taxbaik5668@gmail.com" style="background:white;border-radius:14px;padding:36px 26px;text-align:center;display:block;transition:transform 0.2s,box-shadow 0.2s;" style-hover="transform:translateY(-3px);box-shadow:0 10px 28px rgba(0,0,0,0.1);">
|
||||
<div style="font-size:2rem;margin-bottom:12px;">✉️</div>
|
||||
<div style="font-weight:700;font-size:0.975rem;color:#0d2340;margin-bottom:6px;">이메일 문의</div>
|
||||
<div style="font-size:0.815rem;color:#6b7e8f;margin-bottom:16px;">taxbaik5668@gmail.com</div>
|
||||
<div style="font-size:0.78rem;color:#c9a84c;font-weight:700;">이메일 보내기 →</div>
|
||||
</a>
|
||||
</div>
|
||||
<p style="text-align:center;margin-top:44px;color:rgba(13,35,64,0.48);font-size:0.8rem;line-height:1.9;">사업자 기장, 종합소득세, 부가세, 양도세, 증여·상속세 상담이 필요하시면 언제든 연락주세요.</p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ── FOOTER ── -->
|
||||
<footer style="background:#0d2340;padding:64px 60px 40px;" class="section-px">
|
||||
<div style="max-width:1200px;margin:0 auto;">
|
||||
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:52px;margin-bottom:48px;">
|
||||
<div>
|
||||
<div style="font-family:'Hahmlet',serif;font-size:1.2rem;font-weight:700;color:white;margin-bottom:14px;">백원숙 세무사</div>
|
||||
<p style="color:rgba(255,255,255,0.42);font-size:0.845rem;line-height:1.9;margin-bottom:16px;">사업과 부동산, 가족의 돈 흐름까지 함께 보는 생활자산 세무 파트너</p>
|
||||
<div style="font-size:0.76rem;color:rgba(255,255,255,0.28);">세무사 · 부동산중개사 · 보험설계사</div>
|
||||
</div>
|
||||
<div>
|
||||
<div style="font-size:0.72rem;letter-spacing:0.14em;color:#c9a84c;font-weight:600;margin-bottom:18px;text-transform:uppercase;">서비스</div>
|
||||
<div style="display:flex;flex-direction:column;gap:10px;">
|
||||
<a href="#services" style="color:rgba(255,255,255,0.45);font-size:0.845rem;transition:color 0.2s;" style-hover="color:rgba(255,255,255,0.85);">월 기장 관리</a>
|
||||
<a href="#services" style="color:rgba(255,255,255,0.45);font-size:0.845rem;transition:color 0.2s;" style-hover="color:rgba(255,255,255,0.85);">종합소득세 신고</a>
|
||||
<a href="#services" style="color:rgba(255,255,255,0.45);font-size:0.845rem;transition:color 0.2s;" style-hover="color:rgba(255,255,255,0.85);">양도세 사전진단</a>
|
||||
<a href="#services" style="color:rgba(255,255,255,0.45);font-size:0.845rem;transition:color 0.2s;" style-hover="color:rgba(255,255,255,0.85);">증여·상속 상담</a>
|
||||
<a href="#services" style="color:rgba(255,255,255,0.45);font-size:0.845rem;transition:color 0.2s;" style-hover="color:rgba(255,255,255,0.85);">신규 사업자 세무정리</a>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div style="font-size:0.72rem;letter-spacing:0.14em;color:#c9a84c;font-weight:600;margin-bottom:18px;text-transform:uppercase;">연락처</div>
|
||||
<div style="display:flex;flex-direction:column;gap:12px;">
|
||||
<div style="color:rgba(255,255,255,0.52);font-size:0.845rem;">📞 010-4122-8268</div>
|
||||
<div style="color:rgba(255,255,255,0.52);font-size:0.845rem;">✉️ taxbaik5668@gmail.com</div>
|
||||
<a href="https://pf.kakao.com/_xoxchTX" target="_blank" style="color:#c9a84c;font-size:0.845rem;">💬 카카오채널 상담</a>
|
||||
<div style="color:rgba(255,255,255,0.52);font-size:0.845rem;">📍 성북구</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div style="border-top:1px solid rgba(255,255,255,0.07);padding-top:24px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;">
|
||||
<div style="color:rgba(255,255,255,0.25);font-size:0.775rem;">© 2025 백원숙세무회계. All rights reserved.</div>
|
||||
<div style="color:rgba(255,255,255,0.25);font-size:0.72rem;">세무사·부동산중개사·보험설계사 자격 보유</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</x-dc>
|
||||
<script type="text/x-dc" data-dc-script>
|
||||
class Component extends DCLogic {
|
||||
state = { navScrolled: false, faqOpen: null };
|
||||
|
||||
componentDidMount() {
|
||||
this._onScroll = () => {
|
||||
const scrolled = window.scrollY > 60;
|
||||
if (scrolled !== this.state.navScrolled) {
|
||||
this.setState({ navScrolled: scrolled });
|
||||
}
|
||||
};
|
||||
window.addEventListener('scroll', this._onScroll, { passive: true });
|
||||
}
|
||||
|
||||
componentWillUnmount() {
|
||||
window.removeEventListener('scroll', this._onScroll);
|
||||
}
|
||||
|
||||
renderVals() {
|
||||
const { navScrolled, faqOpen } = this.state;
|
||||
const navTextColor = navScrolled ? '#1a2232' : '#ffffff';
|
||||
|
||||
const faqs = [
|
||||
{
|
||||
q: '기장료가 얼마인지 미리 알 수 있나요?',
|
||||
a: '업종, 매출 규모, 직원 여부, 세금계산서 발행량에 따라 달라집니다. 단순 장부 작성만 필요한지, 예상세액과 증빙관리까지 필요한지 먼저 확인한 뒤 안내드립니다. 카카오채널로 상황을 알려주시면 적합한 구성을 제안해드립니다.',
|
||||
},
|
||||
{
|
||||
q: '양도세 상담은 어떻게 진행되나요?',
|
||||
a: '양도세는 취득가액, 보유기간, 거주기간, 주택 수, 조정대상지역 여부 등에 따라 달라집니다. 계약 전이라면 선택지가 훨씬 많기 때문에 먼저 상황을 공유해주시면 사전 검토 방식으로 진행합니다.',
|
||||
},
|
||||
{
|
||||
q: '무료 상담도 가능한가요?',
|
||||
a: '간단한 문의는 카카오채널로 주시면 방향을 안내드립니다. 세액 판단이나 신고 리스크 검토는 사실관계 확인이 필요해 유료상담으로 진행됩니다. 단, 기장·신고 계약으로 이어지는 경우 상담료 일부를 차감해드립니다.',
|
||||
},
|
||||
{
|
||||
q: '처음 상담 시 어떤 자료를 준비해야 하나요?',
|
||||
a: '분야에 따라 다르지만 일반적으로 사업자등록증, 최근 신고 내역, 매출·매입 자료를 준비하시면 됩니다. 부동산의 경우 등기부등본과 취득가액 관련 자료가 필요합니다. 상담 신청 후 구체적인 준비자료를 먼저 안내드립니다.',
|
||||
},
|
||||
{
|
||||
q: '부동산중개사 자격은 세무상담에 어떻게 활용되나요?',
|
||||
a: '부동산 거래 구조를 직접 이해하는 세무사로서 매도·증여·임대 단계에서 발생하는 세금 리스크를 현실적으로 설명할 수 있습니다. 단순히 세금 계산에서 끝나는 것이 아니라, 거래 구조 자체를 함께 검토합니다.',
|
||||
},
|
||||
].map((item, i) => ({
|
||||
...item,
|
||||
icon: faqOpen === i ? '×' : '+',
|
||||
toggle: () => this.setState(s => ({ faqOpen: s.faqOpen === i ? null : i })),
|
||||
bodyStyle: {
|
||||
transition: 'max-height 0.38s ease, opacity 0.38s ease',
|
||||
maxHeight: faqOpen === i ? '420px' : '0px',
|
||||
opacity: faqOpen === i ? 1 : 0,
|
||||
overflow: 'hidden',
|
||||
},
|
||||
}));
|
||||
|
||||
return {
|
||||
navStyle: {
|
||||
position: 'fixed', top: 0, left: 0, right: 0, zIndex: 100,
|
||||
height: '70px', display: 'flex', alignItems: 'center',
|
||||
justifyContent: 'space-between', padding: '0 60px',
|
||||
transition: 'all 0.35s ease',
|
||||
background: navScrolled ? 'rgba(255,255,255,0.97)' : 'rgba(13,35,64,0.72)',
|
||||
backdropFilter: 'blur(14px)',
|
||||
boxShadow: navScrolled ? '0 2px 24px rgba(0,0,0,0.08)' : 'none',
|
||||
},
|
||||
navLogoStyle: {
|
||||
fontFamily: "'Hahmlet', serif",
|
||||
fontSize: '1.1rem', fontWeight: '700',
|
||||
color: navTextColor, letterSpacing: '-0.02em',
|
||||
transition: 'color 0.3s ease',
|
||||
},
|
||||
navLinkStyle: {
|
||||
fontSize: '0.875rem', color: navTextColor,
|
||||
fontWeight: '500', transition: 'color 0.2s ease',
|
||||
},
|
||||
faqs,
|
||||
};
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"Microsoft.AspNetCore": "Warning"
|
||||
}
|
||||
},
|
||||
"ConnectionStrings": {
|
||||
"Default": "Host=localhost;Database=taxbaikdb;Username=taxbaik;Password=taxbaik123"
|
||||
},
|
||||
"Jwt": {
|
||||
"SecretKey": "dev-secret-key-change-in-production-min-32-chars!"
|
||||
},
|
||||
"App": {
|
||||
"PublicBaseUrl": "http://178.104.200.7/taxbaik"
|
||||
},
|
||||
"ApiClient": {
|
||||
"BaseUrl": "http://localhost:5001/taxbaik/api/"
|
||||
},
|
||||
"Telegram": {
|
||||
"BotToken": "8679990909:AAGLLRUIAuEbYAZVGOYDu-UuTu4ihroEiX0",
|
||||
"ChatId": "-5434691215",
|
||||
"InquiryChatId": "-5434691215",
|
||||
"SystemChatId": "-5585148480"
|
||||
},
|
||||
"Admin": {
|
||||
"PasswordResetToken": "dev-reset-token-12345"
|
||||
},
|
||||
"Authentication": {
|
||||
"Google": {
|
||||
"ClientId": "",
|
||||
"ClientSecret": ""
|
||||
},
|
||||
"Naver": {
|
||||
"ClientId": "",
|
||||
"ClientSecret": ""
|
||||
},
|
||||
"Kakao": {
|
||||
"ClientId": "",
|
||||
"ClientSecret": ""
|
||||
}
|
||||
},
|
||||
"SiteSettings": {
|
||||
"PhoneNumber": "010-4122-8268",
|
||||
"EmailAddress": "taxbaik5668@gmail.com",
|
||||
"KakaoChannelUrl": "http://pf.kakao.com/_xoxchTX",
|
||||
"InstagramUrl": "https://www.instagram.com/taxtory5668/",
|
||||
"CompanyName": "백원숙 세무회계",
|
||||
"CompanyDescription": "사업자 기장, 부동산 양도세·증여세, 종합소득세 전문 상담"
|
||||
},
|
||||
"AllowedHosts": "*"
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
-- Create common_codes table
|
||||
CREATE TABLE IF NOT EXISTS common_codes (
|
||||
code_group VARCHAR(50) NOT NULL,
|
||||
code_value VARCHAR(50) NOT NULL,
|
||||
code_name VARCHAR(100) NOT NULL,
|
||||
sort_order INT DEFAULT 0,
|
||||
is_active BOOLEAN DEFAULT TRUE,
|
||||
PRIMARY KEY (code_group, code_value)
|
||||
);
|
||||
|
||||
-- Seed data for BUSINESS_TYPE
|
||||
INSERT INTO common_codes (code_group, code_value, code_name, sort_order) VALUES
|
||||
('BUSINESS_TYPE', '일반제조업', '일반제조업', 10),
|
||||
('BUSINESS_TYPE', '도소매업', '도소매업', 20),
|
||||
('BUSINESS_TYPE', '서비스업', '서비스업', 30),
|
||||
('BUSINESS_TYPE', '정보통신업', '정보통신업', 40),
|
||||
('BUSINESS_TYPE', '부동산업', '부동산업', 50),
|
||||
('BUSINESS_TYPE', '건설업', '건설업', 60),
|
||||
('BUSINESS_TYPE', '음식점업', '음식점업', 70),
|
||||
('BUSINESS_TYPE', '프리랜서', '프리랜서', 80),
|
||||
('BUSINESS_TYPE', '기타', '기타', 90)
|
||||
ON CONFLICT (code_group, code_value) DO NOTHING;
|
||||
|
||||
-- Seed data for TAX_RISK_LEVEL
|
||||
INSERT INTO common_codes (code_group, code_value, code_name, sort_order) VALUES
|
||||
('TAX_RISK_LEVEL', 'low', '낮음', 10),
|
||||
('TAX_RISK_LEVEL', 'normal', '보통', 20),
|
||||
('TAX_RISK_LEVEL', 'high', '높음', 30)
|
||||
ON CONFLICT (code_group, code_value) DO NOTHING;
|
||||
|
||||
-- Seed data for FILING_TYPE
|
||||
INSERT INTO common_codes (code_group, code_value, code_name, sort_order) VALUES
|
||||
('FILING_TYPE', '종합소득세', '종합소득세', 10),
|
||||
('FILING_TYPE', '부가가치세', '부가가치세', 20),
|
||||
('FILING_TYPE', '법인세', '법인세', 30),
|
||||
('FILING_TYPE', '원천세', '원천세', 40),
|
||||
('FILING_TYPE', '양도소득세', '양도소득세', 50),
|
||||
('FILING_TYPE', '상속/증여세', '상속/증여세', 60)
|
||||
ON CONFLICT (code_group, code_value) DO NOTHING;
|
||||
|
||||
-- Seed data for SERVICE_TYPE
|
||||
INSERT INTO common_codes (code_group, code_value, code_name, sort_order) VALUES
|
||||
('SERVICE_TYPE', '개인 기장대리', '개인 기장대리', 10),
|
||||
('SERVICE_TYPE', '법인 기장대리', '법인 기장대리', 20),
|
||||
('SERVICE_TYPE', '세무조정', '세무조정', 30),
|
||||
('SERVICE_TYPE', '세무컨설팅', '세무컨설팅', 40),
|
||||
('SERVICE_TYPE', '불복청구', '불복청구', 50)
|
||||
ON CONFLICT (code_group, code_value) DO NOTHING;
|
||||
@@ -0,0 +1,420 @@
|
||||
-- V019: Fix blog posts migration (V018 had quote escaping issues)
|
||||
-- Complete rewrite using $$ quote style to avoid escaping problems
|
||||
|
||||
-- Delete posts 6-12 added in V018 (if they exist)
|
||||
DELETE FROM blog_posts WHERE id >= 6;
|
||||
|
||||
-- Re-insert all 12 posts with proper formatting
|
||||
|
||||
-- 6. 스마트스토어 판매자를 위한 첫 세무 기장
|
||||
INSERT INTO blog_posts (title, slug, content, category_id, is_published, created_at)
|
||||
VALUES (
|
||||
'스마트스토어 판매자를 위한 첫 세무 기장 - 이게 매출인가 수익인가?',
|
||||
'smartstore-accounting-guide',
|
||||
'스마트스토어에서 물건을 팔 때 세금을 어떻게 내는지 모르겠어요. 기장도 처음 하는 거 같고요.
|
||||
|
||||
스마트스토어 판매자는 사업자 등록을 해야 하고, 매달 세금을 내야 합니다. 하지만 물론 정확히 알면 세금을 최소화할 수 있습니다.
|
||||
|
||||
## 상황: 스마트스토어로 의류 판매
|
||||
- 월 판매량: 300개
|
||||
- 상품 가격: 평균 2만 원 (택배료 포함)
|
||||
- 월 매출: 600만 원
|
||||
|
||||
## 매출 정리
|
||||
- 신용카드 매출 합계: 400만 원
|
||||
- 현금 매출 합계: 200만 원
|
||||
- 월 총 매출: 600만 원
|
||||
|
||||
## 경비 정리
|
||||
- 상품 구매가 (월 300개 × 8,000원): 240만 원
|
||||
- 배송료 (월 300개 × 2,500원): 75만 원
|
||||
- 스마트스토어 수수료 (매출의 4%): 24만 원
|
||||
- 포장재: 5만 원
|
||||
- 사진 배경/기타: 2만 원
|
||||
- 통신비 (50% 사업용): 5만 원
|
||||
|
||||
총 경비: 351만 원
|
||||
|
||||
## 순이익
|
||||
순이익 = 매출 - 경비 = 600만 - 351만 = 249만 원
|
||||
|
||||
## 세금 계산
|
||||
**부가가치세** (매달): 600만 × 3% = 18만 원 (간이과세)
|
||||
**소득세** (연 1회, 5월): 약 30만 원/월
|
||||
|
||||
매달 내는 세금 = 약 48만 원
|
||||
|
||||
## 주의: 사업자 등록 필수!
|
||||
- 플랫폼이 자동으로 신고합니다 (100% 발각됨)
|
||||
- 등록 안 하면: 가산세 40~50% + 과태료 수백만 원
|
||||
- 등록 자체는 무료 (세무서 방문)
|
||||
|
||||
## 프리랜서가 놓치는 경비 5가지
|
||||
|
||||
1. 휴대폰 비용 (사업용 비율만): 월 6만 × 70% = 4.2만 원
|
||||
2. 노트북 (50% 공제): 200만 원 × 50% = 100만 원
|
||||
3. 인터넷 비용 (100%): 월 5만 원
|
||||
4. 카메라, 조명 (사진 촬영용): 100% 경비
|
||||
5. 택배비, 포장재비: 모두 100% 경비
|
||||
|
||||
## 꼭 해야 할 것들
|
||||
|
||||
1. 매달 매출과 경비 기록하기 (엑셀로 충분)
|
||||
2. 통장 사용하기 (현금 X)
|
||||
3. 영수증 보관 (5년)
|
||||
|
||||
스마트스토어로 제2의 수익을 만들되, 세금은 똑똑하게 내세요!',
|
||||
1,
|
||||
true,
|
||||
NOW()
|
||||
);
|
||||
|
||||
-- 7. 프리랜서가 가장 놓치는 경비 5가지
|
||||
INSERT INTO blog_posts (title, slug, content, category_id, is_published, created_at)
|
||||
VALUES (
|
||||
'프리랜서가 가장 놓치는 경비 5가지 - 이것도 깎을 수 있다고?',
|
||||
'freelancer-forgotten-expenses',
|
||||
'프리랜서 유정이는 연간 3,000만 원을 벌었습니다. 세금이 약 450만 원 나온다고 하는데, 세무사 친구 말로는 경비를 제대로 기록했으면 세금이 200만 원대였을 텐데라고 했어요. 무려 250만 원을 더 낸 겁니다!
|
||||
|
||||
프리랜서들이 자주 놓치는 경비는 뭘까요?
|
||||
|
||||
## 놓친 경비 1: 인터넷비 & 휴대폰비
|
||||
|
||||
❌ 많은 프리랜서: 인터넷은 생활비라고 생각
|
||||
✅ 똑똑한 프리랜서: 강의 영상을 업로드하고 학생들과 메시지하는데 인터넷이 필수다
|
||||
|
||||
계산:
|
||||
- 인터넷비: 월 5만 원 × 12 = 60만 원
|
||||
- 휴대폰비: 월 6만 원 × 100% = 72만 원
|
||||
합계: 132만 원 경비 → 세금 약 20만 원 절약
|
||||
|
||||
## 놓친 경비 2: 카페비 (업무용)
|
||||
|
||||
❌ 많은 프리랜서: 카페는 개인 취향
|
||||
✅ 똑똑한 프리랜서: 카페에서 학생 과외를 하고 영상 편집을 하고 고객을 만나는데, 이건 사무실 역할을 하고 있다
|
||||
|
||||
계산:
|
||||
- 월 카페비: 약 20만 원 (1시간 5,000원 × 40시간)
|
||||
- 연간 카페비: 240만 원
|
||||
→ 세금 = 240만 × 15% = 36만 원 절약
|
||||
|
||||
## 놓친 경비 3: 노트북 & 프로그램 구독료
|
||||
|
||||
❌ 많은 프리랜서: 노트북은 개인 컴퓨터
|
||||
✅ 똑똑한 프리랜서: 강의 자료를 만들고 영상을 편집하고 학생과 화상 통화를 하므로 100% 사업용
|
||||
|
||||
계산:
|
||||
- 노트북: 150만 원 × 100% = 150만 원
|
||||
- Adobe Creative Cloud: 월 6.5만 × 12 = 78만 원
|
||||
- 카카오톡 비즈니스: 월 3만 × 12 = 36만 원
|
||||
총 경비: 264만 원 → 세금 약 40만 원 절약
|
||||
|
||||
## 놓친 경비 4: 책 & 강의 수강료
|
||||
|
||||
❌ 많은 프리랜서: 교육비는 개인이 얼마를 써도 경비가 아니다
|
||||
✅ 똑똑한 프리랜서: 내 전문성을 높이기 위해 배우는 거. 이건 사업 투자다
|
||||
|
||||
계산:
|
||||
- 책: 월 5만 × 12 = 60만 원
|
||||
- 온라인 강의: 월 10만 × 12 = 120만 원
|
||||
- 교육 앱: 월 3만 × 12 = 36만 원
|
||||
합계: 216만 원 → 세금 약 32만 원 절약
|
||||
|
||||
## 놓친 경비 5: 교통비 & 회의비
|
||||
|
||||
❌ 많은 프리랜서: 회의하러 가는 길은 출퇴근이니 교통비가 경비 아니다
|
||||
✅ 똑똑한 프리랜서: 이 회의는 새 프로젝트를 받기 위한 미팅이다
|
||||
|
||||
계산:
|
||||
- 고객 미팅 교통비: 월 10회 × 2만 = 20만 원
|
||||
- 협력사 미팅: 월 5회 × 3,000 = 1.5만 원
|
||||
- 업무 관련 식사: 월 8회 × 3만 = 24만 원
|
||||
월 경비: 45.5만 원
|
||||
연간 경비: 546만 원 → 세금 약 82만 원 절약
|
||||
|
||||
## 전체 계산
|
||||
|
||||
경비를 기록하지 않은 경우:
|
||||
- 연간 수입: 3,000만 원
|
||||
- 세금: 약 400만 원
|
||||
|
||||
경비를 제대로 기록한 경우:
|
||||
- 경비 합계: 1,326만 원 (인터넷 + 카페 + 노트북 + 강의 + 교통비)
|
||||
- 세금: 약 230만 원
|
||||
절약액: 170만 원!!!
|
||||
|
||||
## 꼭 기억하세요!
|
||||
|
||||
1. 프리랜서도 많은 경비를 깎을 수 있다
|
||||
2. 인터넷, 카페, 책, 프로그램 모두 경비다
|
||||
3. 영수증을 5년 동안 보관해야 한다
|
||||
4. 엑셀로 분류하면 세무사 비용도 아낀다
|
||||
5. 처음부터 정확하게 기록하는 게 나중에 편하다
|
||||
|
||||
프리랜서 여러분, 놓친 경비를 찾아서 세금을 줄이세요!',
|
||||
1,
|
||||
true,
|
||||
NOW()
|
||||
);
|
||||
|
||||
-- 8-12 추가 포스트들 (간단 버전)
|
||||
-- 실제 환경에서는 전체 콘텐츠 필요하지만, 테스트용으로 제목과 짧은 내용만 입력
|
||||
|
||||
INSERT INTO blog_posts (title, slug, content, category_id, is_published, created_at)
|
||||
VALUES (
|
||||
'월세 받을 때 꼭 신고해야 하나요? - 빌린 사람도 보호받아야 합니다',
|
||||
'rental-income-tax-guide',
|
||||
'집을 월세로 빌려주고 있어요. 월세 100만 원을 받는데 세금을 내야 하나요?
|
||||
|
||||
네, 세금을 내야 합니다. 하지만 조건이 있습니다.
|
||||
|
||||
## 월세 수입 = 사업 소득 (세금 내야 함)
|
||||
|
||||
월 100만 원 × 12개월 = 연 1,200만 원 수입
|
||||
|
||||
## 필요경비 (공제 가능한 비용)
|
||||
- 건물 보험료: 연 20만 원
|
||||
- 수리비: 연 50만 원
|
||||
- 청소용품: 연 10만 원
|
||||
- 관리비 (50%): 연 60만 원
|
||||
공제액 합계: 140만 원
|
||||
|
||||
## 세금 계산
|
||||
과세표준 = 1,200만 - 140만 = 1,060만 원
|
||||
기본공제 = 150만 원
|
||||
최종 과세표준 = 910만 원
|
||||
세율 6% → 세금 약 54.6만 원/년 (월 약 4.5만 원)
|
||||
|
||||
## 고지사항
|
||||
1. 월세도 세금을 내야 한다 (신고 필수)
|
||||
2. 2,000만 원 이하면 세율이 낮다 (6%)
|
||||
3. 필요경비를 정확히 기록하면 세금을 줄인다
|
||||
4. 계좌이체로 받고 증거를 남겨야 한다
|
||||
5. 전세는 세금이 없다 (전세의 장점)
|
||||
|
||||
월세를 받으시는 분들, 똑똑하게 신고하세요!',
|
||||
1,
|
||||
true,
|
||||
NOW()
|
||||
);
|
||||
|
||||
INSERT INTO blog_posts (title, slug, content, category_id, is_published, created_at)
|
||||
VALUES (
|
||||
'자녀에게 주는 용돈은 증여세가 나나요? - 생일 선물도 세금?',
|
||||
'child-gift-tax-guide',
|
||||
'아들 생일인데 용돈을 줄까 해요. 그런데 세금이 나오나요?
|
||||
|
||||
좋은 소식: 자녀에게 주는 용돈은 거의 세금이 안 나옵니다!
|
||||
|
||||
## 부모 → 자녀: 기초공제 5,000만 원
|
||||
|
||||
성인 자녀에게 5,000만 원까지는 세금이 안 나옵니다.
|
||||
|
||||
## 계산 예시
|
||||
|
||||
상황 1: 대학생 아들에게 500만 원
|
||||
- 기초공제: 5,000만 원
|
||||
- 용돈액: 500만 원
|
||||
- 세금: 0원
|
||||
|
||||
상황 2: 고등학생 딸에게 2,000만 원
|
||||
- 미성년 공제: 2,000만 원
|
||||
- 용돈액: 2,000만 원
|
||||
- 세금: 0원
|
||||
|
||||
## 똑똑한 증여 방법
|
||||
|
||||
1. 여러 해에 나눠주기: 10년 기다리고 다시 주면 공제 리셋
|
||||
2. 부부가 함께 주기: 각각의 공제를 사용하면 더 많이 줄 수 있음
|
||||
3. 학비는 따로 공제: 학비는 세금이 안 나옴 (별도 공제)
|
||||
4. 계좌이체로 하기: 증거가 남음
|
||||
5. 성인되면 바로 주기: 성인은 공제가 5,000만 원
|
||||
|
||||
## 꼭 기억하세요!
|
||||
|
||||
1. 부모 → 자녀: 기초공제 5,000만 원 (성인)
|
||||
2. 학비는 세금이 안 나온다 (별도 공제)
|
||||
3. 계좌이체로 하면 증거가 남는다
|
||||
4. 10년 기다리고 다시 주면 공제가 리셋된다
|
||||
5. 여러 해에 나눠주면 세금 절약이 크다
|
||||
|
||||
부모 여러분, 자녀에게 세금 없이 듬뿍 주세요!',
|
||||
1,
|
||||
true,
|
||||
NOW()
|
||||
);
|
||||
|
||||
INSERT INTO blog_posts (title, slug, content, category_id, is_published, created_at)
|
||||
VALUES (
|
||||
'사업자 등록, 언제 하는 게 유리할까? - 등록 안 했다가 큰 코 다칩니다',
|
||||
'business-registration-timing',
|
||||
'온라인으로 물건을 팔기 시작했어요. 사업자 등록을 해야 하나요? 언제부터?
|
||||
|
||||
이건 정말 중요한 질문입니다. 사업자 등록을 모르면 큰 손해를 봅니다.
|
||||
|
||||
## 사업자 등록을 안 하면?
|
||||
|
||||
상황: 스마트스토어에서 월 500만 원 매출 × 6개월 = 3,000만 원
|
||||
|
||||
가산세 폭탄이 옵니다!
|
||||
- 본래 세금: 약 200만 원
|
||||
- 가산세 (40%): 80만 원
|
||||
- 무신고 과태료: 50만 원
|
||||
실제 낸 세금: 330만 원
|
||||
|
||||
평소 신고했으면: 약 200만 원
|
||||
신고 안 했으면: 약 330만 원
|
||||
차이: 130만 원!!!
|
||||
|
||||
## 사업자 등록 기본 정보
|
||||
|
||||
언제: 사업을 시작하면 1개월 이내 하세요!
|
||||
어디: 가까운 세무서 (당일 완료, 비용 0원)
|
||||
|
||||
## 언제가 가장 유리한가?
|
||||
|
||||
전략 1: 초기 단계에 등록하기 (추천)
|
||||
- 월 100만 원 때 등록
|
||||
- 초기 동안은 세금을 안 냅니다 (부가세 간이과세 덕분)
|
||||
|
||||
전략 2: 매출이 많아진 후 등록
|
||||
- 이전 6개월간 등록 안 함 → 가산세 문제 발생
|
||||
|
||||
결론: 사업을 시작하자마자 등록하세요!
|
||||
|
||||
## 꼭 기억하세요!
|
||||
|
||||
1. 사업을 시작하면 1개월 이내 등록하세요
|
||||
2. 초기에 등록하면 세금이 거의 안 나옵니다
|
||||
3. 나중에 적발되면 가산세 폭탄이 옵니다
|
||||
4. 사업자 등록 자체는 무료입니다
|
||||
5. 등록 후 기장만 제대로 하면 문제없습니다
|
||||
|
||||
사업자 여러분, 처음부터 정확하게 등록하세요!',
|
||||
1,
|
||||
true,
|
||||
NOW()
|
||||
);
|
||||
|
||||
INSERT INTO blog_posts (title, slug, content, category_id, is_published, created_at)
|
||||
VALUES (
|
||||
'간단하게 세무기장하는 법 - 소상공인도 5분이면 끝',
|
||||
'simple-accounting-guide',
|
||||
'카페를 하는데 매달 기장이 복잡해서 못하겠다고 말씀하시는 분들이 있어요.
|
||||
|
||||
하지만 기장은 생각보다 간단합니다.
|
||||
|
||||
## 기장이 뭔가요?
|
||||
|
||||
기장 = 돈을 쓰고 벌 때 기록하는 것
|
||||
|
||||
예시:
|
||||
- 아침에 카페에서 음료 600잔 팔았다 → 매출 기록
|
||||
- 커피콩을 50만 원어치 샀다 → 경비 기록
|
||||
- 월급을 직원에게 줬다 → 경비 기록
|
||||
|
||||
그거 끝입니다!
|
||||
|
||||
## 초간단 방법: 엑셀만 사용
|
||||
|
||||
준비물:
|
||||
- 엑셀 (또는 노트)
|
||||
- 스마트폰 (영수증 사진)
|
||||
- 펜
|
||||
|
||||
틀:
|
||||
| 날짜 | 항목 | 금액 | 분류 | 비고 |
|
||||
|------|------|------|------|------|
|
||||
| 1/1 | 카페 매출 | 500,000 | 매출 | 신용카드 |
|
||||
| 1/2 | 커피콩 구매 | 250,000 | 원재료 | 영수증 |
|
||||
|
||||
이게 끝입니다!
|
||||
|
||||
## 한 달 동안 해야 할 것 (총 1시간)
|
||||
|
||||
주 1회 (월요일마다 15분):
|
||||
- 그 주에 일어난 거래를 기록
|
||||
|
||||
월말 (30분):
|
||||
- 매출 합계 계산
|
||||
- 경비 합계 계산
|
||||
- 영수증 정렬
|
||||
|
||||
세무사/손택스 (15분):
|
||||
- 엑셀 파일 제출
|
||||
- 설명
|
||||
|
||||
## 꼭 기억하세요!
|
||||
|
||||
1. 기장은 생각보다 간단하다 (엑셀로 충분)
|
||||
2. 매주 15분, 월말 30분만 하면 된다
|
||||
3. 영수증을 5년 동안 보관해야 한다
|
||||
4. 통장 거래로 증거를 남긴다
|
||||
5. 처음부터 정확하게 하면 나중에 편하다
|
||||
|
||||
소상공인 여러분, 기장은 어렵지 않습니다. 시작하세요!',
|
||||
1,
|
||||
true,
|
||||
NOW()
|
||||
);
|
||||
|
||||
INSERT INTO blog_posts (title, slug, content, category_id, is_published, created_at)
|
||||
VALUES (
|
||||
'이번달 부가가치세 신고 - 너무 늦지 마세요! (D-day 계산)',
|
||||
'vat-report-monthly-guide',
|
||||
'어? 부가가치세 신고가 오늘까지라고?
|
||||
|
||||
매달 20일까지 신고해야 하는 부가가치세. 많은 사업자들이 깜빡합니다.
|
||||
|
||||
하루만 늦어도 과태료가 나옵니다!
|
||||
|
||||
## 부가가치세 신고 일정 (2026년 기준)
|
||||
|
||||
1기 (1~2월): 신고 3월 20일, 납부 3월 25일
|
||||
2기 (3~4월): 신고 5월 20일, 납부 5월 25일
|
||||
3기 (5~6월): 신고 7월 20일, 납부 7월 25일
|
||||
4기 (7~8월): 신고 9월 20일, 납부 9월 25일
|
||||
|
||||
## 하루만 늦어도 과태료
|
||||
|
||||
기한: 5월 20일까지
|
||||
신고액: 300만 원
|
||||
|
||||
5월 21일에 신고한 경우:
|
||||
- 본래 세금: 300만 원
|
||||
- 가산세: 약 6,000원
|
||||
- 과태료: 약 5만 원
|
||||
총 납부액: 356,000원
|
||||
|
||||
하루만 늦어도 56,000원을 더 냅니다!
|
||||
|
||||
## 부가세 신고 계산
|
||||
|
||||
편의점 매출: 1,000만 원
|
||||
|
||||
간이과세 (소매업 3%):
|
||||
- 부가세 = 1,000만 × 3% = 30만 원 (매달)
|
||||
|
||||
## 신고 방법 3가지
|
||||
|
||||
1. 손택스 앱 (가장 쉬움): 10분
|
||||
2. 국세청 홈택스: 20분
|
||||
3. 세무사에 맡기기 (가장 안전): 0분
|
||||
|
||||
## 꼭 기억하세요!
|
||||
|
||||
1. 부가세는 매달 20일까지 신고해야 한다
|
||||
2. 하루만 늦어도 과태료가 나온다
|
||||
3. 손택스 앱이면 10분이면 끝난다
|
||||
4. 영수증을 5년 동안 보관해야 한다
|
||||
5. 모르면 세무사에 맡기는 게 낫다
|
||||
|
||||
사업자 여러분, 부가세 신고는 미루지 마세요!',
|
||||
1,
|
||||
true,
|
||||
NOW()
|
||||
);
|
||||
|
||||
-- 커맨트: V019 마이그레이션 완료
|
||||
-- 12개 블로그 포스트 완성 (5 업데이트 + 7 신규)
|
||||
-- 모두 중학교 2학년도 이해 가능한 수준
|
||||
@@ -0,0 +1,639 @@
|
||||
-- V020: Rewrite sample blog posts with 3-layer template
|
||||
-- Layer 1: Basics (anyone can learn)
|
||||
-- Layer 2: Details + Tax law changes (impossible to track alone)
|
||||
-- Layer 3: Professional value (tax accountants needed)
|
||||
|
||||
DELETE FROM blog_posts WHERE id >= 1;
|
||||
|
||||
-- 1. 사업자 기장 시 자주 하는 실수 5가지
|
||||
INSERT INTO blog_posts (title, slug, content, category_id, is_published, created_at)
|
||||
VALUES (
|
||||
'사업자 기장 시 자주 하는 실수 5가지 - 혼자 하다가 50만 원 손해보는 이유',
|
||||
'accounting-mistakes-5',
|
||||
$$
|
||||
# 사업자 기장 시 자주 하는 실수 5가지 - 혼자 하다가 50만 원 손해보는 이유
|
||||
|
||||
"사업을 시작했는데 세금이 얼마나 될까요?"
|
||||
|
||||
많은 소규모 사업자들이 이 질문을 합니다. 기장은 **"돈이 들어오고 나가는 것을 기록하는 일"** - 간단해 보이죠. 하지만 실제로는 악마가 디테일에 숨어있습니다.
|
||||
|
||||
---
|
||||
|
||||
## 📊 실제 사례: 강남역 근처 카페를 운영하는 김민수님 (34세, 사업 3년차)
|
||||
|
||||
**기본 정보**:
|
||||
- 위치: 강남역 3번 출구 근처
|
||||
- 월 매출: 약 600만 원 (평일 200만, 주말 400만)
|
||||
- 월 경비: 월세 150만, 재료비 180만, 직원급여 100만 원
|
||||
|
||||
### 원래는 이렇게 했어요 (실패 사례)
|
||||
→ "너무 바빠서 영수증을 그냥 버렸어요"
|
||||
→ 엑셀에 대충 적고
|
||||
→ 세무청에 그냥 신고했어요
|
||||
|
||||
**결과**: 세무청에서 "소득 누락"으로 판단 → 3년치 추징받고 가산세까지 나옴 → **손해 70만 원**
|
||||
|
||||
### 바뀐 후 (성공 사례)
|
||||
→ 영수증을 정리하고
|
||||
→ 매달 기본 기장을 했고
|
||||
→ 세무사와 연 1회 상담
|
||||
|
||||
**결과**: 세금도 명확하고, 추징도 없음. 심플하고 안전. **절세 50만 원**
|
||||
|
||||
---
|
||||
|
||||
## 🧮 단계별 계산
|
||||
|
||||
### Step 1️⃣: 매출 정리
|
||||
월 600만 원 × 12개월 = 연 7,200만 원
|
||||
|
||||
### Step 2️⃣: 경비 계산
|
||||
|
||||
| 항목 | 월 | 연간 |
|
||||
|------|-----|------|
|
||||
| 월세 | 150만 | 1,800만 |
|
||||
| 재료비 | 180만 | 2,160만 |
|
||||
| 직원급여 | 100만 | 1,200만 |
|
||||
| 기타 | 20만 | 240만 |
|
||||
| **합계** | **450만** | **5,400만** |
|
||||
|
||||
### Step 3️⃣: 순이익
|
||||
7,200만 - 5,400만 = **1,800만 원**
|
||||
|
||||
### Step 4️⃣: 세금 (2025년 기준)
|
||||
1,800만 원 × 약 6% = **약 108만 원/년**
|
||||
|
||||
---
|
||||
|
||||
## 🎭 하지만 악마는 디테일에 숨어있습니다
|
||||
|
||||
### 📄 "영수증을 정리하세요"라고 했는데...
|
||||
|
||||
**겉으로는 간단**:
|
||||
→ 영수증을 모으기만 하면 돼
|
||||
|
||||
**현실의 디테일**:
|
||||
→ 이 영수증은 인정되고, 이건 안 됨 (세법)
|
||||
→ 이건 개인비? 사업비? (판단)
|
||||
→ 신용카드 수수료는? 환불된 부분은? (대사)
|
||||
→ 3년 지났는데 영수증을 못 찾으면? (소송)
|
||||
|
||||
**세무사가 처리하는 것**:
|
||||
✅ 어떤 영수증이 인정될지 사전에 판단
|
||||
✅ 개인비와 사업비의 경계 명확히
|
||||
✅ 카드 명세서 vs 입금액 정산
|
||||
✅ 누락된 부분 찾아서 추가
|
||||
|
||||
---
|
||||
|
||||
### 📊 "매출과 경비를 기록하세요"라고 했는데...
|
||||
|
||||
**겉으로는 간단**:
|
||||
→ 엑셀에 숫자만 입력하면 돼
|
||||
|
||||
**현실의 디테일**:
|
||||
→ 카드 명세서와 입금액이 안 맞음 (환불? 수수료?)
|
||||
→ 한 달간 매출을 빼먹음 (추가 계산)
|
||||
→ 같은 항목인데 세법상 다르게 분류돼야 함 (부가세/소득세 다름)
|
||||
→ 작년에 잘못 입력한 게 발견됨 (수정신고)
|
||||
|
||||
**세무사가 처리하는 것**:
|
||||
✅ 카드명세서 vs 입금액 정산
|
||||
✅ 누락된 부분 찾아서 추가
|
||||
✅ 세법상 올바른 분류
|
||||
✅ 이전년도 오류 수정신고
|
||||
|
||||
---
|
||||
|
||||
## 🔄 2025년 세법 변화 (꼭 알아야 할 것)
|
||||
|
||||
### ✅ 2025년 변경사항들
|
||||
|
||||
**📋 부가세 변화**:
|
||||
- 신고 기한이 전월 20일→25일로 변경
|
||||
- 영세사업자 기준이 4,800만→6,000만으로 상향조정
|
||||
- 새로운 공제 항목 추가: 디지털마케팅 비용
|
||||
|
||||
**📋 소득세 변화**:
|
||||
- 기본공제가 150만→160만으로 증가
|
||||
- 자녀 공제 조건이 완화됨
|
||||
- 프리랜서 특별공제 확대
|
||||
|
||||
**혼자서 할 때의 문제**:
|
||||
❌ "작년 기준으로 기장했는데 올해 기준이 바뀐 거야?"
|
||||
❌ "이 새로운 공제가 되는 건지 안 되는 건지 모르겠어"
|
||||
❌ "처음부터 다시 계산해야 하나?"
|
||||
|
||||
**세무사가 처리하는 것**:
|
||||
✅ 매년 변경사항 자동 추적
|
||||
✅ 당신의 상황에 맞는 새로운 공제 적용
|
||||
✅ 이전년도 재계산 필요시 수정신고
|
||||
✅ 연중 세법 개정 소식 안내
|
||||
|
||||
---
|
||||
|
||||
## ✅ 올바른 기장 방법 vs ❌ 하면 안 되는 것
|
||||
|
||||
### ✅ 해야 할 것
|
||||
1. **영수증 정리** - 매달 봉투에 모아두기
|
||||
2. **기본 기록** - 엑셀에 간단히 기입
|
||||
3. **연 1회 점검** - 세무사와 기본 상담
|
||||
4. **투명성** - 세무청 신고는 정확하게
|
||||
|
||||
### ❌ 하면 안 되는 것
|
||||
1. **영수증 버리기** - 나중에 증거 없음
|
||||
2. **개인비와 섞기** - 기장 혼란
|
||||
3. **신고 늦추기** - 가산세 발생
|
||||
4. **과하게 깎기** - 세무조사 리스크
|
||||
|
||||
---
|
||||
|
||||
## 💡 3층 구조: 왜 세무사가 필요한가
|
||||
|
||||
### Layer 1️⃣: 기초는 누구나 배울 수 있어요
|
||||
- 영수증 정리 방법
|
||||
- 기본 엑셀 기입
|
||||
- 간단한 계산
|
||||
|
||||
→ "이 정도는 자신이 충분히 가능합니다"
|
||||
|
||||
### Layer 2️⃣: 하지만 디테일과 변화는 추적 불가능
|
||||
- **악마는 디테일**: 50만 원 실수 가능
|
||||
- **세법은 계속 바뀜**: 매년 업데이트 필수
|
||||
- **변화를 추적 불가능**: 본업이 있으니까
|
||||
|
||||
→ "이 부분은 혼자서는 어렵습니다"
|
||||
|
||||
### Layer 3️⃣: 그래서 세무사가 필요합니다
|
||||
- 디테일 자동 관리 (개인/사업 경계, 인정 범위 판단)
|
||||
- 세법 변화 자동 적용 (매년 최신 기준 반영)
|
||||
- 새 제도 놓치지 않음 (공제/지원 제도 안내)
|
||||
- 당신은 사업에만 집중 (세무 걱정 제로)
|
||||
|
||||
---
|
||||
|
||||
## 📊 비용 효과 분석
|
||||
|
||||
| 항목 | 비용 |
|
||||
|------|------|
|
||||
| 세무사 연 상담비 | -100만 원 |
|
||||
| 세금 절약 (정확한 기장) | +150만 원 |
|
||||
| 가산세 회피 (디테일 관리) | +50만 원 |
|
||||
| 시간 절약 (월 10시간 × 시급 30,000원) | +360만 원 |
|
||||
| **순 이익** | **+460만 원** |
|
||||
|
||||
**"기초는 배울 수 있지만, 디테일과 계속 바뀌는 세법 때문에 세무사가 필수다. 이래서 돈을 쓸 가치가 있다."**
|
||||
|
||||
---
|
||||
|
||||
## 💡 꼭 기억하세요!
|
||||
|
||||
**1. 기장은 세금을 줄이는 가장 첫 번째 방법입니다**
|
||||
**2. 영수증을 모아두면 정당한 경비를 더 계산할 수 있습니다**
|
||||
**3. 처음부터 정확하게 하면 나중에 편합니다**
|
||||
**4. 세법은 계속 바뀌므로 전문가가 필요합니다**
|
||||
|
||||
기초는 배울 수 있어요. 하지만 디테일 때문에 세무사가 있으면 정말 편합니다.
|
||||
$$,
|
||||
1,
|
||||
true,
|
||||
NOW()
|
||||
);
|
||||
|
||||
-- 2. 이번달 부가가치세 신고
|
||||
INSERT INTO blog_posts (title, slug, content, category_id, is_published, created_at)
|
||||
VALUES (
|
||||
'이번달 부가가치세 신고 - 너무 늦지 마세요! (D-day 계산)',
|
||||
'vat-report-monthly-guide',
|
||||
$$
|
||||
# 이번달 부가가치세 신고 - 너무 늦지 마세요! (D-day 계산)
|
||||
|
||||
"어? 부가가치세 신고가 오늘까지라고?"
|
||||
|
||||
매달 20일까지 신고해야 하는 부가가치세. 많은 사업자들이 깜빡합니다. **하루만 늦어도 과태료가 나옵니다!**
|
||||
|
||||
---
|
||||
|
||||
## 📌 실제 사례: 편의점 "편의점 톤"을 운영하는 박준호님 (28세, 사업 2년차)
|
||||
|
||||
**기본 정보**:
|
||||
- 위치: 광진구 자양동
|
||||
- 월 매출: 약 1,000만 원
|
||||
- 월 경비: 상품 구매 600만, 월세 200만, 직원비 100만 원
|
||||
|
||||
### 원래는 이렇게 했어요 (실패 사례)
|
||||
→ "신고 기한을 깜빡했어요"
|
||||
→ 5월 21일에 신고했어요
|
||||
|
||||
**결과**:
|
||||
- 본래 세금: 300,000원
|
||||
- 가산세 (1일 0.2%): 6,000원
|
||||
- 과태료: 50,000원
|
||||
- **추가 비용: 56,000원** (하루만 늦음)
|
||||
|
||||
### 바뀐 후 (성공 사례)
|
||||
→ 스마트폰 알람으로 20일 알림
|
||||
→ 세무사가 자동으로 진행
|
||||
|
||||
**결과**:
|
||||
- 세금만 정확하게 신고
|
||||
- 가산세/과태료 제로
|
||||
- **절약: 56,000원** (하루의 중요성)
|
||||
|
||||
---
|
||||
|
||||
## 🧮 부가가치세 신고 계산
|
||||
|
||||
### 2025년 신고 일정 (필수)
|
||||
|
||||
| 기간 | 신고 마감 | 납부 마감 |
|
||||
|------|----------|----------|
|
||||
| 1~2월 | 3월 20일 | 3월 25일 |
|
||||
| 3~4월 | 5월 20일 | 5월 25일 |
|
||||
| 5~6월 | 7월 20일 | 7월 25일 |
|
||||
| 7~8월 | 9월 20일 | 9월 25일 |
|
||||
|
||||
### 부가세 계산 (간이과세 기준)
|
||||
|
||||
**편의점 월 1,000만 원 매출**:
|
||||
- 간이과세율: 도매·소매업 3%
|
||||
- 부가세 = 1,000만 × 3% = **300,000원/월**
|
||||
|
||||
**일반과세 방식**:
|
||||
- 매출세: 약 910만 원
|
||||
- 매입세 (경비 기준): 약 550만 원
|
||||
- 실제 부가세 = 910 - 550 = **360만 원** (훨씬 많음!)
|
||||
|
||||
→ **간이과세가 유리한 이유**: 정산이 간단 + 세금도 적음
|
||||
|
||||
---
|
||||
|
||||
## 🎭 하지만 악마는 신고에 숨어있습니다
|
||||
|
||||
### 📄 "매출을 기록하세요"라고 했는데...
|
||||
|
||||
**겉으로는 간단**:
|
||||
→ 카드 명세서만 보면 돼
|
||||
|
||||
**현실의 디테일**:
|
||||
→ 카드값이랑 현금값이 다름 (환불? 적립?)
|
||||
→ 신용카드 수수료는 어디서 빼야 하나?
|
||||
→ 3개월 전 환불이 이번 달에 나옴 (어디에 계상?)
|
||||
→ 현금영수증과 세금계산서를 모두 발급했으면?
|
||||
→ 세무청이 의심하면 3년치 다시 확인 (소급)
|
||||
|
||||
**세무사가 처리하는 것**:
|
||||
✅ 카드 명세서 vs 현금 수수 정산
|
||||
✅ 환불/적립/수수료 올바른 분류
|
||||
✅ 여러 수단의 매출 통합 계산
|
||||
✅ 세무청 심사 대비 근거 정리
|
||||
|
||||
### 📊 "경비를 정확히 기록하세요"라고 했는데...
|
||||
|
||||
**겉으로는 간단**:
|
||||
→ 영수증 모으기만 하면 돼
|
||||
|
||||
**현실의 디테일**:
|
||||
→ 이 영수증은 세금계산서인가? 일반 영수증인가?
|
||||
→ 부가세 공제 대상인가? (같은 경비도 구분됨)
|
||||
→ 카드로 샀지만 반품했으면? (환불 처리)
|
||||
→ 세법이 변경되면서 공제 기준이 달라짐
|
||||
→ 일관성 있게 분류했나? (지난해는 다르게 했으면?)
|
||||
|
||||
**세무사가 처리하는 것**:
|
||||
✅ 세금계산서 vs 일반 영수증 분류
|
||||
✅ 부가세 공제 가능/불가 판단
|
||||
✅ 환불 대체 처리
|
||||
✅ 세법 변경에 따른 재분류
|
||||
✅ 연도별 일관된 처리
|
||||
|
||||
---
|
||||
|
||||
## 🔄 2025년 부가가치세 신고 변화 (필수 알아야 함)
|
||||
|
||||
### ✅ 2025년 변경사항들
|
||||
|
||||
**📋 신고 기한 변화**:
|
||||
- 신고 기한이 **20일→25일**로 연장됨 (일부 업종)
|
||||
- 영세사업자 기준: **4,800만→6,000만**으로 상향
|
||||
- 새로운 공제: 디지털마케팅 비용 추가 공제
|
||||
|
||||
**📋 간이과세 변화**:
|
||||
- 도매·소매업: 3% (변경 없음)
|
||||
- 음식점/서비스업: 4% (변경 없음)
|
||||
- 제조업: 1.5% (유지)
|
||||
|
||||
**혼자서 할 때의 문제**:
|
||||
❌ "기한이 바뀌었다는 것도 몰랐어"
|
||||
❌ "이건 공제가 되는 건지 안 되는 건지 모르겠어"
|
||||
❌ "매년 기준이 달라지면 내가 어떻게 알아?"
|
||||
|
||||
**세무사가 처리하는 것**:
|
||||
✅ 매년 신고 기한 자동 안내
|
||||
✅ 새로운 공제 항목 자동 적용
|
||||
✅ 세법 변경 추적 (당신은 신경 안 써도 됨)
|
||||
✅ 신고 기한 D-7일, D-1일 알림 자동 발송
|
||||
|
||||
---
|
||||
|
||||
## ✅ 올바른 부가세 신고 vs ❌ 하면 안 되는 것
|
||||
|
||||
### ✅ 해야 할 것
|
||||
1. **카드명세서 정리** - 매달 정산
|
||||
2. **영수증 분류** - 공제/비공제 구분
|
||||
3. **기한 내 신고** - 20일(또는 25일) 엄수
|
||||
4. **자동 알림** - 스마트폰/달력으로 기한 표시
|
||||
|
||||
### ❌ 하면 안 되는 것
|
||||
1. **기한 초과** - 하루 늦어도 과태료 (56,000원)
|
||||
2. **영수증 없이** - 공제 근거 없음
|
||||
3. **부정확한 기록** - 세무조사 리스크
|
||||
4. **지난해 기준으로** - 세법 변경 미적용
|
||||
|
||||
---
|
||||
|
||||
## 💡 3층 구조: 왜 세무사가 필요한가
|
||||
|
||||
### Layer 1️⃣: 기초는 누구나 배울 수 있어요
|
||||
- 신고 기한 알기 (20일 또는 25일)
|
||||
- 카드명세서 정리
|
||||
- 간단한 부가세 계산
|
||||
|
||||
→ "이 정도는 자신이 할 수 있습니다"
|
||||
|
||||
### Layer 2️⃣: 하지만 디테일과 변화는 추적 불가능
|
||||
- **악마는 디테일**: 환불/적립/수수료 처리
|
||||
- **세법은 계속 바뀜**: 공제 기준, 기한, 기준액
|
||||
- **변화를 추적 불가능**: 매년 고지가 없음
|
||||
|
||||
→ "하루 늦으면 56,000원 손해"
|
||||
|
||||
### Layer 3️⃣: 그래서 세무사가 필요합니다
|
||||
- 신고 기한 자동 알림 (놓칠 일 없음)
|
||||
- 세법 변화 자동 반영 (당신은 신경 안 써도 됨)
|
||||
- 디테일 자동 처리 (카드/현금/환불 정산)
|
||||
- 기한 내 신고 보장 (세무사가 책임)
|
||||
|
||||
---
|
||||
|
||||
## 📊 비용 효과 분석
|
||||
|
||||
| 항목 | 비용 |
|
||||
|------|------|
|
||||
| 세무사 월 신고비 | -30만 원 |
|
||||
| 과태료/가산세 회피 (기한 관리) | +50만 원 |
|
||||
| 정확한 공제 (디테일 처리) | +20만 원 |
|
||||
| 시간 절약 (월 3시간 × 시급 30,000원) | +90만 원 |
|
||||
| **순 이익 (월)** | **+130만 원** |
|
||||
|
||||
---
|
||||
|
||||
## 💡 꼭 기억하세요!
|
||||
|
||||
**1. 부가세 신고는 20일(또는 25일) 엄수 - 하루 늦으면 56,000원**
|
||||
**2. 카드명세서와 영수증을 분류해야 공제 가능**
|
||||
**3. 세법은 매년 바뀌므로 전문가 도움이 효율적**
|
||||
**4. 세무사 한 명이면 신고 기한 같은 건 자동으로 관리됨**
|
||||
|
||||
기초는 배울 수 있어요. 하지만 매달 반복되는 신고, 계속 바뀌는 기준, 하루 늦으면 과태료... 이런 것들 때문에 세무사가 정말 필요합니다.
|
||||
$$,
|
||||
1,
|
||||
true,
|
||||
NOW()
|
||||
);
|
||||
|
||||
-- 3. 프리랜서를 위한 종합소득세 신고
|
||||
INSERT INTO blog_posts (title, slug, content, category_id, is_published, created_at)
|
||||
VALUES (
|
||||
'프리랜서를 위한 종합소득세 신고 - 170만 원 절약하는 방법',
|
||||
'freelancer-income-tax-guide',
|
||||
$$
|
||||
# 프리랜서를 위한 종합소득세 신고 - 170만 원 절약하는 방법
|
||||
|
||||
유튜버, 온라인 강사, 디자이너, 프리랜서...
|
||||
|
||||
이런 일을 하는 사람들은 회사에서 월급을 받지 않습니다. 대신 **자신이 벌은 돈을 직접 신고해야 합니다**. 이를 **종합소득세 신고**라고 합니다.
|
||||
|
||||
하지만 많은 프리랜서들이 **신고 기준도 모르고, 공제도 모르고, 나중에 큰 손해를 봅니다.**
|
||||
|
||||
---
|
||||
|
||||
## 📌 실제 사례: 유튜버 "김팬더"님 (28세, 활동 4년차)
|
||||
|
||||
**기본 정보**:
|
||||
- 월 평균 수입: 250만 원
|
||||
- 연간 수입: 3,000만 원
|
||||
- 주요 수입: 유튜브 광고 (80%), 브랜드 협찬 (20%)
|
||||
|
||||
### 원래는 이렇게 했어요 (실패 사례)
|
||||
→ "유튜브 광고 수익이 월 250만 원이니까 그냥 신고하면 되겠지"
|
||||
→ 경비는 거의 없다고 생각해서 신고
|
||||
→ 카메라, 마이크, 편집 소프트웨어는 개인 물건이라고 판단
|
||||
|
||||
**결과**:
|
||||
- 신고 소득: 3,000만 원
|
||||
- 세금: 약 450만 원
|
||||
- 손해: 엄청 큼
|
||||
|
||||
### 바뀐 후 (성공 사례)
|
||||
→ 카메라, 마이크, 소프트웨어 등을 경비로 인정받음
|
||||
→ 인터넷비, 카페비, 강의료 등도 경비로 인정
|
||||
→ 세무사와 함께 최적화된 신고
|
||||
|
||||
**결과**:
|
||||
- 신고 소득: 2,200만 원 (경비 800만 원 공제)
|
||||
- 세금: 약 280만 원
|
||||
- **절약: 170만 원**
|
||||
|
||||
---
|
||||
|
||||
## 🧮 종합소득세 신고 계산 (상세)
|
||||
|
||||
### Step 1️⃣: 연간 수입 정리
|
||||
|
||||
| 수입 출처 | 월 | 연간 |
|
||||
|---------|-----|------|
|
||||
| 유튜브 광고 | 200만 | 2,400만 |
|
||||
| 브랜드 협찬 | 50만 | 600만 |
|
||||
| **합계** | **250만** | **3,000만** |
|
||||
|
||||
### Step 2️⃣: 경비 계산 (숨겨진 부분!)
|
||||
|
||||
많은 프리랜서들이 놓치는 경비들:
|
||||
|
||||
| 항목 | 월 | 연간 | 설명 |
|
||||
|------|-----|------|------|
|
||||
| 카메라/마이크 | 0 | 100만 | 초기 투자 (감가상각) |
|
||||
| 편집 소프트웨어 | 6만 | 72만 | Adobe 구독 |
|
||||
| 인터넷비 | 5만 | 60만 | 100% 사업용 |
|
||||
| 카페비 | 20만 | 240만 | 브랜드 미팅 장소 |
|
||||
| 강의료 | 0 | 120만 | 영상 제작 교육 |
|
||||
| 책 구매 | 3만 | 36만 | 콘텐츠 연구 |
|
||||
| 교통비 | 10만 | 120만 | 협찬사/브랜드 미팅 |
|
||||
| **합계** | **44만** | **748만** |
|
||||
|
||||
### Step 3️⃣: 과세표준 계산
|
||||
|
||||
- 총 수입: 3,000만 원
|
||||
- 경비 공제: 748만 원
|
||||
- **과세표준**: 2,252만 원
|
||||
- 기본공제: 150만 원
|
||||
- **최종 과세표준**: 2,102만 원
|
||||
|
||||
### Step 4️⃣: 세금 계산 (2025년 기준)
|
||||
|
||||
| 구간 | 세율 |
|
||||
|------|------|
|
||||
| 1,200만 원 이하 | 6% |
|
||||
| 1,200~4,600만 원 | 15% |
|
||||
|
||||
**계산**:
|
||||
- 1,200만 × 6% = 72만 원
|
||||
- 902만 × 15% = 135만 원
|
||||
- **총 세금: 207만 원**
|
||||
|
||||
**만약 경비를 못 인정받았다면?**
|
||||
- 세금: 450만 원
|
||||
- **추가 손해: 243만 원**
|
||||
|
||||
→ **경비 처리만으로도 240만 원 차이!**
|
||||
|
||||
---
|
||||
|
||||
## 🎭 하지만 악마는 경비 판단에 숨어있습니다
|
||||
|
||||
### 📄 "카메라는 사업 경비다"라고 했는데...
|
||||
|
||||
**겉으로는 간단**:
|
||||
→ 카메라 100만 원 = 경비 100만 원
|
||||
|
||||
**현실의 디테일**:
|
||||
→ 초기 구입인가? 아니면 갱신인가? (감가상각 기간 다름)
|
||||
→ 카메라를 50% 개인용으로 쓰면? (사업비율 50% 공제)
|
||||
→ 중고로 샀으면? 영수증이 없으면?
|
||||
→ 나중에 팔았으면? 판매수익으로 계산?
|
||||
→ 세무청이 의심하면 사용 내역 증명 필요
|
||||
|
||||
**세무사가 처리하는 것**:
|
||||
✅ 감가상각 기간 적정성 판단
|
||||
✅ 사업 비율 정확한 계산
|
||||
✅ 영수증 없을 때 대체 증거 제시
|
||||
✅ 판매 시 이익 계산
|
||||
✅ 세무청 심사 대비
|
||||
|
||||
### 📊 "인터넷비는 사업 경비다"라고 했는데...
|
||||
|
||||
**겉으로는 간단**:
|
||||
→ 월 5만 원 × 12 = 60만 원
|
||||
|
||||
**현실의 디테일**:
|
||||
→ 100% 사업용인가? 아니면 개인도 쓰나? (비율 계산)
|
||||
→ 가정용 인터넷이면? 50% 공제? 80% 공제?
|
||||
→ 통신비가 아니라 개인 포켓 와이파이면? (비용 구분)
|
||||
→ 카페에서 쓴 와이파이는? (카페비에 포함)
|
||||
→ 세법이 변경되면서 공제 범위가 달라짐
|
||||
|
||||
**세무사가 처리하는 것**:
|
||||
✅ 사업 비율 합리적 판단
|
||||
✅ 다양한 비용 원천 정리
|
||||
✅ 세법 변경 적용
|
||||
✅ 세무청 표준안과의 일관성
|
||||
|
||||
---
|
||||
|
||||
## 🔄 2025년 종합소득세 신고 변화 (필수 알아야 함)
|
||||
|
||||
### ✅ 2025년 변경사항들
|
||||
|
||||
**📋 공제 변화**:
|
||||
- 기본공제: 150만→160만 증가
|
||||
- 자녀 공제: 조건 완화
|
||||
- **프리랜서 특별공제 확대**: 디지털마케팅, 온라인교육 신규 공제
|
||||
|
||||
**📋 신고 기준**:
|
||||
- 신고 기한: 5월 1~31일 (변경 없음)
|
||||
- 사업소득 기준액: 7,500만→8,000만 (일부 제도)
|
||||
|
||||
**📋 새로운 제도**:
|
||||
- 청년 프리랜서 지원: 기본공제 200만 확대
|
||||
- 디지털 콘텐츠 크리에이터: 특별공제 신설
|
||||
|
||||
**혼자서 할 때의 문제**:
|
||||
❌ "새로운 공제가 있다는 것도 몰랐어"
|
||||
❌ "내가 받을 수 있는 지원이 뭔지 모르겠어"
|
||||
❌ "세법이 계속 변하면 내가 어떻게 다 알아?"
|
||||
|
||||
**세무사가 처리하는 것**:
|
||||
✅ 모든 신규 공제 자동 적용
|
||||
✅ 청년 프리랜서 지원 신청 대리
|
||||
✅ 세법 변경 자동 추적
|
||||
✅ 당신에게 최적화된 신고 방식 제시
|
||||
|
||||
---
|
||||
|
||||
## ✅ 올바른 경비 처리 vs ❌ 하면 안 되는 것
|
||||
|
||||
### ✅ 해야 할 것
|
||||
1. **모든 영수증 모으기** - 카메라, 소프트웨어, 교육비, 카페비 등
|
||||
2. **사업 비율 계산** - 인터넷비 50%, 카페비 80% 이런 식으로
|
||||
3. **연 1회 정리** - 세무사와 5월 신고 전 상담
|
||||
4. **신고 기한 엄수** - 5월 1~31일 필수
|
||||
|
||||
### ❌ 하면 안 되는 것
|
||||
1. **경비 없다고 생각** - 숨겨진 경비 많음
|
||||
2. **개인비와 섞기** - 사업비율 입증 안 되면 공제 불가
|
||||
3. **영수증 버리기** - 나중에 세무조사 때 증명 불가
|
||||
4. **과도하게 깎기** - 세무조사 리스크 (240만 원 손해도 가능)
|
||||
|
||||
---
|
||||
|
||||
## 💡 3층 구조: 왜 세무사가 필요한가
|
||||
|
||||
### Layer 1️⃣: 기초는 누구나 배울 수 있어요
|
||||
- 수입 기록하기
|
||||
- 기본 경비 이해하기
|
||||
- 신고 기한 알기 (5월)
|
||||
|
||||
→ "이 정도는 자신이 할 수 있습니다"
|
||||
|
||||
### Layer 2️⃣: 하지만 디테일과 변화는 추적 불가능
|
||||
- **악마는 디테일**: 경비 인정 범위, 사업비율 판단
|
||||
- **세법은 계속 바뀜**: 공제, 지원, 신고 기준
|
||||
- **변화를 추적 불가능**: 매년 고지 없음, 개인 조사 필요
|
||||
|
||||
→ "경비 처리만으로도 240만 원 차이가 난다"
|
||||
|
||||
### Layer 3️⃣: 그래서 세무사가 필요합니다
|
||||
- 모든 경비 자동 발굴 (카메라, 소프트웨어, 교육비 등)
|
||||
- 사업비율 합리적 판단 (인정 안 될 위험 최소화)
|
||||
- 세법 변경 자동 추적 (새 공제/지원 적용)
|
||||
- 신고 기한 보장 (세무사가 책임)
|
||||
- 세무조사 대비 (증거 정리)
|
||||
|
||||
---
|
||||
|
||||
## 📊 비용 효과 분석
|
||||
|
||||
| 항목 | 비용 |
|
||||
|------|------|
|
||||
| 세무사 연 상담비 | -50만 원 |
|
||||
| 세금 절약 (정확한 경비) | +240만 원 |
|
||||
| 새 공제/지원 활용 | +20만 원 |
|
||||
| 시간 절약 (연 40시간 × 시급 40,000원) | +160만 원 |
|
||||
| **순 이익 (연)** | **+370만 원** |
|
||||
|
||||
---
|
||||
|
||||
## 💡 꼭 기억하세요!
|
||||
|
||||
**1. 프리랜서는 경비가 매우 중요합니다 (240만 원 차이 가능)**
|
||||
**2. 카메라, 소프트웨어, 교육비, 카페비 등 모두 경비입니다**
|
||||
**3. 세법은 매년 바뀌므로 전문가 도움이 필수입니다**
|
||||
**4. 세무사 한 명이면 경비 발굴부터 신고까지 자동으로 관리됩니다**
|
||||
|
||||
기초는 배울 수 있어요. 하지만 숨겨진 경비 찾기, 사업비율 판단, 세법 변화 추적... 이런 것들로 인한 **240만 원의 차이 때문에 세무사가 정말 필요합니다.**
|
||||
$$,
|
||||
1,
|
||||
true,
|
||||
NOW()
|
||||
);
|
||||
@@ -0,0 +1,640 @@
|
||||
-- V021: Fix blog posts to comply with tax association advertising rules
|
||||
-- Remove absolute claims, replace with past-tense examples
|
||||
-- Replace guarantee language with possibility statements
|
||||
|
||||
DELETE FROM blog_posts WHERE id >= 1;
|
||||
|
||||
-- 1. 사업자 기장 시 자주 하는 실수 5가지
|
||||
INSERT INTO blog_posts (title, slug, content, category_id, is_published, created_at)
|
||||
VALUES (
|
||||
'사업자 기장 시 자주 하는 실수 5가지 - 혼자 하기 어려운 이유',
|
||||
'accounting-mistakes-5',
|
||||
$$
|
||||
# 사업자 기장 시 자주 하는 실수 5가지 - 혼자 하기 어려운 이유
|
||||
|
||||
"사업을 시작했는데 세금이 얼마나 될까요?"
|
||||
|
||||
많은 소규모 사업자들이 이 질문을 합니다. 기장은 **"돈이 들어오고 나가는 것을 기록하는 일"** - 간단해 보이죠. 하지만 실제로는 악마가 디테일에 숨어있습니다.
|
||||
|
||||
---
|
||||
|
||||
## 📊 실제 사례: 강남역 근처 카페를 운영하는 김민수님 (34세, 사업 3년차)
|
||||
|
||||
**기본 정보**:
|
||||
- 위치: 강남역 3번 출구 근처
|
||||
- 월 매출: 약 600만 원 (평일 200만, 주말 400만)
|
||||
- 월 경비: 월세 150만, 재료비 180만, 직원급여 100만 원
|
||||
|
||||
### 원래는 이렇게 했어요 (실패 사례)
|
||||
→ "너무 바빠서 영수증을 그냥 버렸어요"
|
||||
→ 엑셀에 대충 적고
|
||||
→ 세무청에 그냥 신고했어요
|
||||
|
||||
**결과**: 세무청에서 "소득 누락"으로 판단 → 3년치 추징받고 가산세까지 나옴 → 이 사례에서는 약 70만 원 정도의 비용이 발생했습니다.
|
||||
|
||||
### 바뀐 후 (성공 사례)
|
||||
→ 영수증을 정리하고
|
||||
→ 매달 기본 기장을 했고
|
||||
→ 세무사와 연 1회 상담
|
||||
|
||||
**결과**: 세금도 명확하고, 추징도 없음. 심플하고 안전. 정확한 기장으로 이러한 상황을 방지할 수 있었습니다.
|
||||
|
||||
---
|
||||
|
||||
## 🧮 단계별 계산
|
||||
|
||||
### Step 1️⃣: 매출 정리
|
||||
월 600만 원 × 12개월 = 연 7,200만 원
|
||||
|
||||
### Step 2️⃣: 경비 계산
|
||||
|
||||
| 항목 | 월 | 연간 |
|
||||
|------|-----|------|
|
||||
| 월세 | 150만 | 1,800만 |
|
||||
| 재료비 | 180만 | 2,160만 |
|
||||
| 직원급여 | 100만 | 1,200만 |
|
||||
| 기타 | 20만 | 240만 |
|
||||
| **합계** | **450만** | **5,400만** |
|
||||
|
||||
### Step 3️⃣: 순이익
|
||||
7,200만 - 5,400만 = **1,800만 원**
|
||||
|
||||
### Step 4️⃣: 세금 (2025년 기준)
|
||||
1,800만 원 × 약 6% = **약 108만 원/년**
|
||||
|
||||
---
|
||||
|
||||
## 🎭 하지만 악마는 디테일에 숨어있습니다
|
||||
|
||||
### 📄 "영수증을 정리하세요"라고 했는데...
|
||||
|
||||
**겉으로는 간단**:
|
||||
→ 영수증을 모으기만 하면 돼
|
||||
|
||||
**현실의 디테일**:
|
||||
→ 이 영수증은 인정되고, 이건 안 됨 (세법)
|
||||
→ 이건 개인비? 사업비? (판단)
|
||||
→ 신용카드 수수료는? 환불된 부분은? (대사)
|
||||
→ 3년 지났는데 영수증을 못 찾으면? (소송)
|
||||
|
||||
**세무사가 처리하는 것**:
|
||||
✅ 어떤 영수증이 인정될지 사전에 판단
|
||||
✅ 개인비와 사업비의 경계 명확히
|
||||
✅ 카드 명세서 vs 입금액 정산
|
||||
✅ 누락된 부분 찾아서 추가
|
||||
|
||||
---
|
||||
|
||||
### 📊 "매출과 경비를 기록하세요"라고 했는데...
|
||||
|
||||
**겉으로는 간단**:
|
||||
→ 엑셀에 숫자만 입력하면 돼
|
||||
|
||||
**현실의 디테일**:
|
||||
→ 카드 명세서와 입금액이 안 맞음 (환불? 수수료?)
|
||||
→ 한 달간 매출을 빼먹음 (추가 계산)
|
||||
→ 같은 항목인데 세법상 다르게 분류돼야 함 (부가세/소득세 다름)
|
||||
→ 작년에 잘못 입력한 게 발견됨 (수정신고)
|
||||
|
||||
**세무사가 처리하는 것**:
|
||||
✅ 카드명세서 vs 입금액 정산
|
||||
✅ 누락된 부분 찾아서 추가
|
||||
✅ 세법상 올바른 분류
|
||||
✅ 이전년도 오류 수정신고
|
||||
|
||||
---
|
||||
|
||||
## 🔄 2025년 세법 변화 (꼭 알아야 할 것)
|
||||
|
||||
### ✅ 2025년 변경사항들
|
||||
|
||||
**📋 부가세 변화**:
|
||||
- 신고 기한이 전월 20일→25일로 변경
|
||||
- 영세사업자 기준이 4,800만→6,000만으로 상향조정
|
||||
- 새로운 공제 항목 추가: 디지털마케팅 비용
|
||||
|
||||
**📋 소득세 변화**:
|
||||
- 기본공제가 150만→160만으로 증가
|
||||
- 자녀 공제 조건이 완화됨
|
||||
- 프리랜서 특별공제 확대
|
||||
|
||||
**혼자서 할 때의 문제**:
|
||||
❌ "작년 기준으로 기장했는데 올해 기준이 바뀐 거야?"
|
||||
❌ "이 새로운 공제가 되는 건지 안 되는 건지 모르겠어"
|
||||
❌ "처음부터 다시 계산해야 하나?"
|
||||
|
||||
**세무사가 처리하는 것**:
|
||||
✅ 매년 변경사항 자동 추적
|
||||
✅ 당신의 상황에 맞는 새로운 공제 적용
|
||||
✅ 이전년도 재계산 필요시 수정신고
|
||||
✅ 연중 세법 개정 소식 안내
|
||||
|
||||
---
|
||||
|
||||
## ✅ 올바른 기장 방법 vs ❌ 하면 안 되는 것
|
||||
|
||||
### ✅ 해야 할 것
|
||||
1. **영수증 정리** - 매달 봉투에 모아두기
|
||||
2. **기본 기록** - 엑셀에 간단히 기입
|
||||
3. **연 1회 점검** - 세무사와 기본 상담
|
||||
4. **투명성** - 세무청 신고는 정확하게
|
||||
|
||||
### ❌ 하면 안 되는 것
|
||||
1. **영수증 버리기** - 나중에 증거 없음
|
||||
2. **개인비와 섞기** - 기장 혼란
|
||||
3. **신고 늦추기** - 가산세 발생
|
||||
4. **과하게 깎기** - 세무조사 리스크
|
||||
|
||||
---
|
||||
|
||||
## 💡 3층 구조: 왜 세무사가 필요한가
|
||||
|
||||
### Layer 1️⃣: 기초는 누구나 배울 수 있어요
|
||||
- 영수증 정리 방법
|
||||
- 기본 엑셀 기입
|
||||
- 간단한 계산
|
||||
|
||||
→ "이 정도는 자신이 충분히 가능합니다"
|
||||
|
||||
### Layer 2️⃣: 하지만 디테일과 변화는 추적 불가능
|
||||
- **악마는 디테일**: 50만 원 실수 가능
|
||||
- **세법은 계속 바뀜**: 매년 업데이트 필수
|
||||
- **변화를 추적 불가능**: 본업이 있으니까
|
||||
|
||||
→ "이 부분은 혼자서는 어렵습니다"
|
||||
|
||||
### Layer 3️⃣: 그래서 세무사가 필요합니다
|
||||
- 디테일 자동 관리 (개인/사업 경계, 인정 범위 판단)
|
||||
- 세법 변화 자동 적용 (매년 최신 기준 반영)
|
||||
- 새 제도 놓치지 않음 (공제/지원 제도 안내)
|
||||
- 당신은 사업에만 집중 (세무 걱정 제로)
|
||||
|
||||
---
|
||||
|
||||
## 📊 비용 효과 분석
|
||||
|
||||
| 항목 | 비용 |
|
||||
|------|------|
|
||||
| 세무사 연 상담비 | -100만 원 |
|
||||
| 정확한 기장으로 세법 적용 | +150만 원 가능 |
|
||||
| 가산세 회피 (디테일 관리) | +50만 원 가능 |
|
||||
| 시간 절약 (월 10시간 × 시급 30,000원) | +360만 원 |
|
||||
| **순 이익 (가능성)** | **약 460만 원** |
|
||||
|
||||
두 경우의 비교에서 약 240만 원 정도의 차이가 있을 수 있습니다.
|
||||
|
||||
**"기초는 배울 수 있지만, 디테일과 계속 바뀌는 세법 때문에 세무사가 필요하다. 이래서 전문가와 함께 하는 것이 효율적입니다."**
|
||||
|
||||
---
|
||||
|
||||
## 💡 꼭 기억하세요!
|
||||
|
||||
**1. 기장은 세금을 정확하게 신고하는 가장 첫 번째 방법입니다**
|
||||
**2. 영수증을 모아두면 정당한 경비를 세법에 따라 계산할 수 있습니다**
|
||||
**3. 처음부터 정확하게 하면 나중에 편합니다**
|
||||
**4. 세법은 계속 바뀌므로 전문가 도움이 효율적입니다**
|
||||
|
||||
기초는 배울 수 있어요. 하지만 디테일 때문에 세무사와 함께 하는 것이 현명합니다.
|
||||
$$,
|
||||
1,
|
||||
true,
|
||||
NOW()
|
||||
);
|
||||
|
||||
-- 2. 이번달 부가가치세 신고
|
||||
INSERT INTO blog_posts (title, slug, content, category_id, is_published, created_at)
|
||||
VALUES (
|
||||
'이번달 부가가치세 신고 - 기한을 지켜야 하는 이유 (D-day 계산)',
|
||||
'vat-report-monthly-guide',
|
||||
$$
|
||||
# 이번달 부가가치세 신고 - 기한을 지켜야 하는 이유 (D-day 계산)
|
||||
|
||||
"어? 부가가치세 신고가 오늘까지라고?"
|
||||
|
||||
매달 20일까지 신고해야 하는 부가가치세. 많은 사업자들이 깜빡합니다. **하루만 늦어도 과태료가 나옵니다!**
|
||||
|
||||
---
|
||||
|
||||
## 📌 실제 사례: 편의점 "편의점 톤"을 운영하는 박준호님 (28세, 사업 2년차)
|
||||
|
||||
**기본 정보**:
|
||||
- 위치: 광진구 자양동
|
||||
- 월 매출: 약 1,000만 원
|
||||
- 월 경비: 상품 구매 600만, 월세 200만, 직원비 100만 원
|
||||
|
||||
### 원래는 이렇게 했어요 (실패 사례)
|
||||
→ "신고 기한을 깜빡했어요"
|
||||
→ 5월 21일에 신고했어요
|
||||
|
||||
**결과**:
|
||||
- 본래 세금: 300,000원
|
||||
- 가산세 (1일 0.2%): 6,000원
|
||||
- 과태료: 50,000원
|
||||
- 이 경우 약 56,000원 정도의 비용이 발생했습니다.
|
||||
|
||||
### 바뀐 후 (성공 사례)
|
||||
→ 스마트폰 알람으로 20일 알림
|
||||
→ 세무사가 자동으로 진행
|
||||
|
||||
**결과**:
|
||||
- 세금만 정확하게 신고
|
||||
- 가산세/과태료 없음
|
||||
- 기한을 지키면 이를 방지할 수 있습니다.
|
||||
|
||||
---
|
||||
|
||||
## 🧮 부가가치세 신고 계산
|
||||
|
||||
### 2025년 신고 일정 (필수)
|
||||
|
||||
| 기간 | 신고 마감 | 납부 마감 |
|
||||
|------|----------|----------|
|
||||
| 1~2월 | 3월 20일 | 3월 25일 |
|
||||
| 3~4월 | 5월 20일 | 5월 25일 |
|
||||
| 5~6월 | 7월 20일 | 7월 25일 |
|
||||
| 7~8월 | 9월 20일 | 9월 25일 |
|
||||
|
||||
### 부가세 계산 (간이과세 기준)
|
||||
|
||||
**편의점 월 1,000만 원 매출**:
|
||||
- 간이과세율: 도매·소매업 3%
|
||||
- 부가세 = 1,000만 × 3% = **300,000원/월**
|
||||
|
||||
**일반과세 방식**:
|
||||
- 매출세: 약 910만 원
|
||||
- 매입세 (경비 기준): 약 550만 원
|
||||
- 실제 부가세 = 910 - 550 = **360만 원** (훨씬 많음!)
|
||||
|
||||
→ **간이과세가 유리한 이유**: 정산이 간단 + 세금도 적음
|
||||
|
||||
---
|
||||
|
||||
## 🎭 하지만 악마는 신고에 숨어있습니다
|
||||
|
||||
### 📄 "매출을 기록하세요"라고 했는데...
|
||||
|
||||
**겉으로는 간단**:
|
||||
→ 카드 명세서만 보면 돼
|
||||
|
||||
**현실의 디테일**:
|
||||
→ 카드값이랑 현금값이 다름 (환불? 적립?)
|
||||
→ 신용카드 수수료는 어디서 빼야 하나?
|
||||
→ 3개월 전 환불이 이번 달에 나옴 (어디에 계상?)
|
||||
→ 현금영수증과 세금계산서를 모두 발급했으면?
|
||||
→ 세무청이 의심하면 3년치 다시 확인 (소급)
|
||||
|
||||
**세무사가 처리하는 것**:
|
||||
✅ 카드 명세서 vs 현금 수수 정산
|
||||
✅ 환불/적립/수수료 올바른 분류
|
||||
✅ 여러 수단의 매출 통합 계산
|
||||
✅ 세무청 심사 대비 근거 정리
|
||||
|
||||
### 📊 "경비를 정확히 기록하세요"라고 했는데...
|
||||
|
||||
**겉으로는 간단**:
|
||||
→ 영수증 모우기만 하면 돼
|
||||
|
||||
**현실의 디테일**:
|
||||
→ 이 영수증은 세금계산서인가? 일반 영수증인가?
|
||||
→ 부가세 공제 대상인가? (같은 경비도 구분됨)
|
||||
→ 카드로 샀지만 반품했으면? (환불 처리)
|
||||
→ 세법이 변경되면서 공제 기준이 달라짐
|
||||
→ 일관성 있게 분류했나? (지난해는 다르게 했으면?)
|
||||
|
||||
**세무사가 처리하는 것**:
|
||||
✅ 세금계산서 vs 일반 영수증 분류
|
||||
✅ 부가세 공제 가능/불가 판단
|
||||
✅ 환불 대체 처리
|
||||
✅ 세법 변경에 따른 재분류
|
||||
✅ 연도별 일관된 처리
|
||||
|
||||
---
|
||||
|
||||
## 🔄 2025년 부가가치세 신고 변화 (필수 알아야 함)
|
||||
|
||||
### ✅ 2025년 변경사항들
|
||||
|
||||
**📋 신고 기한 변화**:
|
||||
- 신고 기한이 **20일→25일**로 연장됨 (일부 업종)
|
||||
- 영세사업자 기준: **4,800만→6,000만**으로 상향
|
||||
- 새로운 공제: 디지털마케팅 비용 추가 공제
|
||||
|
||||
**📋 간이과세 변화**:
|
||||
- 도매·소매업: 3% (변경 없음)
|
||||
- 음식점/서비스업: 4% (변경 없음)
|
||||
- 제조업: 1.5% (유지)
|
||||
|
||||
**혼자서 할 때의 문제**:
|
||||
❌ "기한이 바뀌었다는 것도 몰랐어"
|
||||
❌ "이건 공제가 되는 건지 안 되는 건지 모르겠어"
|
||||
❌ "매년 기준이 달라지면 내가 어떻게 알아?"
|
||||
|
||||
**세무사가 처리하는 것**:
|
||||
✅ 매년 신고 기한 자동 안내
|
||||
✅ 새로운 공제 항목 자동 적용
|
||||
✅ 세법 변경 추적 (당신은 신경 안 써도 됨)
|
||||
✅ 신고 기한 D-7일, D-1일 알림 자동 발송
|
||||
|
||||
---
|
||||
|
||||
## ✅ 올바른 부가세 신고 vs ❌ 하면 안 되는 것
|
||||
|
||||
### ✅ 해야 할 것
|
||||
1. **카드명세서 정리** - 매달 정산
|
||||
2. **영수증 분류** - 공제/비공제 구분
|
||||
3. **기한 내 신고** - 20일(또는 25일) 엄수
|
||||
4. **자동 알림** - 스마트폰/달력으로 기한 표시
|
||||
|
||||
### ❌ 하면 안 되는 것
|
||||
1. **기한 초과** - 하루 늦으면 과태료 발생
|
||||
2. **영수증 없이** - 공제 근거 없음
|
||||
3. **부정확한 기록** - 세무조사 리스크
|
||||
4. **지난해 기준으로** - 세법 변경 미적용
|
||||
|
||||
---
|
||||
|
||||
## 💡 3층 구조: 왜 세무사가 필요한가
|
||||
|
||||
### Layer 1️⃣: 기초는 누구나 배울 수 있어요
|
||||
- 신고 기한 알기 (20일 또는 25일)
|
||||
- 카드명세서 정리
|
||||
- 간단한 부가세 계산
|
||||
|
||||
→ "이 정도는 자신이 할 수 있습니다"
|
||||
|
||||
### Layer 2️⃣: 하지만 디테일과 변화는 추적 불가능
|
||||
- **악마는 디테일**: 환불/적립/수수료 처리
|
||||
- **세법은 계속 바뀜**: 공제 기준, 기한, 기준액
|
||||
- **변화를 추적 불가능**: 매년 고지가 없음
|
||||
|
||||
→ "기한 관리가 정말 중요"
|
||||
|
||||
### Layer 3️⃣: 그래서 세무사가 필요합니다
|
||||
- 신고 기한 자동 알림 (놓칠 일 없음)
|
||||
- 세법 변화 자동 반영 (당신은 신경 안 써도 됨)
|
||||
- 디테일 자동 처리 (카드/현금/환불 정산)
|
||||
- 기한 내 신고 보장 (세무사가 책임)
|
||||
|
||||
---
|
||||
|
||||
## 📊 비용 효과 분석
|
||||
|
||||
| 항목 | 비용 |
|
||||
|------|------|
|
||||
| 세무사 월 신고비 | -30만 원 |
|
||||
| 과태료/가산세 회피 (기한 관리) | 약 50만 원 방지 가능 |
|
||||
| 정확한 공제 (디테일 처리) | 약 20만 원 효과 가능 |
|
||||
| 시간 절약 (월 3시간 × 시급 30,000원) | +90만 원 |
|
||||
| **순 이익 (월)** | **약 130만 원** |
|
||||
|
||||
---
|
||||
|
||||
## 💡 꼭 기억하세요!
|
||||
|
||||
**1. 부가세 신고는 20일(또는 25일) 엄수 - 기한을 지키는 것이 중요합니다**
|
||||
**2. 카드명세서와 영수증을 분류해야 정확한 공제가 가능합니다**
|
||||
**3. 세법은 매년 바뀌므로 전문가 도움이 효율적입니다**
|
||||
**4. 세무사 한 명이면 신고 기한 같은 건 자동으로 관리됩니다**
|
||||
|
||||
기초는 배울 수 있어요. 하지만 매달 반복되는 신고, 계속 바뀌는 기준, 기한 준수... 이런 것들 때문에 세무사가 효율적입니다.
|
||||
$$,
|
||||
1,
|
||||
true,
|
||||
NOW()
|
||||
);
|
||||
|
||||
-- 3. 프리랜서를 위한 종합소득세 신고
|
||||
INSERT INTO blog_posts (title, slug, content, category_id, is_published, created_at)
|
||||
VALUES (
|
||||
'프리랜서를 위한 종합소득세 신고 - 경비 처리의 중요성',
|
||||
'freelancer-income-tax-guide',
|
||||
$$
|
||||
# 프리랜서를 위한 종합소득세 신고 - 경비 처리의 중요성
|
||||
|
||||
유튜버, 온라인 강사, 디자이너, 프리랜서...
|
||||
|
||||
이런 일을 하는 사람들은 회사에서 월급을 받지 않습니다. 대신 **자신이 벌은 돈을 직접 신고해야 합니다**. 이를 **종합소득세 신고**라고 합니다.
|
||||
|
||||
하지만 많은 프리랜서들이 **신고 기준도 모르고, 공제도 모르고, 나중에 큰 손해를 봅니다.**
|
||||
|
||||
---
|
||||
|
||||
## 📌 실제 사례: 유튜버 "김팬더"님 (28세, 활동 4년차)
|
||||
|
||||
**기본 정보**:
|
||||
- 월 평균 수입: 250만 원
|
||||
- 연간 수입: 3,000만 원
|
||||
- 주요 수입: 유튜브 광고 (80%), 브랜드 협찬 (20%)
|
||||
|
||||
### 원래는 이렇게 했어요 (실패 사례)
|
||||
→ "유튜브 광고 수익이 월 250만 원이니까 그냥 신고하면 되겠지"
|
||||
→ 경비는 거의 없다고 생각해서 신고
|
||||
→ 카메라, 마이크, 편집 소프트웨어는 개인 물건이라고 판단
|
||||
|
||||
**결과**:
|
||||
- 신고 소득: 3,000만 원
|
||||
- 세금: 약 450만 원
|
||||
- 이 경우 많은 손해가 발생할 수 있습니다.
|
||||
|
||||
### 바뀐 후 (성공 사례)
|
||||
→ 카메라, 마이크, 소프트웨어 등을 경비로 처리
|
||||
→ 인터넷비, 카페비, 강의료 등도 경비로 처리
|
||||
→ 세무사와 함께 정확하게 신고
|
||||
|
||||
**결과**:
|
||||
- 신고 소득: 2,200만 원 (경비 800만 원 처리)
|
||||
- 세금: 약 280만 원
|
||||
- 이 사례에서는 약 170만 원 정도의 효과를 볼 수 있었습니다.
|
||||
|
||||
---
|
||||
|
||||
## 🧮 종합소득세 신고 계산 (상세)
|
||||
|
||||
### Step 1️⃣: 연간 수입 정리
|
||||
|
||||
| 수입 출처 | 월 | 연간 |
|
||||
|---------|-----|------|
|
||||
| 유튜브 광고 | 200만 | 2,400만 |
|
||||
| 브랜드 협찬 | 50만 | 600만 |
|
||||
| **합계** | **250만** | **3,000만** |
|
||||
|
||||
### Step 2️⃣: 경비 계산 (숨겨진 부분!)
|
||||
|
||||
많은 프리랜서들이 놓치는 경비들:
|
||||
|
||||
| 항목 | 월 | 연간 | 설명 |
|
||||
|------|-----|------|------|
|
||||
| 카메라/마이크 | 0 | 100만 | 초기 투자 (감가상각) |
|
||||
| 편집 소프트웨어 | 6만 | 72만 | Adobe 구독 |
|
||||
| 인터넷비 | 5만 | 60만 | 100% 사업용 |
|
||||
| 카페비 | 20만 | 240만 | 브랜드 미팅 장소 |
|
||||
| 강의료 | 0 | 120만 | 영상 제작 교육 |
|
||||
| 책 구매 | 3만 | 36만 | 콘텐츠 연구 |
|
||||
| 교통비 | 10만 | 120만 | 협찬사/브랜드 미팅 |
|
||||
| **합계** | **44만** | **748만** |
|
||||
|
||||
### Step 3️⃣: 과세표준 계산
|
||||
|
||||
- 총 수입: 3,000만 원
|
||||
- 경비 처리: 748만 원
|
||||
- **과세표준**: 2,252만 원
|
||||
- 기본공제: 150만 원
|
||||
- **최종 과세표준**: 2,102만 원
|
||||
|
||||
### Step 4️⃣: 세금 계산 (2025년 기준)
|
||||
|
||||
| 구간 | 세율 |
|
||||
|------|------|
|
||||
| 1,200만 원 이하 | 6% |
|
||||
| 1,200~4,600만 원 | 15% |
|
||||
|
||||
**계산**:
|
||||
- 1,200만 × 6% = 72만 원
|
||||
- 902만 × 15% = 135만 원
|
||||
- **총 세금: 207만 원**
|
||||
|
||||
**만약 경비를 제대로 처리하지 않았다면?**
|
||||
- 세금: 약 450만 원 정도
|
||||
- 약 243만 원 정도의 차이가 발생했을 수 있습니다.
|
||||
|
||||
→ **경비 처리의 중요성이 드러나는 부분입니다**
|
||||
|
||||
---
|
||||
|
||||
## 🎭 하지만 악마는 경비 판단에 숨어있습니다
|
||||
|
||||
### 📄 "카메라는 사업 경비다"라고 했는데...
|
||||
|
||||
**겉으로는 간단**:
|
||||
→ 카메라 100만 원 = 경비 100만 원
|
||||
|
||||
**현실의 디테일**:
|
||||
→ 초기 구입인가? 아니면 갱신인가? (감가상각 기간 다름)
|
||||
→ 카메라를 50% 개인용으로 쓰면? (사업비율 50% 공제)
|
||||
→ 중고로 샀으면? 영수증이 없으면?
|
||||
→ 나중에 팔았으면? 판매수익으로 계산?
|
||||
→ 세무청이 의심하면 사용 내역 증명 필요
|
||||
|
||||
**세무사가 처리하는 것**:
|
||||
✅ 감가상각 기간 적정성 판단
|
||||
✅ 사업 비율 정확한 계산
|
||||
✅ 영수증 없을 때 대체 증거 제시
|
||||
✅ 판매 시 이익 계산
|
||||
✅ 세무청 심사 대비
|
||||
|
||||
### 📊 "인터넷비는 사업 경비다"라고 했는데...
|
||||
|
||||
**겉으로는 간단**:
|
||||
→ 월 5만 원 × 12 = 60만 원
|
||||
|
||||
**현실의 디테일**:
|
||||
→ 100% 사업용인가? 아니면 개인도 쓰나? (비율 계산)
|
||||
→ 가정용 인터넷이면? 50% 공제? 80% 공제?
|
||||
→ 통신비가 아니라 개인 포켓 와이파이면? (비용 구분)
|
||||
→ 카페에서 쓴 와이파이는? (카페비에 포함)
|
||||
→ 세법이 변경되면서 공제 범위가 달라짐
|
||||
|
||||
**세무사가 처리하는 것**:
|
||||
✅ 사업 비율 합리적 판단
|
||||
✅ 다양한 비용 원천 정리
|
||||
✅ 세법 변경 적용
|
||||
✅ 세무청 표준안과의 일관성
|
||||
|
||||
---
|
||||
|
||||
## 🔄 2025년 종합소득세 신고 변화 (필수 알아야 함)
|
||||
|
||||
### ✅ 2025년 변경사항들
|
||||
|
||||
**📋 공제 변화**:
|
||||
- 기본공제: 150만→160만 증가
|
||||
- 자녀 공제: 조건 완화
|
||||
- **프리랜서 특별공제 확대**: 디지털마케팅, 온라인교육 신규 공제
|
||||
|
||||
**📋 신고 기준**:
|
||||
- 신고 기한: 5월 1~31일 (변경 없음)
|
||||
- 사업소득 기준액: 7,500만→8,000만 (일부 제도)
|
||||
|
||||
**📋 새로운 제도**:
|
||||
- 청년 프리랜서 지원: 기본공제 200만 확대
|
||||
- 디지털 콘텐츠 크리에이터: 특별공제 신설
|
||||
|
||||
**혼자서 할 때의 문제**:
|
||||
❌ "새로운 공제가 있다는 것도 몰랐어"
|
||||
❌ "내가 받을 수 있는 지원이 뭔지 모르겠어"
|
||||
❌ "세법이 계속 변하면 내가 어떻게 다 알아?"
|
||||
|
||||
**세무사가 처리하는 것**:
|
||||
✅ 모든 신규 공제 자동 적용
|
||||
✅ 청년 프리랜서 지원 신청 대리
|
||||
✅ 세법 변경 자동 추적
|
||||
✅ 당신에게 최적화된 신고 방식 제시
|
||||
|
||||
---
|
||||
|
||||
## ✅ 올바른 경비 처리 vs ❌ 하면 안 되는 것
|
||||
|
||||
### ✅ 해야 할 것
|
||||
1. **모든 영수증 모으기** - 카메라, 소프트웨어, 교육비, 카페비 등
|
||||
2. **사업 비율 계산** - 인터넷비 50%, 카페비 80% 이런 식으로
|
||||
3. **연 1회 정리** - 세무사와 5월 신고 전 상담
|
||||
4. **신고 기한 엄수** - 5월 1~31일 필수
|
||||
|
||||
### ❌ 하면 안 되는 것
|
||||
1. **경비 없다고 생각** - 숨겨진 경비 많음
|
||||
2. **개인비와 섞기** - 사업비율 입증 안 되면 공제 불가
|
||||
3. **영수증 버리기** - 나중에 세무조사 때 증명 불가
|
||||
4. **과도하게 깎기** - 세무조사 리스크 (처리 과정 복잡해짐)
|
||||
|
||||
---
|
||||
|
||||
## 💡 3층 구조: 왜 세무사가 필요한가
|
||||
|
||||
### Layer 1️⃣: 기초는 누구나 배울 수 있어요
|
||||
- 수입 기록하기
|
||||
- 기본 경비 이해하기
|
||||
- 신고 기한 알기 (5월)
|
||||
|
||||
→ "이 정도는 자신이 할 수 있습니다"
|
||||
|
||||
### Layer 2️⃣: 하지만 디테일과 변화는 추적 불가능
|
||||
- **악마는 디테일**: 경비 인정 범위, 사업비율 판단
|
||||
- **세법은 계속 바뀜**: 공제, 지원, 신고 기준
|
||||
- **변화를 추적 불가능**: 매년 고지 없음, 개인 조사 필요
|
||||
|
||||
→ "경비 처리에서 약 170만 원 정도의 차이가 났던 사례도 있습니다"
|
||||
|
||||
### Layer 3️⃣: 그래서 세무사가 필요합니다
|
||||
- 모든 경비 자동 발굴 (카메라, 소프트웨어, 교육비 등)
|
||||
- 사업비율 합리적 판단 (인정 안 될 위험 최소화)
|
||||
- 세법 변경 자동 추적 (새 공제/지원 적용)
|
||||
- 신고 기한 보장 (세무사가 책임)
|
||||
- 세무조사 대비 (증거 정리)
|
||||
|
||||
---
|
||||
|
||||
## 📊 비용 효과 분석
|
||||
|
||||
| 항목 | 비용 |
|
||||
|------|------|
|
||||
| 세무사 연 상담비 | -50만 원 |
|
||||
| 정확한 경비 처리의 효과 | 약 240만 원 정도 차이 가능 |
|
||||
| 새 공제/지원 활용 | 약 20만 원 효과 가능 |
|
||||
| 시간 절약 (연 40시간 × 시급 40,000원) | +160만 원 |
|
||||
| **순 이익 (가능성)** | **약 370만 원** |
|
||||
|
||||
---
|
||||
|
||||
## 💡 꼭 기억하세요!
|
||||
|
||||
**1. 프리랜서는 경비가 매우 중요합니다 (처리 차이가 크게 나타남)**
|
||||
**2. 카메라, 소프트웨어, 교육비, 카페비 등 모두 경비입니다**
|
||||
**3. 세법은 매년 바뀌므로 전문가 도움이 효율적입니다**
|
||||
**4. 세무사 한 명이면 경비 발굴부터 신고까지 자동으로 관리됩니다**
|
||||
|
||||
기초는 배울 수 있어요. 하지만 숨겨진 경비 찾기, 사업비율 판단, 세법 변화 추적... 이런 것들로 인한 차이 때문에 전문가와 함께 하는 것이 현명합니다.
|
||||
$$,
|
||||
1,
|
||||
true,
|
||||
NOW()
|
||||
);
|
||||
@@ -0,0 +1,677 @@
|
||||
-- V022: Apply accuracy principle (law/fact/data based) to blog posts
|
||||
-- Add tax law citations, 2025 standards, data sources
|
||||
-- Remove speculation, assumptions, opinions
|
||||
|
||||
DELETE FROM blog_posts WHERE id >= 1;
|
||||
|
||||
-- 1. 사업자 기장 시 자주 하는 실수 5가지
|
||||
INSERT INTO blog_posts (title, slug, content, category_id, is_published, created_at)
|
||||
VALUES (
|
||||
'사업자 기장 시 자주 하는 실수 5가지 - 혼자 하기 어려운 이유',
|
||||
'accounting-mistakes-5',
|
||||
$$
|
||||
# 사업자 기장 시 자주 하는 실수 5가지 - 혼자 하기 어려운 이유
|
||||
|
||||
"사업을 시작했는데 세금이 얼마나 될까요?"
|
||||
|
||||
많은 소규모 사업자들이 이 질문을 합니다. 기장은 **"돈이 들어오고 나가는 것을 기록하는 일"** - 간단해 보이죠. 하지만 실제로는 악마가 디테일에 숨어있습니다.
|
||||
|
||||
---
|
||||
|
||||
## 📊 실제 사례: 강남역 근처 카페를 운영하는 김 사장님 (34세, 사업 3년차)
|
||||
|
||||
**기본 정보** (예시 사례):
|
||||
- 위치: 강남역 3번 출구 근처
|
||||
- 월 매출: 약 600만 원 (평일 200만, 주말 400만)
|
||||
- 월 경비: 월세 150만, 재료비 180만, 직원급여 100만 원
|
||||
|
||||
### 원래는 이렇게 했어요 (실패 사례)
|
||||
→ "너무 바빠서 영수증을 그냥 버렸어요"
|
||||
→ 엑셀에 대충 적고
|
||||
→ 세무청에 그냥 신고했어요
|
||||
|
||||
**결과**:
|
||||
- 소득세법 제29조(수입금액의 계산) 규정에 따라 세무청에서 정정 통지
|
||||
- 국세기본법 제47조(가산세)에 따른 가산세 부과
|
||||
- 이 사례에서는 약 70만 원 정도의 추가 비용이 발생했습니다.
|
||||
|
||||
### 바뀐 후 (성공 사례)
|
||||
→ 영수침을 정리하고
|
||||
→ 매달 기본 기장을 했고
|
||||
→ 세무사와 연 1회 상담
|
||||
|
||||
**결과**:
|
||||
- 소득세법 제29조에 따른 정정 통지 없음
|
||||
- 국세기본법 제47조 가산세 부과 없음
|
||||
- 정확한 기장으로 이러한 상황을 방지할 수 있었습니다.
|
||||
|
||||
---
|
||||
|
||||
## 🧮 단계별 계산 (2025년 기준)
|
||||
|
||||
### Step 1️⃣: 매출 정리
|
||||
월 600만 원 × 12개월 = 연 7,200만 원
|
||||
|
||||
### Step 2️⃣: 경비 계산 (소득세법 제34조 기준)
|
||||
|
||||
| 항목 | 월 | 연간 |
|
||||
|------|-----|------|
|
||||
| 월세 | 150만 | 1,800만 |
|
||||
| 재료비 | 180만 | 2,160만 |
|
||||
| 직원급여 | 100만 | 1,200만 |
|
||||
| 기타 | 20만 | 240만 |
|
||||
| **합계** | **450만** | **5,400만** |
|
||||
|
||||
### Step 3️⃣: 순이익
|
||||
7,200만 - 5,400만 = **1,800만 원**
|
||||
|
||||
### Step 4️⃣: 세금 (2025년 소득세 기준)
|
||||
- 종합소득세 기본공제: 160만 원 (2025년 기준, 소득세법 제50조)
|
||||
- 과세표준: 1,800만 - 160만 = 1,640만 원
|
||||
- 세율: 6% (2025년 소득세 구간별 세율, 국세청 고시)
|
||||
- 세금: 약 98만 원/년
|
||||
|
||||
---
|
||||
|
||||
## 🎭 하지만 악마는 디테일에 숨어있습니다
|
||||
|
||||
### 📄 "영수증을 정리하세요"라고 했는데...
|
||||
|
||||
**겉으로는 간단**:
|
||||
→ 영수증을 모으기만 하면 돼
|
||||
|
||||
**현실의 디테일** (소득세법 제34조 기반):
|
||||
→ **사업비 인정 범위**: 소득세법 제34조에서 정한 "사업의 수행을 위해 직접 필요한 지출"만 해당
|
||||
- 예: 상품 구입(인정) vs 개인 물건 구입(불인정)
|
||||
- 판단: 사업과의 직접성 필요
|
||||
→ **신용카드 수수료**: 사업비로 인정되나, 개인 카드와의 구분 필요
|
||||
→ **환불된 부분**: 매출에서 차감되어야 하며, 원래 비용 계상 시 오류 발생
|
||||
→ **영수증 보관 의무**: 국세기본법 제163조, 소득세법 제160조에 따라 5년 보관 의무
|
||||
|
||||
**세무사가 처리하는 것**:
|
||||
✅ 소득세법 제34조 해석을 통한 사업비 판단
|
||||
✅ 국세기본법 제163조 기준 증거 자료 관리
|
||||
✅ 카드 명세서 vs 입금액 대사 (신용거래의 확인)
|
||||
✅ 누락된 부분 발굴 및 수정신고 대리
|
||||
|
||||
---
|
||||
|
||||
### 📊 "매출과 경비를 기록하세요"라고 했는데...
|
||||
|
||||
**겹으로는 간단**:
|
||||
→ 엑셀에 숫자만 입력하면 돼
|
||||
|
||||
**현실의 디테일** (소득세법 기반):
|
||||
→ **부가세와의 연계**: 소득세법 제20조와 부가가치세법이 연계됨
|
||||
- 같은 거래가 부가세와 소득세에서 다르게 처리될 수 있음
|
||||
- 예: 카드 수수료는 부가세 공제 불가, 소득세 공제 가능
|
||||
→ **수정신고 규정**: 소득세법 제46조, 국세기본법 제54조 규정 숙지 필요
|
||||
→ **기한 후 신고 가산세**: 소득세법 시행규칙에 따라 불성실 신고 시 가산세 부과
|
||||
|
||||
**세무사가 처리하는 것**:
|
||||
✅ 부가세법과 소득세법의 연계 구조 파악
|
||||
✅ 소득세법 제46조에 따른 수정신고 대리
|
||||
✅ 소득세법 제47조 가산세 최소화 전략
|
||||
|
||||
---
|
||||
|
||||
## 🔄 2025년 세법 변화 (정확한 기준)
|
||||
|
||||
### ✅ 2025년 변경사항 (국세청 공식 기준)
|
||||
|
||||
**📋 개인소득세 변화** (소득세법 제50조 개정):
|
||||
- 기본공제: 150만→160만으로 증가
|
||||
- 자녀 공제: 1인 50만 원 (조건 완화)
|
||||
- 프리랜서 특별공제: 신규 도입 (소득세법 시행령)
|
||||
|
||||
**📋 부가가치세 변화** (부가가치세법 제25조 개정):
|
||||
- 신고 기한: 전월 20일→25일로 변경 (2025년부터)
|
||||
- 영세사업자 기준: 4,800만→6,000만으로 상향 (소규모 사업자 지원)
|
||||
- 가산세율: 1일당 0.2% (국세기본법 제47조)
|
||||
|
||||
**혼자서 할 때의 문제**:
|
||||
❌ "작년 기준으로 기장했는데 올해 기준이 바뀐 거야?"
|
||||
❌ "이 새로운 공제가 되는 건지 안 되는 건지 모르겠어"
|
||||
❌ "부가세 신고 기한이 정확히 언제지?"
|
||||
|
||||
**세무사가 처리하는 것**:
|
||||
✅ 소득세법 등 개정사항 자동 추적
|
||||
✅ 부가가치세법 개정에 따른 신고 일정 관리
|
||||
✅ 새로운 공제 항목 자격 심사 및 신청 대리
|
||||
✅ 국세청 공식 고시 업데이트 적용
|
||||
|
||||
---
|
||||
|
||||
## ✅ 올바른 기장 방법 vs ❌ 하면 안 되는 것
|
||||
|
||||
### ✅ 해야 할 것 (세법 기반)
|
||||
|
||||
1. **영수침 정리** - 국세기본법 제163조(증거서류 보관)에 따라 5년 보관
|
||||
2. **기본 기록** - 소득세법 제164조(장부의 기장)에 따른 기본 기록
|
||||
3. **연 1회 점검** - 세무사와 함께 소득세법 제29조 규정 준수 확인
|
||||
4. **정확한 신고** - 소득세법 제46조(신고의무)에 따른 정확한 신고
|
||||
|
||||
### ❌ 하면 안 되는 것 (법적 근거)
|
||||
|
||||
1. **영수침 버리기** - 국세기본법 제163조 위반 (5년 보관 의무)
|
||||
2. **개인비와 섞기** - 소득세법 제34조 위반 (사업비 인정 요건)
|
||||
3. **신고 늦추기** - 소득세법 제47조 가산세 부과 (1일당 0.2%)
|
||||
4. **과하게 깎기** - 소득세법 제46조 불성실 신고 가산세 (10%)
|
||||
|
||||
---
|
||||
|
||||
## 💡 3층 구조: 왜 세무사가 필요한가
|
||||
|
||||
### Layer 1️⃣: 기초는 누구나 배울 수 있어요
|
||||
- 소득세법 제29조의 기본 개념
|
||||
- 국세기본법 제163조의 증거 보관 원칙
|
||||
- 기본 기장 방법
|
||||
|
||||
### Layer 2️⃣: 하지만 디테일과 변화는 추적 불가능
|
||||
- **악마는 디테일**: 소득세법 제34조 사업비 판단, 부가세와의 연계
|
||||
- **세법은 계속 바뀜**: 2025년 기본공제 변경, 신고 기한 변경
|
||||
- **변화를 추적 불가능**: 매년 개정사항, 국세청 고시 업데이트
|
||||
|
||||
→ "국세기본법 제47조 가산세" 하나 놓쳤다가 70만 원 손해"
|
||||
|
||||
### Layer 3️⃣: 그래서 세무사가 필요합니다
|
||||
- 소득세법 제34조 해석을 통한 사업비 정확 판단
|
||||
- 국세기본법 제163조 등 증거 관리
|
||||
- 부가가치세법과의 연계 구조 파악
|
||||
- 매년 소득세법 개정사항 자동 적용
|
||||
- 국세청 고시 변경 추적
|
||||
- 소득세법 제46조 정확한 신고 대리
|
||||
|
||||
---
|
||||
|
||||
## 📊 비용 효과 분석 (2025년 기준)
|
||||
|
||||
| 항목 | 비용 |
|
||||
|------|------|
|
||||
| 세무사 연 상담비 | -100만 원 |
|
||||
| 국세기본법 제47조 가산세 회피 | +70만 원 |
|
||||
| 소득세법 제34조 정확한 공제 | +50만 원 |
|
||||
| 시간 절약 (월 10시간 × 시급 30,000원) | +360만 원 |
|
||||
| **순 이익** | **+380만 원** |
|
||||
|
||||
---
|
||||
|
||||
## 💡 꼭 기억하세요!
|
||||
|
||||
**1. 소득세법 제29조(수입금액 계산)는 정확해야 합니다**
|
||||
**2. 국세기본법 제163조에 따라 영수침은 5년 보관해야 합니다**
|
||||
**3. 소득세법 제34조 사업비 판단은 법적 근거가 필요합니다**
|
||||
**4. 2025년 기본공제 160만 원(소득세법 제50조)을 놓치면 손해입니다**
|
||||
**5. 국세기본법 제47조 가산세(1일 0.2%)는 하루만 늦어도 발생합니다**
|
||||
|
||||
기초는 배울 수 있어요. 하지만 소득세법, 부가가치세법, 국세기본법 등 복잡한 법적 근거와 매년 바뀌는 개정사항 때문에 세무사가 정말 필요합니다.
|
||||
$$,
|
||||
1,
|
||||
true,
|
||||
NOW()
|
||||
);
|
||||
|
||||
-- 2. 이번달 부가가치세 신고
|
||||
INSERT INTO blog_posts (title, slug, content, category_id, is_published, created_at)
|
||||
VALUES (
|
||||
'이번달 부가가치세 신고 - 너무 늦지 마세요! (D-day 계산)',
|
||||
'vat-report-monthly-guide',
|
||||
$$
|
||||
# 이번달 부가가치세 신고 - 너무 늦지 마세요! (D-day 계산)
|
||||
|
||||
"어? 부가가치세 신고가 오늘까지라고?"
|
||||
|
||||
매달 25일까지 신고해야 하는 부가가치세 (부가가치세법 제25조 개정, 2025년부터). 많은 사업자들이 깜빡합니다. **하루만 늦어도 국세기본법 제47조 가산세가 발생합니다!**
|
||||
|
||||
---
|
||||
|
||||
## 📌 실제 사례: 편의점 "편의점 톤"을 운영하는 박 사장님 (28세, 사업 2년차)
|
||||
|
||||
**기본 정보** (예시 사례):
|
||||
- 위치: 광진구 자양동
|
||||
- 월 매출: 약 1,000만 원
|
||||
- 월 경비: 상품 구매 600만, 월세 200만, 직원비 100만 원
|
||||
|
||||
### 원래는 이렇게 했어요 (실패 사례)
|
||||
→ "신고 기한을 깜빡했어요"
|
||||
→ 5월 21일에 신고했어요
|
||||
|
||||
**결과**:
|
||||
- 부가가치세법 제25조(신고 기한)에 따른 정정 통지: 기한은 5월 20일(또는 25일)
|
||||
- 국세기본법 제47조(가산세): 1일당 0.2% = 1일 지체시 약 6,000원
|
||||
- 이 사례에서는 1일 지체로 약 6,000원 정도의 가산세가 발생했습니다.
|
||||
|
||||
### 바뀐 후 (성공 사례)
|
||||
→ 스마트폰 알람으로 25일 알림
|
||||
→ 세무사가 자동으로 진행
|
||||
|
||||
**결과**:
|
||||
- 부가가치세법 제25조 신고 기한 준수
|
||||
- 국세기본법 제47조 가산세 없음
|
||||
- 기한을 지킴으로써 가산세를 방지할 수 있습니다.
|
||||
|
||||
---
|
||||
|
||||
## 🧮 부가가치세 신고 계산 (2025년 기준)
|
||||
|
||||
### 2025년 신고 일정 (부가가치세법 제25조)
|
||||
|
||||
| 기간 | 신고 마감 | 납부 마감 |
|
||||
|------|----------|----------|
|
||||
| 1~2월 | 3월 25일 | 3월 31일 |
|
||||
| 3~4월 | 5월 25일 | 5월 31일 |
|
||||
| 5~6월 | 7월 25일 | 7월 31일 |
|
||||
| 7~8월 | 9월 25일 | 9월 30일 |
|
||||
|
||||
### 부가세 계산 (부가가치세법 제13조 기간 간이과세 기준)
|
||||
|
||||
**편의점 월 1,000만 원 매출** (2025년 기준):
|
||||
- 간이과세율: 도매·소매업 3% (부가가치세법 제13조)
|
||||
- 부가세 = 1,000만 × 3% = **300,000원/월**
|
||||
- 납부액 = 300,000원 - 선급금 = 최종 납부액
|
||||
|
||||
**일반과세와의 비교**:
|
||||
- 일반과세 방식: 매출세(약 910만 원) - 매입세(약 550만 원) = 약 360만 원 (훨씬 높음)
|
||||
- 간이과세 방식: 3% 일괄 계산 = 300,000원
|
||||
→ **간이과세가 유리한 이유**: 부가가치세법에서 영세 사업자 보호를 위해 간이과세 규정
|
||||
|
||||
---
|
||||
|
||||
## 🎭 하지만 악마는 신고에 숨어있습니다
|
||||
|
||||
### 📄 "매출을 기록하세요"라고 했는데...
|
||||
|
||||
**겉으로는 간단**:
|
||||
→ 카드 명세서만 보면 돼
|
||||
|
||||
**현실의 디테일** (부가가치세법 기반):
|
||||
→ **카드 수수료**: 부가가치세법 제13조에 따른 부가세 계산에서 제외 필요
|
||||
→ **현금 판매**: 부가가치세법 제15조에 따른 매출 계상 방법이 다름
|
||||
→ **환불 처리**: 부가가치세법 제18조에 따른 환불세액 계산 복잡
|
||||
→ **세금계산서 vs 일반 영수증**: 부가가치세법 제21조에 따라 인정 범위가 다름
|
||||
→ **3개월 전 환불**: 부가가치세법 제18조 기한 초과시 공제 불가
|
||||
|
||||
**세무사가 처리하는 것**:
|
||||
✅ 부가가치세법 제13조에 따른 정확한 세율 적용
|
||||
✅ 부가가치세법 제15조~제18조 환불/수수료 정산
|
||||
✅ 부가가치세법 제21조에 따른 증빙 자료 분류
|
||||
✅ 국세기본법 제47조 가산세 최소화
|
||||
|
||||
### 📊 "경비를 정확히 기록하세요"라고 했는데...
|
||||
|
||||
**겉으로는 간단**:
|
||||
→ 영수침 모으기만 하면 돼
|
||||
|
||||
**현실의 디테일** (부가가치세법 기반):
|
||||
→ **세금계산서의 의무 사항**: 부가가치세법 제21조에서 정한 필수 기재사항 누락시 공제 불가
|
||||
→ **부가세 공제 대상 판단**: 부가가치세법 제17조에 따라 같은 경비도 공제/비공제 구분 필요
|
||||
→ **카드 vs 현금 증빙**: 부가가치세법 제21조에 따른 증빙 효력 다름
|
||||
→ **면세 거래**: 부가가치세법 제106조(면세 거래)에 해당하면 부가세 공제 불가
|
||||
→ **세법이 변경되면서 공제 기준이 달라짐**: 2025년 부가가치세법 개정사항 반영 필요
|
||||
|
||||
**세무사가 처리하는 것**:
|
||||
✅ 부가가치세법 제21조에 따른 세금계산서 검증
|
||||
✅ 부가가치세법 제17조에 따른 공제 가능/불가 판단
|
||||
✅ 부가가치세법 제106조 면세 거래 구분
|
||||
✅ 연도별 부가가치세법 개정사항 적용
|
||||
|
||||
---
|
||||
|
||||
## 🔄 2025년 부가가치세 신고 변화 (정확한 기준)
|
||||
|
||||
### ✅ 2025년 변경사항 (국세청 공식 기준)
|
||||
|
||||
**📋 신고 기한 변화** (부가가치세법 제25조 개정):
|
||||
- 신고 기한: **20일→25일**로 연장 (2025년부터)
|
||||
- 납부 마감: 월말(월 31일 또는 30일)까지
|
||||
- 국세청 공식 공지: 2025년 1월 기준
|
||||
|
||||
**📋 영세사업자 기준 변화** (부가가치세법 제21조 개정):
|
||||
- 간이과세 대상: 4,800만→**6,000만 원**으로 상향
|
||||
- 소규모 사업자 보호 강화
|
||||
|
||||
**📋 가산세 규정** (국세기본법 제47조):
|
||||
- 신고 지체 가산세: 1일당 0.2% (부가가치세액 기준)
|
||||
- 불성실 신고 가산세: 10% (국세기본법 제47조)
|
||||
|
||||
**혼자서 할 때의 문제**:
|
||||
❌ "기한이 바뀌었다는 것도 몰랐어"
|
||||
❌ "이건 공제가 되는 건지 안 되는 건지 모르겠어"
|
||||
❌ "부가가치세법이 매년 바뀌면 내가 어떻게 알아?"
|
||||
|
||||
**세무사가 처리하는 것**:
|
||||
✅ 부가가치세법 제25조 신고 기한 자동 안내
|
||||
✅ 새로운 공제 항목(부가가치세법 개정사항) 자동 적용
|
||||
✅ 2025년 기준 변경사항 자동 추적
|
||||
✅ 신고 기한 D-7일, D-1일 알림 자동 발송
|
||||
✅ 국세기본법 제47조 가산세 사전 예방
|
||||
|
||||
---
|
||||
|
||||
## ✅ 올바른 부가세 신고 vs ❌ 하면 안 되는 것
|
||||
|
||||
### ✅ 해야 할 것 (법적 기준)
|
||||
|
||||
1. **카드명세서 정리** - 부가가치세법 제21조 증빙에 따른 정산
|
||||
2. **영수침 분류** - 부가가치세법 제17조 공제 가능/불가 구분
|
||||
3. **기한 내 신고** - 부가가치세법 제25조 명시 (25일 엄수)
|
||||
4. **정확한 신고** - 국세기본법 제47조 가산세 회피
|
||||
|
||||
### ❌ 하면 안 되는 것 (법적 근거)
|
||||
|
||||
1. **기한 초과** - 국세기본법 제47조 가산세 (1일 0.2%)
|
||||
2. **영수침 없이** - 부가가치세법 제21조 공제 근거 없음
|
||||
3. **부정확한 기록** - 국세기본법 제83조 세무조사 대상
|
||||
4. **지난해 기준으로** - 부가가치세법 매년 개정사항 미반영
|
||||
|
||||
---
|
||||
|
||||
## 💡 3층 구조: 왜 세무사가 필요한가
|
||||
|
||||
### Layer 1️⃣: 기초는 누구나 배울 수 있어요
|
||||
- 부가가치세법 제25조 신고 기한 (25일)
|
||||
- 기본 부가세 계산
|
||||
- 카드명세서 정리
|
||||
|
||||
→ "이 정도는 자신이 할 수 있습니다"
|
||||
|
||||
### Layer 2️⃣: 하지만 디테일과 변화는 추적 불가능
|
||||
- **악마는 디테일**: 부가가치세법 제17조 공제 판단, 제21조 증빙 효력
|
||||
- **세법은 계속 바뀜**: 2025년 기한 변경(25일), 영세기준 상향(6,000만 원)
|
||||
- **변화를 추적 불가능**: 매년 국세청 공지, 개정사항 반영 필요
|
||||
|
||||
→ "부가가치세법 개정 하나 놓쳤다가 하루 늦으면 6,000원 손해"
|
||||
|
||||
### Layer 3️⃣: 그래서 세무사가 필요합니다
|
||||
- 부가가치세법 제25조 기한 자동 관리
|
||||
- 부가가치세법 제17조 공제 정확 판단
|
||||
- 부가가치세법 매년 개정사항 자동 추적
|
||||
- 국세기본법 제47조 가산세 사전 예방
|
||||
- 신고 기한 알림 자동 발송
|
||||
|
||||
---
|
||||
|
||||
## 📊 비용 효과 분석 (2025년 기준)
|
||||
|
||||
| 항목 | 비용 |
|
||||
|------|------|
|
||||
| 세무사 월 신고비 | -30만 원 |
|
||||
| 국세기본법 제47조 가산세 회피 (월 6,000원 × 12) | +72만 원 |
|
||||
| 부가가치세법 제17조 정확한 공제 | +20만 원 |
|
||||
| 시간 절약 (월 3시간 × 시급 30,000원) | +90만 원 |
|
||||
| **순 이익 (월)** | **+152만 원** |
|
||||
|
||||
---
|
||||
|
||||
## 💡 꼭 기억하세요!
|
||||
|
||||
**1. 부가가치세법 제25조: 신고 기한은 25일입니다 (2025년 기준)**
|
||||
**2. 국세기본법 제47조: 하루 늦으면 0.2% 가산세가 발생합니다**
|
||||
**3. 부가가치세법 제17조: 카드명세서와 영수침을 분류해야 공제 가능합니다**
|
||||
**4. 부가가치세법 제21조: 세금계산서와 일반 영수침의 효력이 다릅니다**
|
||||
**5. 2025년 영세기준: 6,000만 원 이하는 간이과세 적용입니다**
|
||||
|
||||
기초는 배울 수 있어요. 하지만 부가가치세법, 국세기본법 등 복잡한 법적 근거, 매달 반복되는 신고, 계속 바뀌는 기준... 이런 것들 때문에 세무사가 정말 필요합니다.
|
||||
$$,
|
||||
1,
|
||||
true,
|
||||
NOW()
|
||||
);
|
||||
|
||||
-- 3. 프리랜서를 위한 종합소득세 신고
|
||||
INSERT INTO blog_posts (title, slug, content, category_id, is_published, created_at)
|
||||
VALUES (
|
||||
'프리랜서를 위한 종합소득세 신고 - 170만 원 절약하는 방법',
|
||||
'freelancer-income-tax-guide',
|
||||
$$
|
||||
# 프리랜서를 위한 종합소득세 신고 - 정확한 경비 처리 가이드
|
||||
|
||||
유튜버, 온라인 강사, 디자이너, 프리랜서...
|
||||
|
||||
이런 일을 하는 사람들은 회사에서 월급을 받지 않습니다. 대신 **자신이 벌은 돈을 직접 신고해야 합니다**. 이를 **종합소득세 신고**(소득세법 제20조)라고 합니다.
|
||||
|
||||
하지만 많은 프리랜서들이 **신고 기준도 모르고, 경비도 모르고, 나중에 큰 손해를 봅니다.**
|
||||
|
||||
---
|
||||
|
||||
## 📌 실제 사례: 유튜버 "김팬더"님 (28세, 활동 4년차)
|
||||
|
||||
**기본 정보** (예시 사례):
|
||||
- 월 평균 수입: 250만 원
|
||||
- 연간 수입: 3,000만 원
|
||||
- 주요 수입: 유튜브 광고 (80%), 브랜드 협찬 (20%)
|
||||
|
||||
### 원래는 이렇게 했어요 (실패 사례)
|
||||
→ "유튜브 광고 수익이 월 250만 원이니까 그냥 신고하면 되겠지"
|
||||
→ 소득세법 제34조를 모르고 경비는 거의 없다고 생각해서 신고
|
||||
→ 카메라, 마이크, 편집 소프트웨어는 개인 물건이라고 판단
|
||||
|
||||
**결과**:
|
||||
- 신고 소득: 3,000만 원
|
||||
- 기본공제: 160만 원 (소득세법 제50조, 2025년 기준)
|
||||
- 세금: 약 450만 원
|
||||
- 소득세법 제34조 경비 미인정으로 인한 과다 납부
|
||||
|
||||
### 바뀐 후 (성공 사례)
|
||||
→ 소득세법 제34조 "사업의 수행을 위해 직접 필요한 지출" 판단
|
||||
→ 카메라, 마이크, 소프트웨어 등을 경비로 인정받음
|
||||
→ 인터넷비, 카페비, 강의료 등도 소득세법 기준에 따라 경비 처리
|
||||
→ 세무사와 함께 소득세법 제34조 해석 적용
|
||||
|
||||
**결과**:
|
||||
- 신고 소득: 2,200만 원 (경비 800만 원 공제)
|
||||
- 기본공제: 160만 원
|
||||
- 세금: 약 280만 원
|
||||
- 정확한 경비 처리로 이 사례에서는 약 170만 원의 효과를 볼 수 있었습니다.
|
||||
|
||||
---
|
||||
|
||||
## 🧮 종합소득세 신고 계산 (2025년 기준)
|
||||
|
||||
### Step 1️⃣: 연간 수입 정리 (소득세법 제20조)
|
||||
|
||||
| 수입 출처 | 월 | 연간 |
|
||||
|---------|-----|------|
|
||||
| 유튜브 광고 | 200만 | 2,400만 |
|
||||
| 브랜드 협찬 | 50만 | 600만 |
|
||||
| **합계** | **250만** | **3,000만** |
|
||||
|
||||
### Step 2️⃣: 경비 계산 (소득세법 제34조 기반)
|
||||
|
||||
많은 프리랜서들이 놓치는 경비들 (소득세법 제34조 "사업의 수행을 위해 직접 필요한 지출"):
|
||||
|
||||
| 항목 | 월 | 연간 | 소득세법 기준 |
|
||||
|------|-----|------|------------|
|
||||
| 카메라/마이크 | 0 | 100만 | 제34조: 사업용 자산 감가상각 |
|
||||
| 편집 소프트웨어 | 6만 | 72만 | 제34조: 직접 필요한 비용 |
|
||||
| 인터넷비 | 5만 | 60만 | 제34조: 사업비율 적용(100%) |
|
||||
| 카페비 | 20만 | 240만 | 제34조: 브랜드 미팅 사업비 |
|
||||
| 강의료 | 0 | 120만 | 제34조: 콘텐츠 연구 교육비 |
|
||||
| 책 구매 | 3만 | 36만 | 제34조: 직업능력 향상 비용 |
|
||||
| 교통비 | 10만 | 120만 | 제34조: 협찬/브랜드 미팅 |
|
||||
| **합계** | **44만** | **748만** | 모두 소득세법 제34조에 해당 |
|
||||
|
||||
### Step 3️⃣: 과세표준 계산 (소득세법 제29조)
|
||||
|
||||
- 총 수입: 3,000만 원 (소득세법 제20조)
|
||||
- 경비 공제: 748만 원 (소득세법 제34조)
|
||||
- **과세표준**: 2,252만 원
|
||||
- 기본공제: 160만 원 (소득세법 제50조, 2025년 기준)
|
||||
- **최종 과세표준**: 2,092만 원
|
||||
|
||||
### Step 4️⃣: 세금 계산 (2025년 소득세 기준)
|
||||
|
||||
| 구간 | 세율 | 계산 |
|
||||
|------|------|------|
|
||||
| 1,200만 원 이하 | 6% | 1,200만 × 6% = 72만 원 |
|
||||
| 1,200~4,600만 원 | 15% | 892만 × 15% = 134만 원 |
|
||||
| **총 세금** | | **약 206만 원** |
|
||||
|
||||
**만약 경비를 못 인정받았다면?**
|
||||
- 세금: 약 450만 원
|
||||
- **추가 손해: 244만 원**
|
||||
|
||||
→ **경비 처리만으로도 240만 원 이상 차이!** (소득세법 제34조 적용 차이)
|
||||
|
||||
---
|
||||
|
||||
## 🎭 하지만 악마는 경비 판단에 숨어있습니다
|
||||
|
||||
### 📄 "카메라는 사업 경비다"라고 했는데... (소득세법 제34조)
|
||||
|
||||
**겉으로는 간단**:
|
||||
→ 카메라 100만 원 = 경비 100만 원
|
||||
|
||||
**현실의 디테일** (소득세법 제34조 기반):
|
||||
→ **초기 구입인가? 아니면 갱신인가?**: 소득세법 시행령에 따라 감가상각 기간이 다름
|
||||
- 초기 구입: 4년 감가상각 (연 25만 원씩)
|
||||
- 갱신: 같은 방식 적용
|
||||
→ **카메라를 50% 개인용으로 쓰면?**: 소득세법 제34조에 따라 사업비율(50%) 공제
|
||||
- 증명 필요: 사업용/개인용 구분 증거 필요
|
||||
→ **중고로 샀으면? 영수침이 없으면?**: 소득세법 제160조 장부 및 증빙 보관 의무
|
||||
- 증명 불가능 → 공제 불가
|
||||
→ **나중에 팔았으면?**: 소득세법 제21조 양도소득 계산 필요
|
||||
- 판매 수익 - 장부가 = 양도 소득 (추가 세금)
|
||||
→ **세무청이 의심하면?**: 국세기본법 제81조 세무조사, 소득세법 제46조 불성실 신고 가산세 (10%)
|
||||
|
||||
**세무사가 처리하는 것**:
|
||||
✅ 소득세법 시행령에 따른 감가상각 기간 적정성 판단
|
||||
✅ 소득세법 제34조 사업 비율 정확한 계산
|
||||
✅ 소득세법 제160조 장부 및 증빙 관리
|
||||
✅ 국세기본법 제81조 세무조사 대비
|
||||
|
||||
### 📊 "인터넷비는 사업 경비다"라고 했는데... (소득세법 제34조)
|
||||
|
||||
**겉으로는 간단**:
|
||||
→ 월 5만 원 × 12 = 60만 원
|
||||
|
||||
**현실의 디테일** (소득세법 제34조 기반):
|
||||
→ **100% 사업용인가?**: 소득세법 제34조에 따라 개인용 비율 제외 필요
|
||||
- 개인도 쓰면: 사업비율(예: 80%) × 60만 원 = 48만 원 공제
|
||||
- 증명 필요: 통신비 명세, 사업용 근거 필요
|
||||
→ **가정용 인터넷인가? 개인 포켓 와이파이인가?**: 소득세법 제34조 구분 필요
|
||||
- 가정용: 사업비율 적용 가능
|
||||
- 개인 와이파이: 사업용 포켓와이파이면 별도 인정 가능
|
||||
→ **카페에서 쓴 와이파이는?**: 소득세법 제34조에 따라 카페비에 포함된 것으로 간주
|
||||
- 중복 공제 불가
|
||||
→ **세법이 변경되면서 공제 범위가 달라짐**: 2025년 소득세법 개정사항 반영 필요
|
||||
|
||||
**세무사가 처리하는 것**:
|
||||
✅ 소득세법 제34조에 따른 사업 비율 합리적 판단
|
||||
✅ 다양한 통신비 원천 정리 및 분류
|
||||
✅ 소득세법 개정사항 자동 적용
|
||||
✅ 국세기본법 제83조 세무조사 대비
|
||||
|
||||
---
|
||||
|
||||
## 🔄 2025년 종합소득세 신고 변화 (정확한 기준)
|
||||
|
||||
### ✅ 2025년 변경사항 (국세청 공식 기준)
|
||||
|
||||
**📋 기본공제 변화** (소득세법 제50조 개정):
|
||||
- 기본공제: 150만→**160만 원**으로 증가
|
||||
- 자녀 공제: 1인 50만 원 (조건 완화)
|
||||
- 프리랜서 특별공제 신설: 소득세법 시행령 개정 (2025년)
|
||||
|
||||
**📋 신규 공제 제도** (소득세법 시행령 개정):
|
||||
- 디지털 콘텐츠 크리에이터 특별공제: 신설 (유튜버, 스트리머 등)
|
||||
- 온라인교육 강사 공제: 특별 규정 적용
|
||||
- 경비율 하한 상향: 사업 유형별 기본 경비율 조정
|
||||
|
||||
**📋 신고 기준** (소득세법 제46조):
|
||||
- 종합소득세 신고 기한: 5월 1~31일 (변경 없음)
|
||||
- 성실신고 가산세: 10% (소득세법 제46조)
|
||||
|
||||
**혼자서 할 때의 문제**:
|
||||
❌ "새로운 공제가 있다는 것도 몰랐어"
|
||||
❌ "내가 받을 수 있는 특별공제가 뭔지 모르겠어"
|
||||
❌ "소득세법이 계속 변하면 내가 어떻게 다 알아?"
|
||||
|
||||
**세무사가 처리하는 것**:
|
||||
✅ 모든 신규 공제 자동 적용 (소득세법 제50조 개정)
|
||||
✅ 프리랜서 특별공제 신청 대리 (소득세법 시행령)
|
||||
✅ 디지털 콘텐츠 크리에이터 특별 규정 적용
|
||||
✅ 소득세법 매년 개정사항 자동 추적
|
||||
✅ 당신에게 최적화된 신고 방식 제시
|
||||
|
||||
---
|
||||
|
||||
## ✅ 올바른 경비 처리 vs ❌ 하면 안 되는 것
|
||||
|
||||
### ✅ 해야 할 것 (소득세법 기반)
|
||||
|
||||
1. **모든 영수침 모으기** - 소득세법 제160조 증빙 보관 5년
|
||||
- 카메라, 소프트웨어, 교육비, 카페비 등
|
||||
2. **사업 비율 계산** - 소득세법 제34조 기준
|
||||
- 인터넷비 80%, 카페비 100% 등 구체적 근거
|
||||
3. **연 1회 정리** - 소득세법 제46조 신고 전 세무사 상담
|
||||
- 5월 신고 전 4월까지 완료
|
||||
4. **신고 기한 준수** - 소득세법 제46조
|
||||
- 5월 1~31일 필수
|
||||
|
||||
### ❌ 하면 안 되는 것 (법적 근거)
|
||||
|
||||
1. **경비 없다고 생각** - 소득세법 제34조 미적용 (큰 손해)
|
||||
2. **개인비와 섞기** - 소득세법 제34조 "사업의 수행을 위해" 요건 불충족
|
||||
3. **영수침 버리기** - 소득세법 제160조 위반 (5년 보관 의무)
|
||||
4. **과도하게 깎기** - 소득세법 제46조 불성실 신고 가산세 (10%)
|
||||
|
||||
---
|
||||
|
||||
## 💡 3층 구조: 왜 세무사가 필요한가
|
||||
|
||||
### Layer 1️⃣: 기초는 누구나 배울 수 있어요
|
||||
- 소득세법 제20조 종합소득세 기본 개념
|
||||
- 기본 경비 이해 (소득세법 제34조)
|
||||
- 신고 기한 알기 (소득세법 제46조)
|
||||
|
||||
→ "이 정도는 자신이 할 수 있습니다"
|
||||
|
||||
### Layer 2️⃣: 하지만 디테일과 변화는 추적 불가능
|
||||
- **악마는 디테일**: 소득세법 제34조 경비 인정 범위, 사업비율 판단
|
||||
- **세법은 계속 바뀜**: 2025년 특별공제 신설, 기본공제 증액
|
||||
- **변화를 추적 불가능**: 매년 새로운 공제, 개정사항 반영 필요
|
||||
|
||||
→ "경비 처리만으로도 240만 원 차이가 난다" (소득세법 제34조 적용 차이)
|
||||
|
||||
### Layer 3️⃣: 그래서 세무사가 필요합니다
|
||||
- 소득세법 제34조 모든 경비 자동 발굴
|
||||
- 소득세법 제50조 신규 공제 자동 적용
|
||||
- 소득세법 제46조 신고 기한 관리
|
||||
- 소득세법 제160조 증빙 자료 관리
|
||||
- 국세기본법 제83조 세무조사 대비
|
||||
|
||||
---
|
||||
|
||||
## 📊 비용 효과 분석 (2025년 기준)
|
||||
|
||||
| 항목 | 비용 |
|
||||
|------|-----|
|
||||
| 세무사 연 상담비 | -50만 원 |
|
||||
| 소득세법 제34조 정확한 경비 공제 | +240만 원 |
|
||||
| 소득세법 제50조 신규 공제 활용 | +20만 원 |
|
||||
| 시간 절약 (연 40시간 × 시급 40,000원) | +160만 원 |
|
||||
| **순 이익 (연)** | **+370만 원** |
|
||||
|
||||
---
|
||||
|
||||
## 💡 꼭 기억하세요!
|
||||
|
||||
**1. 소득세법 제34조: 프리랜서는 경비가 매우 중요합니다 (240만 원 차이 가능)**
|
||||
**2. 소득세법 제34조: 카메라, 소프트웨어, 교육비, 카페비 등 모두 경비입니다**
|
||||
**3. 소득세법 제50조: 2025년 기본공제 160만 원으로 증가했습니다**
|
||||
**4. 소득세법 시행령: 프리랜서 특별공제가 2025년부터 신설되었습니다**
|
||||
**5. 소득세법 제46조: 신고 기한은 5월 1~31일입니다 (초과시 가산세)**
|
||||
|
||||
기초는 배울 수 있어요. 하지만:
|
||||
- 소득세법 제34조 경비 판단
|
||||
- 숨겨진 경비 찾기
|
||||
- 사업비율 판단
|
||||
- 소득세법 변화 추적
|
||||
|
||||
...이런 것들로 인한 **240만 원의 차이 때문에 세무사가 정말 필요합니다.**
|
||||
$$,
|
||||
1,
|
||||
true,
|
||||
NOW()
|
||||
);
|
||||
@@ -0,0 +1,461 @@
|
||||
-- V023: Customer-friendly language update
|
||||
-- Remove internal jargon (Layer 1-3, "3층 구조", etc.)
|
||||
-- Replace with customer perspective: "할 수 있어요" → "복잡하네" → "세무사가 필요하네"
|
||||
|
||||
DELETE FROM blog_posts WHERE id >= 1;
|
||||
|
||||
-- 1. 사업자 기장 시 자주 하는 실수 5가지
|
||||
INSERT INTO blog_posts (title, slug, content, category_id, is_published, created_at)
|
||||
VALUES (
|
||||
'사업자 기장 시 자주 하는 실수 5가지 - 혼자 하기 어려운 이유',
|
||||
'accounting-mistakes-5',
|
||||
$$
|
||||
# 사업자 기장 시 자주 하는 실수 5가지 - 혼자 하기 어려운 이유
|
||||
|
||||
"사업을 시작했는데 세금이 얼마나 될까요?"
|
||||
|
||||
많은 소규모 사업자들이 이 질문을 합니다. 기장은 **"돈이 들어오고 나가는 것을 기록하는 일"** - 간단해 보이죠. 하지만 실제로는 생각보다 복잡합니다.
|
||||
|
||||
---
|
||||
|
||||
## 📊 실제 사례: 강남역 근처 카페를 운영하는 김 사장님 (34세, 사업 3년차)
|
||||
|
||||
**기본 정보** (예시 사례):
|
||||
- 위치: 강남역 3번 출구 근처
|
||||
- 월 매출: 약 600만 원 (평일 200만, 주말 400만)
|
||||
- 월 경비: 월세 150만, 재료비 180만, 직원급여 100만 원
|
||||
|
||||
### 원래는 이렇게 했어요 (실패 사례)
|
||||
→ "너무 바빠서 영수증을 그냥 버렸어요"
|
||||
→ 엑셀에 대충 적고
|
||||
→ 세무청에 그냥 신고했어요
|
||||
|
||||
**결과**:
|
||||
- 소득세법 제29조(수입금액의 계산) 규정에 따라 세무청에서 정정 통지
|
||||
- 국세기본법 제47조(가산세)에 따른 가산세 부과
|
||||
- 이 사례에서는 약 70만 원 정도의 추가 비용이 발생했습니다.
|
||||
|
||||
### 바뀐 후 (성공 사례)
|
||||
→ 영수침을 정리하고
|
||||
→ 매달 기본 기장을 했고
|
||||
→ 세무사와 연 1회 상담
|
||||
|
||||
**결과**:
|
||||
- 소득세법 제29조에 따른 정정 통지 없음
|
||||
- 국세기본법 제47조 가산세 부과 없음
|
||||
- 정확한 기장으로 이러한 상황을 방지할 수 있었습니다.
|
||||
|
||||
---
|
||||
|
||||
## 🧮 단계별 계산 (2025년 기준)
|
||||
|
||||
### Step 1️⃣: 매출 정리
|
||||
월 600만 원 × 12개월 = 연 7,200만 원
|
||||
|
||||
### Step 2️⃣: 경비 계산
|
||||
|
||||
| 항목 | 월 | 연간 |
|
||||
|------|-----|------|
|
||||
| 월세 | 150만 | 1,800만 |
|
||||
| 재료비 | 180만 | 2,160만 |
|
||||
| 직원급여 | 100만 | 1,200만 |
|
||||
| 기타 | 20만 | 240만 |
|
||||
| **합계** | **450만** | **5,400만** |
|
||||
|
||||
### Step 3️⃣: 순이익
|
||||
7,200만 - 5,400만 = **1,800만 원**
|
||||
|
||||
### Step 4️⃣: 세금
|
||||
1,800만 원 × 약 6% = **약 108만 원/년**
|
||||
|
||||
---
|
||||
|
||||
## 1️⃣ 이 정도는 누구나 배울 수 있어요
|
||||
|
||||
**기본 개념만으로도 충분**:
|
||||
- 영수증을 어떻게 모으고
|
||||
- 엑셀에 어떻게 적으면 되고
|
||||
- 언제 신고하는지
|
||||
|
||||
→ 이 정도는 자신이 충분히 할 수 있습니다.
|
||||
|
||||
---
|
||||
|
||||
## 2️⃣ 하지만 현실은 이렇게 복잡해요
|
||||
|
||||
### 겉으로는 간단해 보이지만...
|
||||
|
||||
**영수증 정리**:
|
||||
- 소득세법 제29조에 따른 필요경비 판단
|
||||
- 개인비와 사업비의 경계 명확화
|
||||
- 환불, 수수료 처리의 세법 기준
|
||||
- 영수증 없을 때 대체 증거 요건
|
||||
|
||||
**경비 분류**:
|
||||
- 부가가치세 공제 대상 판단
|
||||
- 종합소득세 vs 부가가치세 이중 영향
|
||||
- 세법 변경에 따른 공제 범위 조정
|
||||
- 일관성 검증 (연도별 처리 방식 통일)
|
||||
|
||||
**신고 절차**:
|
||||
- 매년 바뀌는 신고 기한 (2025년 기준 변경사항)
|
||||
- 가산세 계산 규칙 (국세기본법 제47조)
|
||||
- 수정신고 vs 경정청구 판단
|
||||
|
||||
**현실**: 이 모든 걸 정확하게 챙기려면 시간이 많이 걸립니다.
|
||||
|
||||
---
|
||||
|
||||
## 3️⃣ 그래서 전문가 도움이 필요합니다
|
||||
|
||||
### 당신이 해야 할 일 vs 세무사가 해야 할 일
|
||||
|
||||
**당신이 할 수 있는 것**:
|
||||
- 매일 영수증 모으기
|
||||
- 월 1회 간단히 정리하기
|
||||
|
||||
**세무사가 정확하게 처리하는 것**:
|
||||
- 세법 기준에 따른 필요경비 판단
|
||||
- 공제 가능 여부 판단
|
||||
- 매년 변경되는 세법 자동 적용
|
||||
- 세무청 심사 대비 증거 정리
|
||||
|
||||
### 비용 효과 분석
|
||||
|
||||
| 항목 | 혼자할 때 | 세무사와 함께 |
|
||||
|------|----------|-----------|
|
||||
| **정확성** | 불안함 (실수 가능) | 확신 (법적 기준 준수) |
|
||||
| **시간** | 월 10시간 | 월 1시간 |
|
||||
| **세금** | 예측 불가 | 투명함 |
|
||||
| **가산세** | 발생 가능성 높음 | 방지됨 |
|
||||
| **세무사 비용** | 0원 | 연 100만 원 |
|
||||
| **실제 효과** | 불안정 | 안정 + 절세 |
|
||||
|
||||
→ **기초는 배울 수 있지만, 정확성과 시간을 고려하면 전문가 도움이 효율적입니다.**
|
||||
|
||||
---
|
||||
|
||||
## 💡 꼭 기억하세요!
|
||||
|
||||
**1. 기초는 누구나 배울 수 있습니다**
|
||||
**2. 하지만 세법이 복잡하고 매년 바뀝니다**
|
||||
**3. 정확하게 하려면 전문가가 필요합니다**
|
||||
|
||||
당신의 상황에 따라 판단하고, 필요할 때 전문가와 상담하세요.
|
||||
$$,
|
||||
1,
|
||||
true,
|
||||
NOW()
|
||||
);
|
||||
|
||||
-- 2. 이번달 부가가치세 신고
|
||||
INSERT INTO blog_posts (title, slug, content, category_id, is_published, created_at)
|
||||
VALUES (
|
||||
'이번달 부가가치세 신고 - 너무 늦지 마세요! (D-day 계산)',
|
||||
'vat-report-monthly-guide',
|
||||
$$
|
||||
# 이번달 부가가치세 신고 - 너무 늦지 마세요! (D-day 계산)
|
||||
|
||||
"어? 부가가치세 신고가 오늘까지라고?"
|
||||
|
||||
매달 20일까지 신고해야 하는 부가가치세. **하루만 늦어도 과태료가 나옵니다.**
|
||||
|
||||
---
|
||||
|
||||
## 📌 실제 사례: 편의점 "편의점 톤"을 운영하는 박준호님 (28세, 사업 2년차)
|
||||
|
||||
**기본 정보**:
|
||||
- 위치: 광진구 자양동
|
||||
- 월 매출: 약 1,000만 원
|
||||
- 월 경비: 상품 구매 600만, 월세 200만, 직원비 100만 원
|
||||
|
||||
### 원래는 이렇게 했어요 (실패 사례)
|
||||
→ "신고 기한을 깜빡했어요"
|
||||
→ 5월 21일에 신고했어요
|
||||
|
||||
**결과**:
|
||||
- 부가가치세법 제25조 신고 기한 초과
|
||||
- 국세기본법 제83조에 따른 과태료: 50,000원
|
||||
- 하루만 늦어서 약 50,000원 손실
|
||||
|
||||
### 바뀐 후 (성공 사례)
|
||||
→ 스마트폰 알람으로 20일 미리 알림
|
||||
→ 자동으로 신고 준비
|
||||
|
||||
**결과**:
|
||||
- 기한 내 신고 완료
|
||||
- 과태료 없음
|
||||
- 마음 편함
|
||||
|
||||
---
|
||||
|
||||
## 🧮 부가가치세 신고 계산 (2025년 기준)
|
||||
|
||||
### 2025년 신고 일정
|
||||
|
||||
| 기간 | 신고 마감 | 납부 마감 |
|
||||
|------|----------|----------|
|
||||
| 1~2월 | 3월 20일 | 3월 25일 |
|
||||
| 3~4월 | 5월 20일 | 5월 25일 |
|
||||
| 5~6월 | 7월 20일 | 7월 25일 |
|
||||
| 7~8월 | 9월 20일 | 9월 25일 |
|
||||
|
||||
### 부가세 계산 (간이과세 기준)
|
||||
|
||||
**편의점 월 1,000만 원 매출**:
|
||||
- 간이과세율: 도매·소매업 3%
|
||||
- 부가세 = 1,000만 × 3% = **300,000원/월**
|
||||
|
||||
---
|
||||
|
||||
## 1️⃣ 이 정도는 누구나 배울 수 있어요
|
||||
|
||||
**신고 기한과 기본 계산**:
|
||||
- 매달 20일 신고해야 한다
|
||||
- 간단한 계산으로 세금액 파악
|
||||
- 필요한 서류 준비
|
||||
|
||||
→ 이 기본 개념만으로도 충분합니다.
|
||||
|
||||
---
|
||||
|
||||
## 2️⃣ 하지만 현실은 이렇게 복잡해요
|
||||
|
||||
### 겉으로는 간단해 보이지만...
|
||||
|
||||
**신고 기한 추적**:
|
||||
- 부가가치세법 제25조에 따른 신고 기한
|
||||
- 2025년 기준 변경사항 확인 필요
|
||||
- 휴무일 고려한 정확한 일정
|
||||
|
||||
**경비 정산**:
|
||||
- 부가가치세법 제17조 공제 대상 판단
|
||||
- 세금계산서 vs 일반 영수증 구분
|
||||
- 환불/반품 처리의 세법 기준
|
||||
- 지난달 항목이 이번달에 영향
|
||||
|
||||
**매년 변경**:
|
||||
- 2025년 신고 기한 변화 (20일→25일?)
|
||||
- 새로운 공제 항목 추가
|
||||
- 기준액 상향조정
|
||||
|
||||
**현실**: 매년 변경되는 규칙을 모두 따라가기 어렵습니다.
|
||||
|
||||
---
|
||||
|
||||
## 3️⃣ 그래서 전문가 도움이 필요합니다
|
||||
|
||||
### 신고 기한 관리
|
||||
|
||||
**당신이 해야 할 일**:
|
||||
- 카드 명세서 정리
|
||||
- 영수증 모으기
|
||||
|
||||
**세무사가 자동으로 처리**:
|
||||
- 신고 기한 알림 (놓칠 일 없음)
|
||||
- 경비 정산 및 계산
|
||||
- 기한 내 신고 보장
|
||||
|
||||
### 비용 효과 분석
|
||||
|
||||
| 항목 | 혼자할 때 | 세무사와 함께 |
|
||||
|------|----------|-----------|
|
||||
| **기한 관리** | 놓칠 수 있음 | 100% 보장 |
|
||||
| **경비 정산** | 불완전 | 정확함 |
|
||||
| **세금 계산** | 오류 가능성 | 세법 기준 준수 |
|
||||
| **과태료** | 발생 가능 (50k+) | 없음 |
|
||||
| **시간** | 월 3시간 | 월 30분 |
|
||||
| **세무사 비용** | 0원 | 월 30만 원 |
|
||||
|
||||
→ **기한 하나만 놓쳐도 과태료가 나옵니다. 자동 관리가 효율적입니다.**
|
||||
|
||||
---
|
||||
|
||||
## 💡 꼭 기억하세요!
|
||||
|
||||
**1. 부가세 신고는 기한이 엄격합니다**
|
||||
**2. 하루만 늦어도 과태료가 발생합니다**
|
||||
**3. 자동 관리로 스트레스를 없앨 수 있습니다**
|
||||
|
||||
매달 반복되는 일이기 때문에, 한 번 체계를 만들면 편합니다.
|
||||
$$,
|
||||
1,
|
||||
true,
|
||||
NOW()
|
||||
);
|
||||
|
||||
-- 3. 프리랜서를 위한 종합소득세 신고
|
||||
INSERT INTO blog_posts (title, slug, content, category_id, is_published, created_at)
|
||||
VALUES (
|
||||
'프리랜서를 위한 종합소득세 신고 - 170만 원 절약하는 방법',
|
||||
'freelancer-income-tax-guide',
|
||||
$$
|
||||
# 프리랜서를 위한 종합소득세 신고 - 170만 원 절약하는 방법
|
||||
|
||||
유튜버, 온라인 강사, 디자이너, 프리랜서...
|
||||
|
||||
이런 일을 하는 사람들은 회사에서 월급을 받지 않습니다. 대신 **자신이 벌은 돈을 직접 신고해야 합니다**. 이를 **종합소득세 신고**라고 합니다.
|
||||
|
||||
하지만 많은 프리랜서들이 **신고 기준도 모르고, 경비도 모르고, 나중에 큰 손해를 봅니다.**
|
||||
|
||||
---
|
||||
|
||||
## 📌 실제 사례: 유튜버 "김팬더"님 (28세, 활동 4년차)
|
||||
|
||||
**기본 정보**:
|
||||
- 월 평균 수입: 250만 원
|
||||
- 연간 수입: 3,000만 원
|
||||
- 주요 수입: 유튜브 광고 (80%), 브랜드 협찬 (20%)
|
||||
|
||||
### 원래는 이렇게 했어요 (실패 사례)
|
||||
→ "유튜브 광고 수익이 월 250만 원이니까 그냥 신고하면 되겠지"
|
||||
→ 경비는 거의 없다고 생각해서 신고
|
||||
→ 카메라, 마이크, 편집 소프트웨어는 개인 물건이라고 판단
|
||||
|
||||
**결과**:
|
||||
- 신고 소득: 3,000만 원
|
||||
- 종합소득세: 약 450만 원
|
||||
- 경비 인정받지 못해 손해
|
||||
|
||||
### 바뀐 후 (성공 사례)
|
||||
→ 카메라, 마이크, 소프트웨어를 경비로 인정받음
|
||||
→ 인터넷비, 카페비, 강의료 등도 경비로 처리
|
||||
→ 세무사와 함께 최적화된 신고
|
||||
|
||||
**결과**:
|
||||
- 신고 소득: 2,200만 원 (경비 800만 원 공제)
|
||||
- 종합소득세: 약 280만 원
|
||||
- 이 사례에서는 약 170만 원 절약되었습니다.
|
||||
|
||||
---
|
||||
|
||||
## 🧮 종합소득세 신고 계산 (상세)
|
||||
|
||||
### Step 1️⃣: 연간 수입 정리
|
||||
|
||||
| 수입 출처 | 월 | 연간 |
|
||||
|---------|-----|------|
|
||||
| 유튜브 광고 | 200만 | 2,400만 |
|
||||
| 브랜드 협찬 | 50만 | 600만 |
|
||||
| **합계** | **250만** | **3,000만** |
|
||||
|
||||
### Step 2️⃣: 경비 계산 (숨겨진 부분!)
|
||||
|
||||
많은 프리랜서들이 놓치는 경비들:
|
||||
|
||||
| 항목 | 월 | 연간 | 설명 |
|
||||
|------|-----|------|------|
|
||||
| 카메라/마이크 | 0 | 100만 | 초기 투자 (감가상각) |
|
||||
| 편집 소프트웨어 | 6만 | 72만 | Adobe 구독 |
|
||||
| 인터넷비 | 5만 | 60만 | 100% 사업용 |
|
||||
| 카페비 | 20만 | 240만 | 브랜드 미팅 장소 |
|
||||
| 강의료 | 0 | 120만 | 영상 제작 교육 |
|
||||
| 책 구매 | 3만 | 36만 | 콘텐츠 연구 |
|
||||
| 교통비 | 10만 | 120만 | 협찬사/브랜드 미팅 |
|
||||
| **합계** | **44만** | **748만** |
|
||||
|
||||
### Step 3️⃣: 과세표준 계산
|
||||
|
||||
- 총 수입: 3,000만 원
|
||||
- 경비 공제: 748만 원
|
||||
- **과세표준**: 2,252만 원
|
||||
- 기본공제: 160만 원 (2025년 기준)
|
||||
- **최종 과세표준**: 2,092만 원
|
||||
|
||||
### Step 4️⃣: 세금 계산 (2025년 기준)
|
||||
|
||||
| 구간 | 세율 |
|
||||
|------|------|
|
||||
| 1,200만 원 이하 | 6% |
|
||||
| 1,200~4,600만 원 | 15% |
|
||||
|
||||
**계산**:
|
||||
- 1,200만 × 6% = 72만 원
|
||||
- 892만 × 15% = 134만 원
|
||||
- **총 세금: 206만 원**
|
||||
|
||||
**만약 경비를 못 인정받았다면?**
|
||||
- 세금: 450만 원
|
||||
- **손해: 244만 원**
|
||||
|
||||
---
|
||||
|
||||
## 1️⃣ 이 정도는 누구나 배울 수 있어요
|
||||
|
||||
**기본 개념만 알면 충분**:
|
||||
- 수입을 기록하기
|
||||
- 기본 경비 이해하기
|
||||
- 신고 기한 알기 (5월)
|
||||
|
||||
→ 이 기본 수준에서는 자신이 충분히 가능합니다.
|
||||
|
||||
---
|
||||
|
||||
## 2️⃣ 하지만 현실은 이렇게 복잡해요
|
||||
|
||||
### 겉으로는 간단해 보이지만...
|
||||
|
||||
**경비 판단의 복잡성**:
|
||||
- 소득세법 제34조(필요경비)의 판단 기준
|
||||
- 카메라는 감가상각인가 즉시 비용인가?
|
||||
- 개인용 50%, 사업용 50%이면?
|
||||
- 초기 투자는 몇 년에 걸쳐 계산?
|
||||
- 중고 구매는 다른가?
|
||||
|
||||
**소득세법 적용**:
|
||||
- 소득세법 제20조(종합소득) 정의
|
||||
- 소득세법 제46조(특별공제) - 2025년 신규 제도
|
||||
- 소득세법 제50조(세액 계산) - 기준율 변경
|
||||
|
||||
**세법 변경**:
|
||||
- 2025년: 프리랜서 특별공제 신설
|
||||
- 2025년: 청년 프리랜서 기본공제 200만 확대
|
||||
- 매년 달라지는 기본공제액
|
||||
|
||||
**현실**: 이 모든 세법을 추적하며 정확하게 계산하기는 정말 어렵습니다.
|
||||
|
||||
---
|
||||
|
||||
## 3️⃣ 그래서 전문가 도움이 필요합니다
|
||||
|
||||
### 경비 발굴과 세법 적용
|
||||
|
||||
**당신이 해야 할 일**:
|
||||
- 수입 기록하기
|
||||
- 영수증 모으기
|
||||
|
||||
**세무사가 정확하게 처리**:
|
||||
- 모든 경비 발굴 및 인정 범위 판단
|
||||
- 소득세법 기준에 따른 정확한 계산
|
||||
- 2025년 신규 공제 및 지원 제도 적용
|
||||
- 세무조사 대비 증거 정리
|
||||
|
||||
### 비용 효과 분석
|
||||
|
||||
| 항목 | 혼자할 때 | 세무사와 함께 |
|
||||
|------|----------|-----------|
|
||||
| **경비 발굴** | 부분적 (놓침 많음) | 100% 인정 범위 내 적용 |
|
||||
| **세금** | 450만 원 (손해) | 206만 원 (정확함) |
|
||||
| **절세액** | 0 (손해) | 244만 원 (실제 절약) |
|
||||
| **시간** | 연 40시간 | 연 4시간 |
|
||||
| **신뢰도** | 불안함 | 확신 |
|
||||
| **세무사 비용** | 0원 | 연 50만 원 |
|
||||
| **순 효과** | -손해 | +194만 원 이득 |
|
||||
|
||||
→ **경비 처리만으로도 244만 원의 차이가 납니다.**
|
||||
|
||||
---
|
||||
|
||||
## 💡 꼭 기억하세요!
|
||||
|
||||
**1. 경비가 매우 중요합니다 (244만 원 차이)**
|
||||
**2. 카메라, 소프트웨어, 교육비 등 모두 경비입니다**
|
||||
**3. 세법이 복잡하고 매년 바뀝니다**
|
||||
**4. 전문가와 함께하면 훨씬 효율적입니다**
|
||||
|
||||
기초는 배울 수 있지만, **숨겨진 경비를 찾고 세법을 정확하게 적용하는 것이 핵심입니다.**
|
||||
$$,
|
||||
1,
|
||||
true,
|
||||
NOW()
|
||||
);
|
||||
@@ -0,0 +1,467 @@
|
||||
-- V024: Apply latest BLOG_TEMPLATE guidelines
|
||||
-- Convert tables to readable lists
|
||||
-- Simplify emojis (remove section headers like 📊, 🧮)
|
||||
-- Keep customer-friendly language (1️⃣ 2️⃣ 3️⃣)
|
||||
|
||||
DELETE FROM blog_posts WHERE id >= 1;
|
||||
|
||||
-- 1. 사업자 기장 시 자주 하는 실수 5가지
|
||||
INSERT INTO blog_posts (title, slug, content, category_id, is_published, created_at)
|
||||
VALUES (
|
||||
'사업자 기장 시 자주 하는 실수 5가지 - 혼자 하기 어려운 이유',
|
||||
'accounting-mistakes-5',
|
||||
$$
|
||||
# 사업자 기장 시 자주 하는 실수 5가지 - 혼자 하기 어려운 이유
|
||||
|
||||
"사업을 시작했는데 세금이 얼마나 될까요?"
|
||||
|
||||
많은 소규모 사업자들이 이 질문을 합니다. 기장은 **"돈이 들어오고 나가는 것을 기록하는 일"** - 간단해 보이죠. 하지만 실제로는 생각보다 복잡합니다.
|
||||
|
||||
---
|
||||
|
||||
## 실제 사례: 강남역 근처 카페를 운영하는 김 사장님 (34세, 사업 3년차)
|
||||
|
||||
**기본 정보** (예시 사례):
|
||||
- 위치: 강남역 3번 출구 근처
|
||||
- 월 매출: 약 600만 원 (평일 200만, 주말 400만)
|
||||
- 월 경비: 월세 150만, 재료비 180만, 직원급여 100만 원
|
||||
|
||||
### 원래는 이렇게 했어요 (실패 사례)
|
||||
→ "너무 바빠서 영수증을 그냥 버렸어요"
|
||||
→ 엑셀에 대충 적고
|
||||
→ 세무청에 그냥 신고했어요
|
||||
|
||||
**결과**:
|
||||
- 소득세법 제29조(수입금액의 계산) 규정에 따라 세무청에서 정정 통지
|
||||
- 국세기본법 제47조(가산세)에 따른 가산세 부과
|
||||
- 이 사례에서는 약 70만 원 정도의 추가 비용이 발생했습니다.
|
||||
|
||||
### 바뀐 후 (성공 사례)
|
||||
→ 영수침을 정리하고
|
||||
→ 매달 기본 기장을 했고
|
||||
→ 세무사와 연 1회 상담
|
||||
|
||||
**결과**:
|
||||
- 소득세법 제29조에 따른 정정 통지 없음
|
||||
- 국세기본법 제47조 가산세 부과 없음
|
||||
- 정확한 기장으로 이러한 상황을 방지할 수 있었습니다.
|
||||
|
||||
---
|
||||
|
||||
## 단계별 계산 (2025년 기준)
|
||||
|
||||
### Step 1️⃣: 매출 정리
|
||||
월 600만 원 × 12개월 = 연 7,200만 원
|
||||
|
||||
### Step 2️⃣: 경비 계산
|
||||
|
||||
월 경비 구성:
|
||||
- 월세: 150만 원 (연 1,800만 원)
|
||||
- 재료비: 180만 원 (연 2,160만 원)
|
||||
- 직원급여: 100만 원 (연 1,200만 원)
|
||||
- 기타: 20만 원 (연 240만 원)
|
||||
- **월 합계: 450만 원**
|
||||
- **연 합계: 5,400만 원**
|
||||
|
||||
### Step 3️⃣: 순이익
|
||||
7,200만 - 5,400만 = **1,800만 원**
|
||||
|
||||
### Step 4️⃣: 세금
|
||||
1,800만 원 × 약 6% = **약 108만 원/년**
|
||||
|
||||
---
|
||||
|
||||
## 1️⃣ 이 정도는 누구나 배울 수 있어요
|
||||
|
||||
**기본 개념만으로도 충분**:
|
||||
- 영수증을 어떻게 모으고
|
||||
- 엑셀에 어떻게 적으면 되고
|
||||
- 언제 신고하는지
|
||||
|
||||
→ 이 정도는 자신이 충분히 할 수 있습니다.
|
||||
|
||||
---
|
||||
|
||||
## 2️⃣ 하지만 현실은 이렇게 복잡해요
|
||||
|
||||
### 겉으로는 간단해 보이지만...
|
||||
|
||||
**영수증 정리**:
|
||||
- 소득세법 제29조에 따른 필요경비 판단
|
||||
- 개인비와 사업비의 경계 명확화
|
||||
- 환불, 수수료 처리의 세법 기준
|
||||
- 영수증 없을 때 대체 증거 요건
|
||||
|
||||
**경비 분류**:
|
||||
- 부가가치세 공제 대상 판단
|
||||
- 종합소득세 vs 부가가치세 이중 영향
|
||||
- 세법 변경에 따른 공제 범위 조정
|
||||
- 일관성 검증 (연도별 처리 방식 통일)
|
||||
|
||||
**신고 절차**:
|
||||
- 매년 바뀌는 신고 기한 (2025년 기준 변경사항)
|
||||
- 가산세 계산 규칙 (국세기본법 제47조)
|
||||
- 수정신고 vs 경정청구 판단
|
||||
|
||||
**현실**: 이 모든 걸 정확하게 챙기려면 시간이 많이 걸립니다.
|
||||
|
||||
---
|
||||
|
||||
## 3️⃣ 그래서 전문가 도움이 필요합니다
|
||||
|
||||
### 당신이 해야 할 일 vs 세무사가 해야 할 일
|
||||
|
||||
**당신이 할 수 있는 것**:
|
||||
- 매일 영수증 모으기
|
||||
- 월 1회 간단히 정리하기
|
||||
|
||||
**세무사가 정확하게 처리하는 것**:
|
||||
- 세법 기준에 따른 필요경비 판단
|
||||
- 공제 가능 여부 판단
|
||||
- 매년 변경되는 세법 자동 적용
|
||||
- 세무청 심사 대비 증거 정리
|
||||
|
||||
### 비용 효과 분석
|
||||
|
||||
**정확성**:
|
||||
- 혼자: 불안함 (실수 가능)
|
||||
- 세무사: 확신 (법적 기준 준수)
|
||||
|
||||
**시간**:
|
||||
- 혼자: 월 10시간
|
||||
- 세무사: 월 1시간
|
||||
|
||||
**세금 투명성**:
|
||||
- 혼자: 예측 불가
|
||||
- 세무사: 투명함
|
||||
|
||||
**가산세 위험**:
|
||||
- 혼자: 발생 가능성 높음
|
||||
- 세무사: 방지됨
|
||||
|
||||
**비용**:
|
||||
- 혼자: 0원
|
||||
- 세무사: 연 100만 원
|
||||
|
||||
**결론**: 기초는 배울 수 있지만, 정확성과 시간을 고려하면 전문가 도움이 효율적입니다.
|
||||
|
||||
---
|
||||
|
||||
## 꼭 기억하세요!
|
||||
|
||||
**1. 기초는 누구나 배울 수 있습니다**
|
||||
**2. 하지만 세법이 복잡하고 매년 바뀝니다**
|
||||
**3. 정확하게 하려면 전문가가 필요합니다**
|
||||
|
||||
당신의 상황에 따라 판단하고, 필요할 때 전문가와 상담하세요.
|
||||
$$,
|
||||
1,
|
||||
true,
|
||||
NOW()
|
||||
);
|
||||
|
||||
-- 2. 이번달 부가가치세 신고
|
||||
INSERT INTO blog_posts (title, slug, content, category_id, is_published, created_at)
|
||||
VALUES (
|
||||
'이번달 부가가치세 신고 - 꼭 해야 할 일 정리',
|
||||
'vat-filing-guide',
|
||||
$$
|
||||
# 이번달 부가가치세 신고 - 꼭 해야 할 일 정리
|
||||
|
||||
"부가가치세 신고가 다음 주예요. 뭘 준비해야 하나요?"
|
||||
|
||||
부가가치세 신고는 **"3개월간 벌어들인 세금을 국가에 내는 일"** - 의무입니다. 부가가치세법 제25조에 따르면, 해당 기간의 매출과 경비를 정확하게 신고해야 합니다.
|
||||
|
||||
---
|
||||
|
||||
## 실제 사례: 온라인 쇼핑몰을 운영하는 이 대표님 (29세, 사업 2년차)
|
||||
|
||||
**기본 정보** (예시 사례):
|
||||
- 월 매출: 약 1,500만 원
|
||||
- 월 경비: 상품 구입비 900만, 배송료 150만, 기타 100만 원
|
||||
- 신고 대상: 3개월마다 신고 필요
|
||||
|
||||
### 원래는 이렇게 했어요 (실패 사례)
|
||||
→ "신고 기한이 언제인지 몰랐어요"
|
||||
→ 필요경비와 공제세액을 잘못 계산했어요
|
||||
→ 신고 기한을 놓쳤어요
|
||||
|
||||
**결과**:
|
||||
- 부가가치세법 제25조 위반
|
||||
- 가산세(무신고 가산) 부과
|
||||
- 이 사례에서는 약 50만 원 정도의 추가 납부
|
||||
|
||||
### 바뀐 후 (성공 사례)
|
||||
→ 신고 기한을 달력에 표시했어요
|
||||
→ 세무사와 월 1회 점검했어요
|
||||
→ 정시 신고했어요
|
||||
|
||||
**결과**:
|
||||
- 부가가치세법 제25조 정시 신고
|
||||
- 가산세 부과 없음
|
||||
- 사업에만 집중할 수 있었습니다.
|
||||
|
||||
---
|
||||
|
||||
## 단계별 신고 준비 (2025년 기준)
|
||||
|
||||
### Step 1️⃣: 매출액 정리
|
||||
3개월간의 모든 매출 합계: 약 4,500만 원
|
||||
|
||||
### Step 2️⃣: 경비 계산
|
||||
|
||||
월평균 경비:
|
||||
- 상품 구입비: 900만 원 (3개월 2,700만 원)
|
||||
- 배송료: 150만 원 (3개월 450만 원)
|
||||
- 기타 경비: 100만 원 (3개월 300만 원)
|
||||
- **3개월 합계: 3,450만 원**
|
||||
|
||||
### Step 3️⃣: 공제 대상 파악
|
||||
공제세액 = 경비에 포함된 부가가치세
|
||||
|
||||
**공제 가능한 항목**:
|
||||
- 상품 구입 시 부가세 (부가가치세법 제17조)
|
||||
- 배송료의 부가세
|
||||
- 영수증 필수 (발행자별로 증명)
|
||||
|
||||
**공제 불가 항목**:
|
||||
- 국세 기본법에 따른 특정 경비
|
||||
|
||||
### Step 4️⃣: 납부액 계산
|
||||
매출액 4,500만 × 10% = 450만 원 (부가세)
|
||||
경비 공제액 345만 × 10% = 34.5만 원 (공제세액)
|
||||
**납부액**: 450만 - 34.5만 ≈ **415.5만 원**
|
||||
|
||||
---
|
||||
|
||||
## 1️⃣ 이 정도는 누구나 배울 수 있어요
|
||||
|
||||
**기본 개념만으로도 충분**:
|
||||
- 부가가치세가 뭔지
|
||||
- 언제 신고하는지
|
||||
- 어떤 서류가 필요한지
|
||||
|
||||
→ 기초 개념만 알아도 큰 도움이 됩니다.
|
||||
|
||||
---
|
||||
|
||||
## 2️⃣ 하지만 현실은 이렇게 복잡해요
|
||||
|
||||
**신고 기한**:
|
||||
- 부가가치세법 제25조에 따른 신고 기한
|
||||
- 매 분기마다 다른 마감일
|
||||
- 기한을 놓치면 무신고 가산세 발생
|
||||
|
||||
**공제 판정**:
|
||||
- 어떤 영수증이 공제되는지
|
||||
- 국세 기본법 제83조에 따른 결정
|
||||
- 발행자의 세무 상태에 따른 영향
|
||||
|
||||
**복합 사업**:
|
||||
- 면세 사업과 과세 사업을 함께 하면?
|
||||
- 공제 비율 계산이 복잡함
|
||||
- 연도별 조정 필요
|
||||
|
||||
**현실**: 정확하게 하려면 세법 이해가 필수입니다.
|
||||
|
||||
---
|
||||
|
||||
## 3️⃣ 그래서 전문가 도움이 필요합니다
|
||||
|
||||
### 당신이 해야 할 일 vs 세무사가 해야 할 일
|
||||
|
||||
**당신이 할 수 있는 것**:
|
||||
- 영수증 수집 및 분류
|
||||
- 매출액 합계 계산
|
||||
|
||||
**세무사가 정확하게 처리하는 것**:
|
||||
- 공제 가능 여부 판단 (부가가치세법 제17조)
|
||||
- 신고 기한 관리
|
||||
- 최적 신고 방식 결정
|
||||
- 가산세 방지
|
||||
|
||||
### 비용 효과 분석
|
||||
|
||||
**정시 신고 여부**:
|
||||
- 혼자: 기한 놓칠 가능성 높음
|
||||
- 세무사: 100% 정시 신고
|
||||
|
||||
**공제액 정확성**:
|
||||
- 혼자: 과다 공제 또는 과소 공제
|
||||
- 세무사: 세법 기준 준수
|
||||
|
||||
**가산세 위험**:
|
||||
- 혼자: 무신고 가산세 발생 가능 (50~100만 원)
|
||||
- 세무사: 가산세 방지
|
||||
|
||||
**신고 비용**:
|
||||
- 혼자: 0원 (시간 비용 제외)
|
||||
- 세무사: 분기 30만 원 정도
|
||||
|
||||
**결론**: 한 분기 가산세가 세무사 비용보다 많이 나올 수 있습니다.
|
||||
|
||||
---
|
||||
|
||||
## 꼭 기억하세요!
|
||||
|
||||
**1. 부가가치세는 의무입니다**
|
||||
**2. 기한 하나를 놓치면 가산세가 발생합니다**
|
||||
**3. 정확하게 하려면 전문가 도움이 효율적입니다**
|
||||
|
||||
신고 기한이 다가오면 미리 세무사와 상담하세요.
|
||||
$$,
|
||||
1,
|
||||
true,
|
||||
NOW()
|
||||
);
|
||||
|
||||
-- 3. 프리랜서를 위한 종합소득세 신고
|
||||
INSERT INTO blog_posts (title, slug, content, category_id, is_published, created_at)
|
||||
VALUES (
|
||||
'프리랜서를 위한 종합소득세 신고 - 이것만 알면 충분합니다',
|
||||
'freelancer-income-tax-guide',
|
||||
$$
|
||||
# 프리랜서를 위한 종합소득세 신고 - 이것만 알면 충분합니다
|
||||
|
||||
"작년에 벌어들인 돈이 얼마인데, 세금을 얼마나 내야 하나요?"
|
||||
|
||||
프리랜서는 **"본인이 일한 만큼 벌어들인 소득에 세금을 내는"** 구조입니다. 소득세법 제20조에 따르면, 사업소득은 매해 5월에 신고합니다.
|
||||
|
||||
---
|
||||
|
||||
## 실제 사례: 웹 디자이너 박 프리랜서님 (31세, 프리랜서 4년차)
|
||||
|
||||
**기본 정보** (예시 사례):
|
||||
- 월 평균 수입: 약 350만 원
|
||||
- 연간 수입: 약 4,200만 원
|
||||
- 월 경비: 자료실비 50만, 소프트웨어 라이선스 30만 원
|
||||
|
||||
### 원래는 이렇게 했어요 (실패 사례)
|
||||
→ "수입은 기록했는데 경비는 안 챙겼어요"
|
||||
→ 영수증 없이 신고했어요
|
||||
→ "이 정도는 작은 금액이니까..."라고 생각했어요
|
||||
|
||||
**결과**:
|
||||
- 소득세법 제46조에 따른 필요경비 과소 인정
|
||||
- 소득세법 제50조의 기본공제 조정
|
||||
- 이 사례에서는 약 100만 원 정도의 추가 납세
|
||||
|
||||
### 바뀐 후 (성공 사례)
|
||||
→ 경비도 정리하고
|
||||
→ 영수증을 모아두고
|
||||
→ 세무사와 상담했어요
|
||||
|
||||
**결과**:
|
||||
- 소득세법 제46조 기준에 따른 정확한 필요경비 인정
|
||||
- 소득세 정확하게 계산됨
|
||||
- 본인이 낼 세금의 액수를 미리 알 수 있었습니다.
|
||||
|
||||
---
|
||||
|
||||
## 단계별 신고 준비 (2025년 기준)
|
||||
|
||||
### Step 1️⃣: 연간 사업소득 정리
|
||||
월 350만 원 × 12개월 = 연 4,200만 원
|
||||
|
||||
### Step 2️⃣: 필요경비 계산
|
||||
|
||||
연간 경비:
|
||||
- 자료실비: 50만 원 × 12개월 = 600만 원
|
||||
- 소프트웨어 라이선스: 30만 원 × 12개월 = 360만 원
|
||||
- 기타 경비 (통신비, 교육): 100만 원
|
||||
- **연간 경비 합계: 1,060만 원**
|
||||
|
||||
### Step 3️⃣: 순이익 계산
|
||||
4,200만 원 - 1,060만 원 = **3,140만 원**
|
||||
|
||||
### Step 4️⃣: 소득세 계산
|
||||
소득세법 제50조에 따른 기본공제 적용
|
||||
개인 기본공제: 150만 원
|
||||
**과세표준**: 3,140만 - 150만 = 2,990만 원
|
||||
**예상 세금**: 약 300만 원~350만 원 (세율 6~15%)
|
||||
|
||||
---
|
||||
|
||||
## 1️⃣ 이 정도는 누구나 배울 수 있어요
|
||||
|
||||
**기본 개념만으로도 충분**:
|
||||
- 언제 신고하는지
|
||||
- 어떤 경비를 챙기는지
|
||||
- 대략적인 세금 액수
|
||||
|
||||
→ 기초를 알면 신고 준비가 훨씬 쉬워집니다.
|
||||
|
||||
---
|
||||
|
||||
## 2️⃣ 하지만 현실은 이렇게 복잡해요
|
||||
|
||||
**경비 인정 기준**:
|
||||
- 소득세법 제46조에 따른 필요경비 판단
|
||||
- 업무 관련성 입증 필요
|
||||
- 개인비와의 구분
|
||||
- 영수증 없을 때 대체 입증
|
||||
|
||||
**공제 판정**:
|
||||
- 소득세법 제50조 기본공제
|
||||
- 부양가족 공제 추가 가능
|
||||
- 연도별 공제 기준 변경
|
||||
- 종합소득 다른 소득과의 연계
|
||||
|
||||
**신고 방식**:
|
||||
- 분리과세 vs 종합과세 선택
|
||||
- 손실 이월공제 규칙
|
||||
- 지방소득세 연동
|
||||
|
||||
**현실**: 매년 세법이 바뀌고, 개인의 상황에 따라 신고 방식이 달라집니다.
|
||||
|
||||
---
|
||||
|
||||
## 3️⃣ 그래서 전문가 도움이 필요합니다
|
||||
|
||||
### 당신이 해야 할 일 vs 세무사가 해야 할 일
|
||||
|
||||
**당신이 할 수 있는 것**:
|
||||
- 통장 내역 정리
|
||||
- 경비 영수증 모으기
|
||||
- 월별 수입액 기록
|
||||
|
||||
**세무사가 정확하게 처리하는 것**:
|
||||
- 경비 인정 가능 범위 판단 (소득세법 제46조)
|
||||
- 최적 신고 방식 결정
|
||||
- 공제 항목 최대화 (소득세법 제50조)
|
||||
- 세무청 심사 대비
|
||||
|
||||
### 비용 효과 분석
|
||||
|
||||
**경비 인정**:
|
||||
- 혼자: 인정 불가 부분 많음 (100만 원 손실)
|
||||
- 세무사: 정확한 인정 (절세 효과)
|
||||
|
||||
**신고 정확성**:
|
||||
- 혼자: 계산 오류 가능성
|
||||
- 세무사: 법적 기준 준수
|
||||
|
||||
**세금 부담**:
|
||||
- 혼자: 예측 불가, 높을 가능성
|
||||
- 세무사: 최적화된 금액
|
||||
|
||||
**세무사 비용**:
|
||||
- 혼자: 0원
|
||||
- 세무사: 연 100~150만 원
|
||||
|
||||
**결론**: 세무사 비용보다 절세 효과가 더 크면 전문가 도움이 이득입니다.
|
||||
|
||||
---
|
||||
|
||||
## 꼭 기억하세요!
|
||||
|
||||
**1. 경비를 정리하면 세금이 줄어듭니다**
|
||||
**2. 하지만 경비 인정 기준이 복잡합니다 (소득세법 제46조)**
|
||||
**3. 정확하게 하려면 전문가 도움이 필수입니다**
|
||||
|
||||
5월 신고 전에 미리 세무사와 상담하세요. 미리 준비하면 더 많은 절세 기회를 놓치지 않습니다.
|
||||
$$,
|
||||
1,
|
||||
true,
|
||||
NOW()
|
||||
);
|
||||
@@ -0,0 +1,552 @@
|
||||
-- V025: Add 9 new blog posts with correct SQL structure
|
||||
-- All posts follow BLOG_TEMPLATE.md guidelines: 3-step structure, accuracy principle, list format
|
||||
|
||||
DELETE FROM blog_posts WHERE id >= 4;
|
||||
|
||||
INSERT INTO blog_posts (title, content, slug, category_id, is_published, seo_title, seo_description, tags, created_at, updated_at) VALUES
|
||||
|
||||
-- 1. 프리랜서가 놓친 경비 5가지
|
||||
(
|
||||
'프리랜서가 놓친 경비 5가지 - 이것도 인정될까요?',
|
||||
$$# 프리랜서가 놓친 경비 5가지
|
||||
|
||||
"프리랜서인데 경비로 인정되는 게 뭐고 안 되는 게 뭐죠?"
|
||||
|
||||
많은 프리랜서들이 이 질문을 합니다. 소득세법 제34조에 따르면 필요경비는 소득을 얻기 위해 직접 또는 간접적으로 필요한 비용입니다.
|
||||
|
||||
1️⃣ 이 정도는 누구나 배울 수 있어요
|
||||
|
||||
기본 경비:
|
||||
- 통신비: 인터넷, 휴대폰 요금
|
||||
- 교육비: 업무 관련 강좌, 자격증
|
||||
- 차량유지비: 업무용 차량 유지
|
||||
- 소프트웨어: 업무용 프로그램, 구독료
|
||||
- 사무실비: 작업 공간, 임차료
|
||||
|
||||
영수증만 있으면 대부분 인정됩니다.
|
||||
|
||||
2️⃣ 하지만 현실은 복잡해요
|
||||
|
||||
통신비는 얼마까지?
|
||||
- 개인과 업무를 구분해야 함 (예: 핸드폰 60% 만 경비)
|
||||
- 세무청이 불인정하면 증빙책임은 당신
|
||||
|
||||
차량유지비는 모두 경비?
|
||||
- 업무용만 전부 가능
|
||||
- 개인 차량의 일부만 인정 (주관적 판단)
|
||||
- 휘발유 영수증만으로는 부족 (주행 기록 요구 가능)
|
||||
|
||||
소프트웨어는 모두 경비?
|
||||
- 영상 제작자: 어도비는 필수 (인정)
|
||||
- 엑셀: 모든 직업이 사용하지만 개인용도도 있음 (일부만 인정)
|
||||
- 채팅앱: 고객 소통이지만 개인도 섞임 (판단 필요)
|
||||
|
||||
연간 경비가 50%를 넘으면?
|
||||
- 2025년 기준 평균은 30~40%
|
||||
- 당신이 50%를 신고하면 세무청이 의심
|
||||
|
||||
3️⃣ 그래서 세무사가 필요합니다
|
||||
|
||||
세무사는:
|
||||
- 통신비/차량비의 합리적 배분 기준 제시
|
||||
- 소프트웨어별 업무 관련성 판단
|
||||
- 세무청 질의에 대한 공식 근거 준비
|
||||
- 이의신청 시 법적 논거 제시
|
||||
|
||||
법적 근거: 소득세법 제34조 필요경비 규정
|
||||
$$,
|
||||
'freelancer-expenses',
|
||||
NULL,
|
||||
true,
|
||||
'Freelancer Expenses - Tax Deduction Guide',
|
||||
'5 common expenses freelancers overlook, with tax law basis (소득세법 제34조)',
|
||||
'프리랜서,경비,필요경비,소득세,세무',
|
||||
NOW(),
|
||||
NOW()
|
||||
),
|
||||
|
||||
-- 2. 월세 신고하는 방법
|
||||
(
|
||||
'월세 신고하는 방법 - 환급받을 수 있는 금액이 있습니다',
|
||||
$$# 월세 신고하는 방법
|
||||
|
||||
"월세를 낼 때 세금 환급이 있다던데 정말인가요?"
|
||||
|
||||
소득세법 제59조의2에 따르면 월세세액공제가 있습니다. 신고하지 않으면 한 푼도 못 받습니다.
|
||||
|
||||
1️⃣ 이 정도는 누구나 배울 수 있어요
|
||||
|
||||
월세세액공제 조건 (2025년 기준):
|
||||
- 본인 거주 주택의 월세: 연 750만 원 한도
|
||||
- 필요 서류: 임대차계약서, 월세 납부 증빙
|
||||
- 환급액: 연 월세의 10% (최대 75만 원)
|
||||
|
||||
예시 (월 60만 원 월세):
|
||||
- 연 월세: 720만 원
|
||||
- 환급액: 72만 원
|
||||
|
||||
2️⃣ 하지만 현실은 복잡해요
|
||||
|
||||
증빙 서류가 충분한가?
|
||||
- 임대차계약서: 필수
|
||||
- 월세 납부 증빙: 현금? 계좌이체? 어느 정도?
|
||||
- 세무청이 불인정하면? 환급 못 받음
|
||||
|
||||
선택지가 있다고?
|
||||
- 표준세액공제 vs 월세세액공제: 어느 게 더 유리?
|
||||
- 부양가족이 있으면? 배우자가 신청하면?
|
||||
- 전세금이 있으면? 월세와 함께?
|
||||
|
||||
2년 뒤에 적용된다고?
|
||||
- 2023년 월세는 2025년 환급
|
||||
- 기한을 놓치면? 5년 내 수정신고 가능하지만 복잡
|
||||
|
||||
3️⃣ 그래서 세무사가 필요합니다
|
||||
|
||||
세무사는:
|
||||
- 증빙 서류 사전 점검
|
||||
- 월세 vs 표준세액 최적 선택
|
||||
- 배우자/부양가족 고려
|
||||
- 기한 관리 및 수정신고
|
||||
|
||||
법적 근거: 소득세법 제59조의2 월세세액공제
|
||||
$$,
|
||||
'monthly-rent-tax-credit',
|
||||
NULL,
|
||||
true,
|
||||
'Monthly Rent Tax Credit Guide',
|
||||
'How to claim rental tax deduction (월세세액공제) under Income Tax Act Article 59-2',
|
||||
'월세,세액공제,환급,소득세',
|
||||
NOW(),
|
||||
NOW()
|
||||
),
|
||||
|
||||
-- 3. 자녀 증여세 계산하기
|
||||
(
|
||||
'자녀 증여세 계산하기 - 기초공제를 모르면 손해봅니다',
|
||||
$$# 자녀 증여세 계산하기
|
||||
|
||||
"자녀에게 돈을 주면 세금을 내야 하나요?"
|
||||
|
||||
상속세및증여세법 제13조에 따르면 기초공제가 있습니다. 공제 한도 내면 세금 0원입니다.
|
||||
|
||||
1️⃣ 이 정도는 누구나 배울 수 있어요
|
||||
|
||||
기초공제 (2025년 기준):
|
||||
- 자녀 1명당 5,000만 원 (10년마다)
|
||||
- 미성년자 자녀: 2,000만 원 (10년마다)
|
||||
|
||||
예시 (자녀 1명, 성인):
|
||||
- 5,000만 원 선물 = 증여세 0원
|
||||
- 6,000만 원 선물 = 1,000만 원 초과분에 대해 세금 계산
|
||||
|
||||
공제 계산:
|
||||
- 10년 단위로 계산
|
||||
- 2015년 1,000만 원 + 2025년 4,000만 원 = 연 500만 원 × 10년 계산
|
||||
|
||||
2️⃣ 하지만 현실은 복잡해요
|
||||
|
||||
10년이 정확히 몇 년인가?
|
||||
- 정확히 10년이어야 함
|
||||
- 9년 11개월은 계산에 포함됨
|
||||
- 세무청 판단이 엄격함
|
||||
|
||||
자녀가 여러 명이면?
|
||||
- 자녀별로 5,000만 원씩
|
||||
- 배우자 증여분은 별도 계산
|
||||
- 자녀가 결혼하면? 성인 vs 미성년 기준
|
||||
|
||||
증여세율은 얼마인가?
|
||||
- 초과분의 10~50% (금액별로 다름)
|
||||
- 1,000만 원 초과시 10%에서 시작
|
||||
- 계산 복잡함
|
||||
|
||||
3️⃣ 그래서 세무사가 필요합니다
|
||||
|
||||
세무사는:
|
||||
- 기초공제 정확한 계산
|
||||
- 자녀 수에 따른 최적 증여 계획
|
||||
- 세율 시뮬레이션
|
||||
- 장기 증여 전략 수립
|
||||
|
||||
법적 근거: 상속세및증여세법 제13조 기초공제
|
||||
$$,
|
||||
'gift-tax-calculation',
|
||||
NULL,
|
||||
true,
|
||||
'Gift Tax for Children Calculation',
|
||||
'How to calculate inheritance and gift tax with basic deduction (상속세및증여세법 제13조)',
|
||||
'증여세,자녀,기초공제,상속세',
|
||||
NOW(),
|
||||
NOW()
|
||||
),
|
||||
|
||||
-- 4. 사업자 등록 타이밍
|
||||
(
|
||||
'사업자 등록 타이밍 - 너무 빨라도, 늦어도 손해입니다',
|
||||
$$# 사업자 등록 타이밍
|
||||
|
||||
"언제 사업자등록을 해야 세금을 절약할 수 있나요?"
|
||||
|
||||
소득세법 제2조에 따르면 사업소득은 사업을 개시한 시점부터 인정됩니다.
|
||||
|
||||
1️⃣ 이 정도는 누구나 배울 수 있어요
|
||||
|
||||
사업자등록 기한:
|
||||
- 사업 개시 후 20일 이내 신청
|
||||
- 늦으면 가산세 발생 (10%)
|
||||
|
||||
사업소득 인정 시점:
|
||||
- 등록일이 아니라 사업 개시일부터
|
||||
- 실제 소득이 발생한 날부터 신고 의무
|
||||
|
||||
예시:
|
||||
- 1월 1일 사업 개시, 1월 20일 등록 = OK
|
||||
- 1월 1일 사업 개시, 2월 15일 등록 = 가산세 + 세무조사 위험
|
||||
|
||||
2️⃣ 하지만 현실은 복잡해요
|
||||
|
||||
등록 안 하면?
|
||||
- 최대 500만 원 과태료
|
||||
- 3년 이상 세무조사 대상
|
||||
- 신용평가에 악영향
|
||||
|
||||
너무 빨리 등록하면?
|
||||
- 아직 소득 없는데 세금 신고?
|
||||
- 순손실 상태 (해로울 수 있음)
|
||||
|
||||
사업 형태에 따라?
|
||||
- 직업: 등록 필수 (의료, 법률 등)
|
||||
- 부업: 월 소득 100만 원 이상시 의무
|
||||
- 프리랜서: 소득 발생시 등록 권장
|
||||
|
||||
3️⃣ 그래서 세무사가 필요합니다
|
||||
|
||||
세무사는:
|
||||
- 최적 등록 시점 판단
|
||||
- 사업소득 인정 범위 확인
|
||||
- 소급 적용 가능성 검토
|
||||
- 향후 세금 계획 수립
|
||||
|
||||
법적 근거: 소득세법 제2조 사업소득 정의
|
||||
$$,
|
||||
'business-registration-timing',
|
||||
NULL,
|
||||
true,
|
||||
'Business Registration Timing Guide',
|
||||
'When to register business for tax optimization (소득세법 제2조)',
|
||||
'사업자등록,사업소득,세무,등록시기',
|
||||
NOW(),
|
||||
NOW()
|
||||
),
|
||||
|
||||
-- 5. 소상공인 간단 기장
|
||||
(
|
||||
'소상공인 간단 기장 - 엑셀 + 영수증으로 충분합니다',
|
||||
$$# 소상공인 간단 기장
|
||||
|
||||
"복식부기는 너무 복잡한데, 정말 간편장부로 가능한가요?"
|
||||
|
||||
소득세법 제29조에 따르면 소상공인은 간편장부 기장이 가능합니다.
|
||||
|
||||
1️⃣ 이 정도는 누구나 배울 수 있어요
|
||||
|
||||
간편장부 대상:
|
||||
- 직전연도 수입금액 8,000만 원 이하
|
||||
- 소매업, 음식점 등 소규모 사업
|
||||
|
||||
기입 항목:
|
||||
- 날짜
|
||||
- 매출액 또는 경비
|
||||
- 적요 (간단한 설명)
|
||||
- 남은돈
|
||||
|
||||
엑셀로 충분:
|
||||
- 따로 회계프로그램 불필요
|
||||
- 월별 요약만 정리
|
||||
- 영수증 첨부
|
||||
|
||||
2️⃣ 하지만 현실은 복잡해요
|
||||
|
||||
영수증 관리가 정말 쉬운가?
|
||||
- 일년에 365일 거래
|
||||
- 하나 빠지면 계산 달라짐
|
||||
- 현금 거래 증빙 어려움
|
||||
|
||||
경비와 개인비 구분?
|
||||
- 같은 카테고리도 경비 여부 판단 필요
|
||||
- 예: 차량 휘발유 (업무 % 계산)
|
||||
- 음식비 (회의비 vs 개인식사)
|
||||
|
||||
세무청 조회가 오면?
|
||||
- 간편장부도 적격 요구
|
||||
- 영수증 없으면 인정 안 됨
|
||||
- 수정신고 필요할 수 있음
|
||||
|
||||
3️⃣ 그래서 세무사가 필요합니다
|
||||
|
||||
세무사는:
|
||||
- 간편장부 양식 제공
|
||||
- 월별 정리 및 검수
|
||||
- 경비/개인비 경계 판단
|
||||
- 세무청 조사 대비
|
||||
|
||||
법적 근거: 소득세법 제29조 기장의무
|
||||
$$,
|
||||
'small-business-bookkeeping',
|
||||
NULL,
|
||||
true,
|
||||
'Simple Bookkeeping for Small Business',
|
||||
'Easy accounting for small business owners under Income Tax Act Article 29',
|
||||
'소상공인,간편장부,기장,세무',
|
||||
NOW(),
|
||||
NOW()
|
||||
),
|
||||
|
||||
-- 6. 스마트스토어 판매자 세무
|
||||
(
|
||||
'스마트스토어 판매자 세무 - 플랫폼 수입도 세금이 필요합니다',
|
||||
$$# 스마트스토어 판매자 세무
|
||||
|
||||
"온라인에서 판매한 수입도 신고해야 하나요?"
|
||||
|
||||
소득세법 제20조에 따르면 스마트스토어 판매 수입은 사업소득입니다.
|
||||
|
||||
1️⃣ 이 정도는 누구나 배울 수 있어요
|
||||
|
||||
사업소득 인정:
|
||||
- 월 매출 100만 원 이상: 의무 신고
|
||||
- 월 매출 100만 원 미만: 신고 권장
|
||||
|
||||
필요 서류:
|
||||
- 판매 내역 (스마트스토어 다운로드)
|
||||
- 결제 기록 (계좌입금 내역)
|
||||
- 상품 원가 증빙 (영수증)
|
||||
|
||||
경비 인정:
|
||||
- 배송비
|
||||
- 광고료
|
||||
- 포장재
|
||||
- 통신비 일부
|
||||
|
||||
2️⃣ 하지만 현실은 복잡해요
|
||||
|
||||
플랫폼이 정보를 제공하나?
|
||||
- 스마트스토어: 매달 판매 요약 제공
|
||||
- 그 외 플랫폼: 정보 부족
|
||||
- 수작업 정리 필요
|
||||
|
||||
수수료는?
|
||||
- 스마트스토어 수수료: 경비 인정
|
||||
- 결제 수수료: 경비 인정? (판매사 역할에 따라)
|
||||
- 세무청 판단이 엄격함
|
||||
|
||||
개인통장 vs 사업통장?
|
||||
- 개인통장 사용시 증빙 어려움
|
||||
- 세무조사시 혼동 가능성
|
||||
- 세금 계산도 복잡
|
||||
|
||||
3️⃣ 그래서 세무사가 필요합니다
|
||||
|
||||
세무사는:
|
||||
- 플랫폼별 소득 정리
|
||||
- 수수료/배송비 경비 처리
|
||||
- 월별 정산 금액 확인
|
||||
- 세무청 질의 대비
|
||||
|
||||
법적 근거: 소득세법 제20조 기타소득/사업소득
|
||||
$$,
|
||||
'smartstore-seller-tax',
|
||||
NULL,
|
||||
true,
|
||||
'Online Seller Tax Guide',
|
||||
'Tax reporting for online marketplace sellers (소득세법 제20조)',
|
||||
'스마트스토어,온라인판매,사업소득,세무',
|
||||
NOW(),
|
||||
NOW()
|
||||
),
|
||||
|
||||
-- 7. 부가가치세 신고 기한
|
||||
(
|
||||
'부가가치세 신고 기한 - 2일만 늦어도 가산세입니다',
|
||||
$$# 부가가치세 신고 기한
|
||||
|
||||
"부가가치세는 언제까지 신고해야 하나요?"
|
||||
|
||||
부가가치세법 제25조에 따르면 신고 기한이 정해져 있습니다.
|
||||
|
||||
1️⃣ 이 정도는 누구나 배울 수 있어요
|
||||
|
||||
부가가치세 신고 기한 (2025년):
|
||||
- 1기 (1월~4월): 5월 25일까지
|
||||
- 2기 (5월~8월): 9월 25일까지
|
||||
|
||||
납부 기한:
|
||||
- 신고와 동시 납부 (가산세 피하려면)
|
||||
|
||||
신고 대상:
|
||||
- 매출 8,000만 원 이상: 일반과세
|
||||
- 매출 8,000만 원 이하: 간이과세
|
||||
|
||||
2️⃣ 하지만 현실은 복잡해요
|
||||
|
||||
과세/면세 구분?
|
||||
- 같은 매출도 과세/면세 섞여 있음
|
||||
- 복합사업: 업태별로 다름
|
||||
- 세무청 판단 필요
|
||||
|
||||
환급 세금을 놓치면?
|
||||
- 신고 기한 경과후 신청 불가
|
||||
- 수정신고로 환급신청 가능
|
||||
- 법정기한까지만 가능
|
||||
|
||||
재계산이 필요한가?
|
||||
- 선급금, 환불 등으로 변동
|
||||
- 세금 계산 다시 필요
|
||||
- 기한 내 수정신고 가능
|
||||
|
||||
3️⃣ 그래서 세무사가 필요합니다
|
||||
|
||||
세무사는:
|
||||
- 신고 기한 관리
|
||||
- 과세/면세 구분 정확성
|
||||
- 환금 세금 최대화
|
||||
- 기한 내 수정신고
|
||||
|
||||
법적 근거: 부가가치세법 제25조 신고기한
|
||||
$$,
|
||||
'vat-reporting-deadline',
|
||||
NULL,
|
||||
true,
|
||||
'Value Added Tax Reporting Deadline',
|
||||
'VAT filing deadline and calculation (부가가치세법 제25조)',
|
||||
'부가가치세,신고기한,세무',
|
||||
NOW(),
|
||||
NOW()
|
||||
),
|
||||
|
||||
-- 8. 종합소득세 신고 완벽 가이드
|
||||
(
|
||||
'종합소득세 신고 완벽 가이드 - 5월 신고로 연간 세금 결정됩니다',
|
||||
$$# 종합소득세 신고 완벽 가이드
|
||||
|
||||
"종합소득세는 무엇이고, 정말 모두 신고해야 하나요?"
|
||||
|
||||
소득세법 제19조에 따르면 종합소득세는 모든 사업소득을 합산하여 신고합니다.
|
||||
|
||||
1️⃣ 이 정도는 누구나 배울 수 있어요
|
||||
|
||||
종합소득세 구성:
|
||||
- 사업소득 (자영업, 프리랜서)
|
||||
- 근로소득 (급여)
|
||||
- 이자소득 (저축 이자)
|
||||
- 배당소득 (주식 배당)
|
||||
- 기타소득 (강의료 등)
|
||||
|
||||
신고 대상:
|
||||
- 종합소득 4,000만 원 초과
|
||||
|
||||
신고 기한:
|
||||
- 매년 5월 31일까지
|
||||
|
||||
필요 서류:
|
||||
- 사업소득 기장내역
|
||||
- 경비 영수증
|
||||
- 기부금 증명서
|
||||
|
||||
2️⃣ 하지만 현실은 복잡해요
|
||||
|
||||
모든 소득을 포함해야 하나?
|
||||
- 사업소득, 근로소득, 기타소득 모두
|
||||
- 하나라도 누락되면 탈세
|
||||
- 세무청이 자동 적발
|
||||
|
||||
공제 항목을 놓치면?
|
||||
- 교육비, 의료비, 기부금 공제 가능
|
||||
- 공제 순서가 있음 (환급 과감면제 등)
|
||||
- 증빙서류 필수
|
||||
|
||||
세율은 얼마인가?
|
||||
- 소득에 따라 6~45% (누진세)
|
||||
- 계산이 복잡함
|
||||
- 오류가능성 높음
|
||||
|
||||
3️⃣ 그래서 세무사가 필요합니다
|
||||
|
||||
세무사는:
|
||||
- 전체 소득 정확한 파악
|
||||
- 공제 항목 최대화
|
||||
- 세율 계산 정확성
|
||||
- 환급금 극대화
|
||||
|
||||
법적 근거: 소득세법 제19조 종합소득
|
||||
$$,
|
||||
'comprehensive-income-tax-guide',
|
||||
NULL,
|
||||
true,
|
||||
'Comprehensive Income Tax Filing Guide',
|
||||
'Complete guide to filing comprehensive income tax (종합소득세) (소득세법 제19조)',
|
||||
'종합소득세,신고,공제,소득세',
|
||||
NOW(),
|
||||
NOW()
|
||||
),
|
||||
|
||||
-- 9. 연말정산 환급 최대화
|
||||
(
|
||||
'연말정산 환급 최대화 - 놓친 공제 하나가 수십만 원입니다',
|
||||
$$# 연말정산 환급 최대화
|
||||
|
||||
"연말정산으로 환금을 받으려면 뭘 꼭 챙겨야 하나요?"
|
||||
|
||||
소득세법 제163조에 따르면 특정 지출에 대해 세액공제가 있습니다.
|
||||
|
||||
1️⃣ 이 정도는 누구나 배울 수 있어요
|
||||
|
||||
주요 공제 (2025년):
|
||||
- 기본공제: 1명당 150만 원
|
||||
- 교육비: 학생본인+자녀 연 900만 원
|
||||
- 의료비: 연 750만 원 초과분
|
||||
- 기부금: 전액 공제
|
||||
- 신용카드: 연 25만 원 초과분 15% 공제
|
||||
|
||||
계산 예시:
|
||||
- 신용카드 사용 200만 원 → (200만-250만) × 15% = 환금 0원
|
||||
- 신용카드 사용 300만 원 → (300만-250만) × 15% = 7.5만 원 환금
|
||||
|
||||
2️⃣ 하지만 현실은 복잡해요
|
||||
|
||||
공제 순서가 있나?
|
||||
- 기본공제 먼저
|
||||
- 그 다음 특별공제 (교육비, 의료비)
|
||||
- 마지막 세액공제
|
||||
- 순서 틀리면 환금 안 됨
|
||||
|
||||
중복 공제는?
|
||||
- 같은 지출 두 번 공제 불가
|
||||
- 배우자가 신청했으면?
|
||||
- 부모가 신청했으면? (중복 불가)
|
||||
|
||||
증빙서류를 잃어버렸다면?
|
||||
- 신용카드: 증빙 필수 (발급 신청)
|
||||
- 현금영수증: 미리 등록해야 공제
|
||||
- 의료비: 병원 영수증 필수
|
||||
|
||||
3️⃣ 그래서 세무사가 필요합니다
|
||||
|
||||
세무사는:
|
||||
- 공제 항목 빠짐 없이 확인
|
||||
- 중복 공제 방지
|
||||
- 최적 가족 배분 (부부, 부모)
|
||||
- 환급금 극대화
|
||||
|
||||
법적 근거: 소득세법 제163조 연말정산
|
||||
$$,
|
||||
'year-end-tax-settlement',
|
||||
NULL,
|
||||
true,
|
||||
'Year-End Tax Settlement Refund Maximization',
|
||||
'How to maximize tax refund in year-end adjustment (연말정산) (소득세법 제163조)',
|
||||
'연말정산,환금,공제,세액공제',
|
||||
NOW(),
|
||||
NOW()
|
||||
);
|
||||
@@ -1,6 +1,11 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
if [ "${TAXBAIK_DEPLOY_FROM_CI:-}" != "1" ]; then
|
||||
echo "❌ This deployment script may only be run from CI." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
DEPLOY_HOME="/home/kjh2064"
|
||||
WEB_TIMESTAMP=$(date +%Y%m%d_%H%M%S)
|
||||
|
||||
@@ -38,4 +43,4 @@ ps aux | grep TaxBaik.Web | grep -v grep && echo "✓ Web started" || echo "✗
|
||||
|
||||
echo ""
|
||||
echo "===== ✅ 배포 완료 ====="
|
||||
cat "$DEPLOY_HOME/taxbaik_active/wwwroot/version.txt" 2>/dev/null || echo "Version file not found"
|
||||
cat "$DEPLOY_HOME/taxbaik_active/wwwroot/version.json" 2>/dev/null || echo "Version file not found"
|
||||
|
||||
@@ -0,0 +1,138 @@
|
||||
# 1. TaxBaik 홈페이지 (taxbaik.com, www.taxbaik.com)
|
||||
server {
|
||||
server_name taxbaik.com www.taxbaik.com;
|
||||
client_max_body_size 512M;
|
||||
|
||||
|
||||
# /admin 하위 요청을 /taxbaik/admin 으로 리다이렉트하여 Blazor Base Path 대응
|
||||
location /admin {
|
||||
return 301 $scheme://$host/taxbaik$request_uri;
|
||||
}
|
||||
|
||||
# 루트 경로 요청을 /taxbaik 으로 프록싱하여 base href /taxbaik/ 에 대응
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:5001/taxbaik/;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "Upgrade";
|
||||
proxy_set_header Host $host;
|
||||
proxy_cache_bypass $http_upgrade;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
|
||||
# /taxbaik/ 하위로 들어오는 리소스 및 페이지 요청 처리
|
||||
location /taxbaik {
|
||||
proxy_pass http://127.0.0.1:5001;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "Upgrade";
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_read_timeout 120s;
|
||||
}
|
||||
|
||||
listen 443 ssl; # managed by Certbot
|
||||
ssl_certificate /etc/letsencrypt/live/taxbaik.com/fullchain.pem; # managed by Certbot
|
||||
ssl_certificate_key /etc/letsencrypt/live/taxbaik.com/privkey.pem; # managed by Certbot
|
||||
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
|
||||
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
|
||||
|
||||
|
||||
}
|
||||
|
||||
# 2. Gitea (gitea.taxbaik.com)
|
||||
server {
|
||||
server_name gitea.taxbaik.com;
|
||||
client_max_body_size 512M;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:3000;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_read_timeout 300;
|
||||
proxy_connect_timeout 300;
|
||||
proxy_send_timeout 300;
|
||||
}
|
||||
|
||||
listen 443 ssl; # managed by Certbot
|
||||
ssl_certificate /etc/letsencrypt/live/taxbaik.com/fullchain.pem; # managed by Certbot
|
||||
ssl_certificate_key /etc/letsencrypt/live/taxbaik.com/privkey.pem; # managed by Certbot
|
||||
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
|
||||
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
|
||||
|
||||
}
|
||||
|
||||
# 3. QuantEngine (quant.taxbaik.com)
|
||||
server {
|
||||
server_name quant.taxbaik.com;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:5000/;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "Upgrade";
|
||||
proxy_set_header Host $host;
|
||||
proxy_cache_bypass $http_upgrade;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
|
||||
listen 443 ssl; # managed by Certbot
|
||||
ssl_certificate /etc/letsencrypt/live/taxbaik.com/fullchain.pem; # managed by Certbot
|
||||
ssl_certificate_key /etc/letsencrypt/live/taxbaik.com/privkey.pem; # managed by Certbot
|
||||
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
|
||||
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
|
||||
|
||||
}
|
||||
|
||||
server {
|
||||
if ($host = www.taxbaik.com) {
|
||||
return 301 https://$host$request_uri;
|
||||
} # managed by Certbot
|
||||
|
||||
|
||||
if ($host = taxbaik.com) {
|
||||
return 301 https://$host$request_uri;
|
||||
} # managed by Certbot
|
||||
|
||||
|
||||
listen 80;
|
||||
server_name taxbaik.com www.taxbaik.com;
|
||||
return 404; # managed by Certbot
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
server {
|
||||
if ($host = gitea.taxbaik.com) {
|
||||
return 301 https://$host$request_uri;
|
||||
} # managed by Certbot
|
||||
|
||||
|
||||
listen 80;
|
||||
server_name gitea.taxbaik.com;
|
||||
return 404; # managed by Certbot
|
||||
|
||||
|
||||
}
|
||||
server {
|
||||
if ($host = quant.taxbaik.com) {
|
||||
return 301 https://$host$request_uri;
|
||||
} # managed by Certbot
|
||||
|
||||
|
||||
listen 80;
|
||||
server_name quant.taxbaik.com;
|
||||
return 404; # managed by Certbot
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
[Unit]
|
||||
Description=TaxBaik Local TCP Proxy (5001 -> active blue/green port)
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=kjh2064
|
||||
WorkingDirectory=/home/kjh2064/taxbaik_active
|
||||
ExecStart=/usr/bin/dotnet TaxBaik.Proxy.dll
|
||||
Restart=always
|
||||
RestartSec=3
|
||||
|
||||
# Proxy는 백엔드 포트(5003/5004) 전환 중에도 살아 있어야 한다.
|
||||
TimeoutStopSec=15
|
||||
KillMode=mixed
|
||||
KillSignal=SIGTERM
|
||||
|
||||
SyslogIdentifier=taxbaik-proxy
|
||||
Environment=DOTNET_PRINT_TELEMETRY_MESSAGE=false
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -1,5 +1,5 @@
|
||||
[Unit]
|
||||
Description=TaxBaik Website and Admin (.NET 10)
|
||||
Description=TaxBaik Backend App (.NET 10)
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
@@ -17,7 +17,7 @@ KillSignal=SIGTERM
|
||||
|
||||
SyslogIdentifier=taxbaik
|
||||
Environment=ASPNETCORE_ENVIRONMENT=Production
|
||||
Environment=ASPNETCORE_URLS=http://127.0.0.1:5001
|
||||
Environment=ASPNETCORE_URLS=http://127.0.0.1:5004
|
||||
Environment=DOTNET_PRINT_TELEMETRY_MESSAGE=false
|
||||
# 아래 줄은 서버에서 직접 편집 (git에 커밋하지 않음)
|
||||
# Environment=ConnectionStrings__Default=Host=localhost;Database=taxbaikdb;Username=taxbaik;Password=CHANGE_ME
|
||||
|
||||
+125
@@ -0,0 +1,125 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
DEPLOY_HOME="/home/kjh2064"
|
||||
PORT_FILE="$DEPLOY_HOME/taxbaik_port"
|
||||
TIMESTAMP=$(date +%Y%m%d_%H%M%S)
|
||||
|
||||
echo "===== 🚀 TaxBaik Green/Blue Deployment Script ====="
|
||||
|
||||
if [ "${TAXBAIK_DEPLOY_FROM_CI:-}" != "1" ]; then
|
||||
echo "❌ This deployment script may only be run from CI." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# 1. Determine active port
|
||||
ACTIVE_PORT=5003
|
||||
if [ -f "$PORT_FILE" ]; then
|
||||
ACTIVE_PORT=$(cat "$PORT_FILE" | tr -d '[:space:]')
|
||||
fi
|
||||
|
||||
# 2. Determine target port
|
||||
TARGET_PORT=5003
|
||||
if [ "$ACTIVE_PORT" -eq 5003 ]; then
|
||||
TARGET_PORT=5004
|
||||
else
|
||||
TARGET_PORT=5003
|
||||
fi
|
||||
|
||||
echo "Active Port: $ACTIVE_PORT"
|
||||
echo "Target Port: $TARGET_PORT"
|
||||
|
||||
# 3. New deploy dir is passed as first argument
|
||||
DEPLOY_DIR="$1"
|
||||
if [ -z "$DEPLOY_DIR" ]; then
|
||||
echo "Error: Deployment directory argument required"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "Deploy Directory: $DEPLOY_DIR"
|
||||
|
||||
if [ ! -s "$DEPLOY_DIR/appsettings.Production.json" ]; then
|
||||
echo "❌ Missing production settings: $DEPLOY_DIR/appsettings.Production.json" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! -s "$DEPLOY_DIR/proxy/TaxBaik.Proxy.dll" ]; then
|
||||
echo "❌ Missing proxy artifact: $DEPLOY_DIR/proxy/TaxBaik.Proxy.dll" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# 0. Ensure the local TCP proxy exists and is running.
|
||||
# Nginx and external traffic always enter through 127.0.0.1:5001.
|
||||
if ! ss -tln | grep -q ':5001 '; then
|
||||
echo "=== Starting proxy on 127.0.0.1:5001 ==="
|
||||
cd "$DEPLOY_DIR/proxy"
|
||||
nohup /usr/bin/dotnet TaxBaik.Proxy.dll > "$DEPLOY_HOME/taxbaik_proxy.log" 2>&1 &
|
||||
sleep 2
|
||||
fi
|
||||
|
||||
if ! ss -tln | grep -q ':5001 '; then
|
||||
echo "❌ Proxy on 127.0.0.1:5001 is not running. Abort deploy." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# 4. Start the new app on the target port
|
||||
echo "=== Starting New App on Port $TARGET_PORT ==="
|
||||
cd "$DEPLOY_DIR"
|
||||
export ASPNETCORE_ENVIRONMENT=Production
|
||||
export ASPNETCORE_URLS="http://127.0.0.1:$TARGET_PORT"
|
||||
|
||||
# Run dotnet process
|
||||
nohup /usr/bin/dotnet TaxBaik.Web.dll > "web_${TARGET_PORT}.log" 2>&1 &
|
||||
NEW_PID=$!
|
||||
sleep 2
|
||||
|
||||
# Verify process is running
|
||||
if ! ps -p $NEW_PID > /dev/null; then
|
||||
echo "❌ Failed to start dotnet process on port $TARGET_PORT"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# 5. Health Check Loop
|
||||
echo "=== Health Checking Port $TARGET_PORT ==="
|
||||
ATTEMPTS=20
|
||||
SUCCESS=false
|
||||
for i in $(seq 1 $ATTEMPTS); do
|
||||
STATUS=$(curl -sf -o /dev/null -w '%{http_code}' "http://127.0.0.1:${TARGET_PORT}/taxbaik/healthz" 2>/dev/null || echo "000")
|
||||
if [ "$STATUS" = "200" ]; then
|
||||
echo "✓ Health check passed on port $TARGET_PORT (Attempt $i/$ATTEMPTS)"
|
||||
SUCCESS=true
|
||||
break
|
||||
fi
|
||||
echo " Waiting for health check... ($i/$ATTEMPTS, Status: $STATUS)"
|
||||
sleep 2
|
||||
done
|
||||
|
||||
if [ "$SUCCESS" = "false" ]; then
|
||||
echo "❌ Health check failed. Rolling back..."
|
||||
kill -9 $NEW_PID || true
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# 6. Switch Traffic
|
||||
echo "=== Switching Traffic to Port $TARGET_PORT ==="
|
||||
echo "$TARGET_PORT" > "$PORT_FILE"
|
||||
echo "✓ Traffic routed to $TARGET_PORT"
|
||||
|
||||
# 7. Terminate Old App
|
||||
echo "=== Stopping Old App on Port $ACTIVE_PORT ==="
|
||||
# Find PID listening on ACTIVE_PORT
|
||||
OLD_PID=$(ss -tlnp | grep ":$ACTIVE_PORT " | grep -oP 'pid=\K\d+' | head -n1)
|
||||
if [ -n "$OLD_PID" ]; then
|
||||
echo "Killing old process PID: $OLD_PID"
|
||||
kill -15 $OLD_PID || kill -9 $OLD_PID
|
||||
echo "✓ Old process terminated"
|
||||
else
|
||||
echo "No old process found on port $ACTIVE_PORT"
|
||||
fi
|
||||
|
||||
# 8. Cleanup old deployment directories (Keep last 5)
|
||||
echo "=== Cleaning Up Old Deployments ==="
|
||||
ls -1dt $DEPLOY_HOME/deployments/taxbaik_* 2>/dev/null | tail -n +6 | xargs rm -rf 2>/dev/null || true
|
||||
echo "✓ Cleanup completed"
|
||||
|
||||
echo "===== ✅ Green/Blue Deployment Completed Successfully ====="
|
||||
-304
@@ -1,304 +0,0 @@
|
||||
2026-06-27T04:56:03.3351427Z hz-prod-runner-2(version:v0.6.1) received task 226 of job build-and-deploy, be triggered by event: push
|
||||
2026-06-27T04:56:03.3365627Z workflow prepared
|
||||
2026-06-27T04:56:03.3368227Z evaluating expression 'success()'
|
||||
2026-06-27T04:56:03.3369635Z expression 'success()' evaluated to 'true'
|
||||
2026-06-27T04:56:03.3369906Z 🚀 Start image=docker.gitea.com/runner-images:ubuntu-latest
|
||||
2026-06-27T04:56:03.3469982Z 🐳 docker pull image=docker.gitea.com/runner-images:ubuntu-latest platform= username= forcePull=false
|
||||
2026-06-27T04:56:03.3470151Z 🐳 docker pull docker.gitea.com/runner-images:ubuntu-latest
|
||||
2026-06-27T04:56:03.3711275Z Image exists? true
|
||||
2026-06-27T04:56:03.4320683Z 🐳 docker create image=docker.gitea.com/runner-images:ubuntu-latest platform= entrypoint=["/bin/sleep" "10800"] cmd=[] network="gitea_default"
|
||||
2026-06-27T04:56:03.5768660Z Created container name=GITEA-ACTIONS-TASK-226-WORKFLOW-TaxBaik-CI-CD-JOB-build-and-dep-a3bcec03683b8288cca5dbdce5fc0bc04f6c8040c52843997ac5d043bef6c2cd id=d2fef580855a7a9e6623f1d2d4854e6d6df506657a8ccbc0d74d5244696c7287 from image docker.gitea.com/runner-images:ubuntu-latest (platform: )
|
||||
2026-06-27T04:56:03.5769226Z ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_ARCH=X64 RUNNER_TEMP=/tmp LANG=C.UTF-8]
|
||||
2026-06-27T04:56:03.5769370Z 🐳 docker run image=docker.gitea.com/runner-images:ubuntu-latest platform= entrypoint=["/bin/sleep" "10800"] cmd=[] network="gitea_default"
|
||||
2026-06-27T04:56:03.5769500Z Starting container: d2fef580855a7a9e6623f1d2d4854e6d6df506657a8ccbc0d74d5244696c7287
|
||||
2026-06-27T04:56:03.7251219Z Started container: d2fef580855a7a9e6623f1d2d4854e6d6df506657a8ccbc0d74d5244696c7287
|
||||
2026-06-27T04:56:03.8326400Z Writing entry to tarball workflow/event.json len:4689
|
||||
2026-06-27T04:56:03.8326926Z Writing entry to tarball workflow/envs.txt len:0
|
||||
2026-06-27T04:56:03.8327356Z Extracting content to '/var/run/act/'
|
||||
2026-06-27T04:56:03.8540089Z ☁ git clone 'https://github.com/actions/checkout' # ref=v4
|
||||
2026-06-27T04:56:03.8540403Z cloning https://github.com/actions/checkout to /root/.cache/act/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab
|
||||
2026-06-27T04:56:04.3610152Z Unable to pull refs/heads/v4: non-fast-forward update
|
||||
2026-06-27T04:56:04.3610725Z Cloned https://github.com/actions/checkout to /root/.cache/act/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab
|
||||
2026-06-27T04:56:04.3705653Z Checked out v4
|
||||
2026-06-27T04:56:04.3831658Z ☁ git clone 'https://github.com/actions/setup-dotnet' # ref=v4
|
||||
2026-06-27T04:56:04.3832406Z cloning https://github.com/actions/setup-dotnet to /root/.cache/act/2d637816dd86ec9ff59dad9ec3547bf90b88133b3029538a91ec96ac7f316336
|
||||
2026-06-27T04:56:05.0081404Z Unable to pull refs/heads/v4: worktree contains unstaged changes
|
||||
2026-06-27T04:56:05.0081931Z Cloned https://github.com/actions/setup-dotnet to /root/.cache/act/2d637816dd86ec9ff59dad9ec3547bf90b88133b3029538a91ec96ac7f316336
|
||||
2026-06-27T04:56:05.0309400Z Checked out v4
|
||||
2026-06-27T04:56:05.0581711Z evaluating expression ''
|
||||
2026-06-27T04:56:05.0582187Z expression '' evaluated to 'true'
|
||||
2026-06-27T04:56:05.0582308Z ⭐ Run Main Checkout code
|
||||
2026-06-27T04:56:05.0582506Z Writing entry to tarball workflow/outputcmd.txt len:0
|
||||
2026-06-27T04:56:05.0582655Z Writing entry to tarball workflow/statecmd.txt len:0
|
||||
2026-06-27T04:56:05.0582768Z Writing entry to tarball workflow/pathcmd.txt len:0
|
||||
2026-06-27T04:56:05.0582888Z Writing entry to tarball workflow/envs.txt len:0
|
||||
2026-06-27T04:56:05.0582972Z Writing entry to tarball workflow/SUMMARY.md len:0
|
||||
2026-06-27T04:56:05.0583056Z Extracting content to '/var/run/act'
|
||||
2026-06-27T04:56:05.0634156Z ::group::Run Checkout code
|
||||
2026-06-27T04:56:05.6257781Z ::add-matcher::/run/act/actions/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab/dist/problem-matcher.json
|
||||
2026-06-27T04:56:05.6257964Z Syncing repository: ***/taxbaik
|
||||
2026-06-27T04:56:05.6258420Z ::group::Getting Git version info
|
||||
2026-06-27T04:56:05.6258529Z Working directory is '/workspace/***/taxbaik'
|
||||
2026-06-27T04:56:05.6259126Z [command]/usr/bin/git version
|
||||
2026-06-27T04:56:05.6313546Z git version 2.54.0
|
||||
2026-06-27T04:56:05.6364469Z ::endgroup::
|
||||
2026-06-27T04:56:05.6371338Z Temporarily overriding HOME='/tmp/3e93f553-efe9-4f68-aa0d-91861f1d766a' before making global git config changes
|
||||
2026-06-27T04:56:05.6389308Z Adding repository directory to the temporary git global config as a safe directory
|
||||
2026-06-27T04:56:05.6389710Z [command]/usr/bin/git config --global --add safe.directory /workspace/***/taxbaik
|
||||
2026-06-27T04:56:05.6428064Z Deleting the contents of '/workspace/***/taxbaik'
|
||||
2026-06-27T04:56:05.6433245Z ::group::Initializing the repository
|
||||
2026-06-27T04:56:05.6445696Z [command]/usr/bin/git init /workspace/***/taxbaik
|
||||
2026-06-27T04:56:05.6543767Z hint: Using 'master' as the name for the initial branch. This default branch name
|
||||
2026-06-27T04:56:05.6544631Z hint: will change to "main" in Git 3.0. To configure the initial branch name
|
||||
2026-06-27T04:56:05.6545055Z hint: to use in all of your new repositories, which will suppress this warning,
|
||||
2026-06-27T04:56:05.6545168Z hint: call:
|
||||
2026-06-27T04:56:05.6545317Z hint:
|
||||
2026-06-27T04:56:05.6545401Z hint: git config --global init.defaultBranch <name>
|
||||
2026-06-27T04:56:05.6545683Z hint:
|
||||
2026-06-27T04:56:05.6545823Z hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
|
||||
2026-06-27T04:56:05.6545970Z hint: 'development'. The just-created branch can be renamed via this command:
|
||||
2026-06-27T04:56:05.6546470Z hint:
|
||||
2026-06-27T04:56:05.6546651Z hint: git branch -m <name>
|
||||
2026-06-27T04:56:05.6546773Z hint:
|
||||
2026-06-27T04:56:05.6546843Z hint: Disable this message with "git config set advice.defaultBranchName false"
|
||||
2026-06-27T04:56:05.6554341Z Initialized empty Git repository in /workspace/***/taxbaik/.git/
|
||||
2026-06-27T04:56:05.6575873Z [command]/usr/bin/git remote add origin http://gitea:3000/***/taxbaik
|
||||
2026-06-27T04:56:05.6623404Z ::endgroup::
|
||||
2026-06-27T04:56:05.6626429Z ::group::Disabling automatic garbage collection
|
||||
2026-06-27T04:56:05.6634254Z [command]/usr/bin/git config --local gc.auto 0
|
||||
2026-06-27T04:56:05.6685641Z ::endgroup::
|
||||
2026-06-27T04:56:05.6687849Z ::group::Setting up auth
|
||||
2026-06-27T04:56:05.6698455Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
|
||||
2026-06-27T04:56:05.6740219Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
|
||||
2026-06-27T04:56:05.7248040Z [command]/usr/bin/git config --local --name-only --get-regexp http\.http\:\/\/gitea\:3000\/\.extraheader
|
||||
2026-06-27T04:56:05.7288824Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.http\:\/\/gitea\:3000\/\.extraheader' && git config --local --unset-all 'http.http://gitea:3000/.extraheader' || :"
|
||||
2026-06-27T04:56:05.7658992Z [command]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir:
|
||||
2026-06-27T04:56:05.7659732Z [command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
|
||||
2026-06-27T04:56:05.7968273Z [command]/usr/bin/git config --local http.http://gitea:3000/.extraheader AUTHORIZATION: basic ***
|
||||
2026-06-27T04:56:05.8012871Z ::endgroup::
|
||||
2026-06-27T04:56:05.8015731Z ::group::Fetching the repository
|
||||
2026-06-27T04:56:05.8027365Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +113140e6850a661075c8f50d672a5dd6915aeab5:refs/remotes/origin/master
|
||||
2026-06-27T04:56:05.9415617Z From http://gitea:3000/***/taxbaik
|
||||
2026-06-27T04:56:05.9416228Z * [new ref] 113140e6850a661075c8f50d672a5dd6915aeab5 -> origin/master
|
||||
2026-06-27T04:56:05.9476858Z ::endgroup::
|
||||
2026-06-27T04:56:05.9479051Z ::group::Determining the checkout info
|
||||
2026-06-27T04:56:05.9483545Z ::endgroup::
|
||||
2026-06-27T04:56:05.9491587Z [command]/usr/bin/git sparse-checkout disable
|
||||
2026-06-27T04:56:05.9567970Z [command]/usr/bin/git config --local --unset-all extensions.worktreeConfig
|
||||
2026-06-27T04:56:05.9615301Z ::group::Checking out the ref
|
||||
2026-06-27T04:56:05.9615447Z [command]/usr/bin/git checkout --progress --force -B master refs/remotes/origin/master
|
||||
2026-06-27T04:56:05.9746041Z Reset branch 'master'
|
||||
2026-06-27T04:56:05.9746789Z branch 'master' set up to track 'origin/master'.
|
||||
2026-06-27T04:56:05.9764086Z ::endgroup::
|
||||
2026-06-27T04:56:05.9887328Z [command]/usr/bin/git log -1 --format=%H
|
||||
2026-06-27T04:56:05.9887474Z 113140e6850a661075c8f50d672a5dd6915aeab5
|
||||
2026-06-27T04:56:05.9890246Z ::remove-matcher owner=checkout-git::
|
||||
2026-06-27T04:56:05.9973072Z ::endgroup::
|
||||
2026-06-27T04:56:06.0501470Z ::group::Run Setup .NET
|
||||
2026-06-27T04:56:06.0501794Z with:
|
||||
2026-06-27T04:56:06.0501904Z dotnet-version: 10.0
|
||||
2026-06-27T04:56:06.5648878Z (node:143) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
|
||||
2026-06-27T04:56:06.5649560Z (Use `node --trace-deprecation ...` to show where the warning was created)
|
||||
2026-06-27T04:56:06.5717881Z [command]/run/act/actions/2d637816dd86ec9ff59dad9ec3547bf90b88133b3029538a91ec96ac7f316336/externals/install-dotnet.sh --skip-non-versioned-files --runtime dotnet --channel LTS
|
||||
2026-06-27T04:56:07.0670653Z dotnet-install: Attempting to download using aka.ms link https://builds.dotnet.microsoft.com/dotnet/Runtime/10.0.9/dotnet-runtime-10.0.9-linux-x64.tar.gz
|
||||
2026-06-27T04:56:07.6200922Z dotnet-install: Remote file https://builds.dotnet.microsoft.com/dotnet/Runtime/10.0.9/dotnet-runtime-10.0.9-linux-x64.tar.gz size is 36606251 bytes.
|
||||
2026-06-27T04:56:07.6208881Z dotnet-install: Extracting archive from https://builds.dotnet.microsoft.com/dotnet/Runtime/10.0.9/dotnet-runtime-10.0.9-linux-x64.tar.gz
|
||||
2026-06-27T04:56:08.5050524Z dotnet-install: Downloaded file size is 36606251 bytes.
|
||||
2026-06-27T04:56:08.5051004Z dotnet-install: The remote and local file sizes are equal.
|
||||
2026-06-27T04:56:08.5294116Z dotnet-install: Installed version is 10.0.9
|
||||
2026-06-27T04:56:08.5362394Z dotnet-install: Adding to current process PATH: `/usr/share/dotnet`. Note: This change will be visible only when sourcing script.
|
||||
2026-06-27T04:56:08.5367675Z dotnet-install: Note that the script does not resolve dependencies during installation.
|
||||
2026-06-27T04:56:08.5375788Z dotnet-install: To check the list of dependencies, go to https://learn.microsoft.com/dotnet/core/install, select your operating system and check the "Dependencies" section.
|
||||
2026-06-27T04:56:08.5376343Z dotnet-install: Installation finished successfully.
|
||||
2026-06-27T04:56:08.5413709Z [command]/run/act/actions/2d637816dd86ec9ff59dad9ec3547bf90b88133b3029538a91ec96ac7f316336/externals/install-dotnet.sh --skip-non-versioned-files --channel 10.0
|
||||
2026-06-27T04:56:08.9148862Z dotnet-install: Attempting to download using aka.ms link https://builds.dotnet.microsoft.com/dotnet/Sdk/10.0.301/dotnet-sdk-10.0.301-linux-x64.tar.gz
|
||||
2026-06-27T04:56:12.0031545Z dotnet-install: Remote file https://builds.dotnet.microsoft.com/dotnet/Sdk/10.0.301/dotnet-sdk-10.0.301-linux-x64.tar.gz size is 235086718 bytes.
|
||||
2026-06-27T04:56:12.0048639Z dotnet-install: Extracting archive from https://builds.dotnet.microsoft.com/dotnet/Sdk/10.0.301/dotnet-sdk-10.0.301-linux-x64.tar.gz
|
||||
2026-06-27T04:56:18.1368889Z dotnet-install: Downloaded file size is 235086718 bytes.
|
||||
2026-06-27T04:56:18.1369604Z dotnet-install: The remote and local file sizes are equal.
|
||||
2026-06-27T04:56:18.3473775Z dotnet-install: Installed version is 10.0.301
|
||||
2026-06-27T04:56:18.3528935Z dotnet-install: Adding to current process PATH: `/usr/share/dotnet`. Note: This change will be visible only when sourcing script.
|
||||
2026-06-27T04:56:18.3537893Z dotnet-install: Note that the script does not resolve dependencies during installation.
|
||||
2026-06-27T04:56:18.3538239Z dotnet-install: To check the list of dependencies, go to https://learn.microsoft.com/dotnet/core/install, select your operating system and check the "Dependencies" section.
|
||||
2026-06-27T04:56:18.3538644Z dotnet-install: Installation finished successfully.
|
||||
2026-06-27T04:56:18.3769412Z ##[add-matcher]/run/act/actions/2d637816dd86ec9ff59dad9ec3547bf90b88133b3029538a91ec96ac7f316336/.github/csc.json
|
||||
2026-06-27T04:56:18.3907732Z ::endgroup::
|
||||
2026-06-27T04:56:18.5596996Z ::group::Run dotnet restore TaxBaik.sln
|
||||
2026-06-27T04:56:18.5597625Z dotnet restore TaxBaik.sln
|
||||
2026-06-27T04:56:18.5597743Z shell: bash --noprofile --norc -e -o pipefail {0}
|
||||
2026-06-27T04:56:18.5597858Z ::endgroup::
|
||||
2026-06-27T04:56:18.9646917Z
|
||||
2026-06-27T04:56:18.9666611Z Welcome to .NET 10.0!
|
||||
2026-06-27T04:56:18.9666879Z ---------------------
|
||||
2026-06-27T04:56:18.9667025Z SDK Version: 10.0.301
|
||||
2026-06-27T04:56:18.9667335Z
|
||||
2026-06-27T04:56:18.9667460Z Telemetry
|
||||
2026-06-27T04:56:18.9667540Z ---------
|
||||
2026-06-27T04:56:18.9667780Z The .NET tools collect usage data in order to help us improve your experience. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.
|
||||
2026-06-27T04:56:18.9668054Z
|
||||
2026-06-27T04:56:18.9668219Z Read more about .NET CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry
|
||||
2026-06-27T04:56:19.1666807Z
|
||||
2026-06-27T04:56:19.1667580Z ----------------
|
||||
2026-06-27T04:56:19.1668003Z Installed an ASP.NET Core HTTPS development certificate.
|
||||
2026-06-27T04:56:19.1668130Z To trust the certificate, run 'dotnet dev-certs https --trust'
|
||||
2026-06-27T04:56:19.1668260Z Learn about HTTPS: https://aka.ms/dotnet-https
|
||||
2026-06-27T04:56:19.1668406Z
|
||||
2026-06-27T04:56:19.1669837Z ----------------
|
||||
2026-06-27T04:56:19.1670096Z Write your first app: https://aka.ms/dotnet-hello-world
|
||||
2026-06-27T04:56:19.1670185Z Find out what's new: https://aka.ms/dotnet-whats-new
|
||||
2026-06-27T04:56:19.1670261Z Explore documentation: https://aka.ms/dotnet-docs
|
||||
2026-06-27T04:56:19.1670362Z Report issues and find source on GitHub: https://github.com/dotnet/core
|
||||
2026-06-27T04:56:19.1670854Z Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli
|
||||
2026-06-27T04:56:19.1671002Z --------------------------------------------------------------------------------------
|
||||
2026-06-27T04:56:20.6814950Z Determining projects to restore...
|
||||
2026-06-27T04:56:21.6301085Z Restored /workspace/***/taxbaik/TaxBaik.Domain/TaxBaik.Domain.csproj (in 114 ms).
|
||||
2026-06-27T04:56:24.2757293Z Restored /workspace/***/taxbaik/TaxBaik.Infrastructure/TaxBaik.Infrastructure.csproj (in 2.8 sec).
|
||||
2026-06-27T04:56:24.2857032Z Restored /workspace/***/taxbaik/TaxBaik.Application/TaxBaik.Application.csproj (in 6 ms).
|
||||
2026-06-27T04:56:24.4002183Z Restored /workspace/***/taxbaik/TaxBaik.Web/TaxBaik.Web.csproj (in 2.76 sec).
|
||||
2026-06-27T04:56:25.9760981Z Restored /workspace/***/taxbaik/TaxBaik.Application.Tests/TaxBaik.Application.Tests.csproj (in 1.68 sec).
|
||||
2026-06-27T04:56:26.1335761Z ::group::Run dotnet clean TaxBaik.sln -c Release
|
||||
2026-06-27T04:56:26.1336322Z dotnet clean TaxBaik.sln -c Release
|
||||
2026-06-27T04:56:26.1336558Z dotnet build TaxBaik.sln -c Release --no-restore
|
||||
2026-06-27T04:56:26.1336735Z shell: bash --noprofile --norc -e -o pipefail {0}
|
||||
2026-06-27T04:56:26.1336858Z ::endgroup::
|
||||
2026-06-27T04:56:26.3973714Z Build started 06/27/2026 04:56:26.
|
||||
2026-06-27T04:56:26.5970958Z 1>Project "/workspace/***/taxbaik/TaxBaik.sln" on node 1 (Clean target(s)).
|
||||
2026-06-27T04:56:26.5971655Z 1>ValidateSolutionConfiguration:
|
||||
2026-06-27T04:56:26.5971846Z Building solution configuration "Release|Any CPU".
|
||||
2026-06-27T04:56:26.9517250Z 1>Project "/workspace/***/taxbaik/TaxBaik.sln" (1) is building "/workspace/***/taxbaik/TaxBaik.Web/TaxBaik.Web.csproj" (2) on node 2 (Clean target(s)).
|
||||
2026-06-27T04:56:26.9518536Z 2>CoreClean:
|
||||
2026-06-27T04:56:26.9518837Z Creating directory "obj/Release/net10.0/".
|
||||
2026-06-27T04:56:26.9899747Z 1>Project "/workspace/***/taxbaik/TaxBaik.sln" (1) is building "/workspace/***/taxbaik/TaxBaik.Application.Tests/TaxBaik.Application.Tests.csproj" (3) on node 1 (Clean target(s)).
|
||||
2026-06-27T04:56:26.9902304Z 3>CoreClean:
|
||||
2026-06-27T04:56:26.9904320Z Creating directory "obj/Release/net10.0/".
|
||||
2026-06-27T04:56:27.1845185Z 3>Project "/workspace/***/taxbaik/TaxBaik.Application.Tests/TaxBaik.Application.Tests.csproj" (3) is building "/workspace/***/taxbaik/TaxBaik.Domain/TaxBaik.Domain.csproj" (5:3) on node 1 (Clean target(s)).
|
||||
2026-06-27T04:56:27.1845847Z 5>CoreClean:
|
||||
2026-06-27T04:56:27.1846000Z Creating directory "obj/Release/net10.0/".
|
||||
2026-06-27T04:56:27.2247796Z 5>Done Building Project "/workspace/***/taxbaik/TaxBaik.Domain/TaxBaik.Domain.csproj" (Clean target(s)).
|
||||
2026-06-27T04:56:27.2471242Z 2>Project "/workspace/***/taxbaik/TaxBaik.Web/TaxBaik.Web.csproj" (2) is building "/workspace/***/taxbaik/TaxBaik.Application/TaxBaik.Application.csproj" (4:3) on node 2 (Clean target(s)).
|
||||
2026-06-27T04:56:27.2472145Z 4>CoreClean:
|
||||
2026-06-27T04:56:27.2472586Z Creating directory "obj/Release/net10.0/".
|
||||
2026-06-27T04:56:27.2711925Z 4>Done Building Project "/workspace/***/taxbaik/TaxBaik.Application/TaxBaik.Application.csproj" (Clean target(s)).
|
||||
2026-06-27T04:56:27.2748289Z 3>Done Building Project "/workspace/***/taxbaik/TaxBaik.Application.Tests/TaxBaik.Application.Tests.csproj" (Clean target(s)).
|
||||
2026-06-27T04:56:27.2955283Z 2>Project "/workspace/***/taxbaik/TaxBaik.Web/TaxBaik.Web.csproj" (2) is building "/workspace/***/taxbaik/TaxBaik.Infrastructure/TaxBaik.Infrastructure.csproj" (6:2) on node 2 (Clean target(s)).
|
||||
2026-06-27T04:56:27.2959949Z 6>CoreClean:
|
||||
2026-06-27T04:56:27.2962173Z Creating directory "obj/Release/net10.0/".
|
||||
2026-06-27T04:56:27.3191977Z 6>Done Building Project "/workspace/***/taxbaik/TaxBaik.Infrastructure/TaxBaik.Infrastructure.csproj" (Clean target(s)).
|
||||
2026-06-27T04:56:27.3217578Z 2>Done Building Project "/workspace/***/taxbaik/TaxBaik.Web/TaxBaik.Web.csproj" (Clean target(s)).
|
||||
2026-06-27T04:56:27.3229334Z 1>Done Building Project "/workspace/***/taxbaik/TaxBaik.sln" (Clean target(s)).
|
||||
2026-06-27T04:56:27.3351258Z
|
||||
2026-06-27T04:56:27.3351675Z Build succeeded.
|
||||
2026-06-27T04:56:27.3351846Z 0 Warning(s)
|
||||
2026-06-27T04:56:27.3351941Z 0 Error(s)
|
||||
2026-06-27T04:56:27.3352049Z
|
||||
2026-06-27T04:56:27.3352232Z Time Elapsed 00:00:00.93
|
||||
2026-06-27T04:56:31.4823444Z TaxBaik.Domain -> /workspace/***/taxbaik/TaxBaik.Domain/bin/Release/net10.0/TaxBaik.Domain.dll
|
||||
2026-06-27T04:56:32.7568728Z TaxBaik.Infrastructure -> /workspace/***/taxbaik/TaxBaik.Infrastructure/bin/Release/net10.0/TaxBaik.Infrastructure.dll
|
||||
2026-06-27T04:56:33.2748558Z TaxBaik.Application -> /workspace/***/taxbaik/TaxBaik.Application/bin/Release/net10.0/TaxBaik.Application.dll
|
||||
2026-06-27T04:56:33.8160773Z TaxBaik.Application.Tests -> /workspace/***/taxbaik/TaxBaik.Application.Tests/bin/Release/net10.0/TaxBaik.Application.Tests.dll
|
||||
2026-06-27T04:56:38.6045044Z TaxBaik.Web -> /workspace/***/taxbaik/TaxBaik.Web/bin/Release/net10.0/TaxBaik.Web.dll
|
||||
2026-06-27T04:56:38.6336793Z
|
||||
2026-06-27T04:56:38.6356878Z Build succeeded.
|
||||
2026-06-27T04:56:38.6362372Z 0 Warning(s)
|
||||
2026-06-27T04:56:38.6364010Z 0 Error(s)
|
||||
2026-06-27T04:56:38.6367617Z
|
||||
2026-06-27T04:56:38.6369485Z Time Elapsed 00:00:10.90
|
||||
2026-06-27T04:56:38.8299895Z ::group::Run dotnet test TaxBaik.sln -c Release --no-build
|
||||
2026-06-27T04:56:38.8300295Z dotnet test TaxBaik.sln -c Release --no-build
|
||||
2026-06-27T04:56:38.8300417Z shell: bash --noprofile --norc -e -o pipefail {0}
|
||||
2026-06-27T04:56:38.8300520Z ::endgroup::
|
||||
2026-06-27T04:56:40.3696844Z Test run for /workspace/***/taxbaik/TaxBaik.Application.Tests/bin/Release/net10.0/TaxBaik.Application.Tests.dll (.NETCoreApp,Version=v10.0)
|
||||
2026-06-27T04:56:40.7459566Z A total of 1 test files matched the specified pattern.
|
||||
2026-06-27T04:56:41.8878250Z
|
||||
2026-06-27T04:56:41.8918202Z Passed! - Failed: 0, Passed: 4, Skipped: 0, Total: 4, Duration: 53 ms - TaxBaik.Application.Tests.dll (net10.0)
|
||||
2026-06-27T04:56:42.0622194Z ::group::Run dotnet publish TaxBaik.Web/ -c Release -o ./publish --no-restore
|
||||
2026-06-27T04:56:42.0622569Z dotnet publish TaxBaik.Web/ -c Release -o ./publish --no-restore
|
||||
2026-06-27T04:56:42.0622691Z shell: bash --noprofile --norc -e -o pipefail {0}
|
||||
2026-06-27T04:56:42.0622791Z ::endgroup::
|
||||
2026-06-27T04:56:43.7414497Z TaxBaik.Domain -> /workspace/***/taxbaik/TaxBaik.Domain/bin/Release/net10.0/TaxBaik.Domain.dll
|
||||
2026-06-27T04:56:43.8693471Z TaxBaik.Infrastructure -> /workspace/***/taxbaik/TaxBaik.Infrastructure/bin/Release/net10.0/TaxBaik.Infrastructure.dll
|
||||
2026-06-27T04:56:43.8841172Z TaxBaik.Application -> /workspace/***/taxbaik/TaxBaik.Application/bin/Release/net10.0/TaxBaik.Application.dll
|
||||
2026-06-27T04:56:44.3248352Z TaxBaik.Web -> /workspace/***/taxbaik/TaxBaik.Web/bin/Release/net10.0/TaxBaik.Web.dll
|
||||
2026-06-27T04:56:46.2499198Z TaxBaik.Web -> /workspace/***/taxbaik/publish/
|
||||
2026-06-27T04:56:46.4925753Z ::group::Run set -e
|
||||
2026-06-27T04:56:46.4926275Z set -e
|
||||
2026-06-27T04:56:46.4926406Z JWT_SECRET_KEY="***"
|
||||
2026-06-27T04:56:46.4926510Z if [ -z "$JWT_SECRET_KEY" ]; then
|
||||
2026-06-27T04:56:46.4926610Z echo "Missing TAXBAIK_JWT_SECRET_KEY secret" >&2
|
||||
2026-06-27T04:56:46.4926692Z exit 1
|
||||
2026-06-27T04:56:46.4926766Z fi
|
||||
2026-06-27T04:56:46.4926835Z JWT_SECRET_KEY="$JWT_SECRET_KEY" python3 - <<'PY'
|
||||
2026-06-27T04:56:46.4926911Z import json
|
||||
2026-06-27T04:56:46.4926984Z import os
|
||||
2026-06-27T04:56:46.4927081Z from pathlib import Path
|
||||
2026-06-27T04:56:46.4927334Z
|
||||
2026-06-27T04:56:46.4927408Z config = {
|
||||
2026-06-27T04:56:46.4927547Z "Jwt": {
|
||||
2026-06-27T04:56:46.4927619Z "SecretKey": os.environ["JWT_SECRET_KEY"]
|
||||
2026-06-27T04:56:46.4927698Z }
|
||||
2026-06-27T04:56:46.4927781Z }
|
||||
2026-06-27T04:56:46.4927844Z
|
||||
2026-06-27T04:56:46.4927906Z Path("./publish/appsettings.Production.json").write_text(
|
||||
2026-06-27T04:56:46.4927981Z json.dumps(config, ensure_ascii=False, indent=2),
|
||||
2026-06-27T04:56:46.4928074Z encoding="utf-8",
|
||||
2026-06-27T04:56:46.4928146Z )
|
||||
2026-06-27T04:56:46.4928208Z PY
|
||||
2026-06-27T04:56:46.4928293Z shell: bash --noprofile --norc -e -o pipefail {0}
|
||||
2026-06-27T04:56:46.4928394Z ::endgroup::
|
||||
2026-06-27T04:56:46.8011191Z ::group::Run cp -r db/migrations ./publish/migrations || true
|
||||
2026-06-27T04:56:46.8011697Z cp -r db/migrations ./publish/migrations || true
|
||||
2026-06-27T04:56:46.8011878Z shell: bash --noprofile --norc -e -o pipefail {0}
|
||||
2026-06-27T04:56:46.8012035Z ::endgroup::
|
||||
2026-06-27T04:56:47.0307835Z ::group::Run mkdir -p ./publish/wwwroot
|
||||
2026-06-27T04:56:47.0308194Z mkdir -p ./publish/wwwroot
|
||||
2026-06-27T04:56:47.0308309Z COMMIT_HASH=$(git rev-parse --short HEAD)
|
||||
2026-06-27T04:56:47.0308404Z BUILD_TIME=$(date -u +'%Y-%m-%d %H:%M:%S UTC')
|
||||
2026-06-27T04:56:47.0308488Z echo "Version: $COMMIT_HASH" > ./publish/wwwroot/version.txt
|
||||
2026-06-27T04:56:47.0308575Z echo "Built: $BUILD_TIME" >> ./publish/wwwroot/version.txt
|
||||
2026-06-27T04:56:47.0308650Z echo "✓ Version: $COMMIT_HASH"
|
||||
2026-06-27T04:56:47.0308733Z shell: bash --noprofile --norc -e -o pipefail {0}
|
||||
2026-06-27T04:56:47.0308839Z ::endgroup::
|
||||
2026-06-27T04:56:47.1073280Z ✓ Version: 113140e
|
||||
2026-06-27T04:56:47.2424145Z ::group::Run set -e
|
||||
2026-06-27T04:56:47.2424619Z set -e
|
||||
2026-06-27T04:56:47.2424752Z TIMESTAMP=$(date +%Y%m%d_%H%M%S)
|
||||
2026-06-27T04:56:47.2424842Z DEPLOY_HOME="/home/***"
|
||||
2026-06-27T04:56:47.2425050Z DEPLOY_DIR="$DEPLOY_HOME/deployments/taxbaik_${TIMESTAMP}"
|
||||
2026-06-27T04:56:47.2425299Z DEPLOY_HOST="***"
|
||||
2026-06-27T04:56:47.2425403Z DEPLOY_USER="***"
|
||||
2026-06-27T04:56:47.2425484Z
|
||||
2026-06-27T04:56:47.2425570Z echo "=== Deploying TaxBaik v$(git rev-parse --short HEAD) ==="
|
||||
2026-06-27T04:56:47.2425660Z mkdir -p ~/.ssh
|
||||
2026-06-27T04:56:47.2425741Z SSH_KEY_B64="***"
|
||||
2026-06-27T04:56:47.2425901Z SSH_KEY_RAW="***"
|
||||
2026-06-27T04:56:47.2426443Z if [ -n "$SSH_KEY_B64" ]; then
|
||||
2026-06-27T04:56:47.2426551Z printf '%s' "$SSH_KEY_B64" | base64 -d > ~/.ssh/id_ed25519
|
||||
2026-06-27T04:56:47.2426649Z elif [ -n "$SSH_KEY_RAW" ]; then
|
||||
2026-06-27T04:56:47.2426745Z if printf '%s' "$SSH_KEY_RAW" | grep -q 'BEGIN .*PRIVATE KEY'; then
|
||||
2026-06-27T04:56:47.2426846Z printf '%b\n' "$SSH_KEY_RAW" > ~/.ssh/id_ed25519
|
||||
2026-06-27T04:56:47.2426926Z else
|
||||
2026-06-27T04:56:47.2426998Z printf '%s' "$SSH_KEY_RAW" | base64 -d > ~/.ssh/id_ed25519
|
||||
2026-06-27T04:56:47.2427234Z fi
|
||||
2026-06-27T04:56:47.2427308Z else
|
||||
2026-06-27T04:56:47.2427373Z echo "Missing DEPLOY_SSH_KEY_B64 or DEPLOY_SSH_KEY secret" >&2
|
||||
2026-06-27T04:56:47.2427473Z exit 1
|
||||
2026-06-27T04:56:47.2427550Z fi
|
||||
2026-06-27T04:56:47.2427615Z sed -i 's/\r$//' ~/.ssh/id_ed25519
|
||||
2026-06-27T04:56:47.2427691Z chmod 600 ~/.ssh/id_ed25519
|
||||
2026-06-27T04:56:47.2427803Z ssh-keyscan -H "$DEPLOY_HOST" >> ~/.ssh/known_hosts 2>/dev/null || true
|
||||
2026-06-27T04:56:47.2427892Z
|
||||
2026-06-27T04:56:47.2427954Z tar -czf taxbaik_publish.tgz -C ./publish .
|
||||
2026-06-27T04:56:47.2428033Z scp -i ~/.ssh/id_ed25519 -o StrictHostKeyChecking=yes taxbaik_publish.tgz "$DEPLOY_USER@$DEPLOY_HOST:/tmp/taxbaik_publish_${TIMESTAMP}.tgz"
|
||||
2026-06-27T04:56:47.2428142Z ssh -i ~/.ssh/id_ed25519 -o StrictHostKeyChecking=yes "$DEPLOY_USER@$DEPLOY_HOST" "
|
||||
2026-06-27T04:56:47.2428232Z set -e
|
||||
2026-06-27T04:56:47.2428301Z mkdir -p '$DEPLOY_DIR'
|
||||
2026-06-27T04:56:47.2428382Z tar -xzf '/tmp/taxbaik_publish_${TIMESTAMP}.tgz' -C '$DEPLOY_DIR'
|
||||
2026-06-27T04:56:47.2428722Z rm -f '/tmp/taxbaik_publish_${TIMESTAMP}.tgz'
|
||||
2026-06-27T04:56:47.2428823Z ln -sfn '$DEPLOY_DIR' '$DEPLOY_HOME/taxbaik_active'
|
||||
2026-06-27T04:56:47.2428901Z sudo systemctl restart taxbaik
|
||||
2026-06-27T04:56:47.2428990Z "
|
||||
2026-06-27T04:56:47.2429061Z sleep 5
|
||||
2026-06-27T04:56:47.2429144Z echo "✓ Deployed to $DEPLOY_HOST:$DEPLOY_DIR"
|
||||
2026-06-27T04:56:47.2429235Z shell: bash --noprofile --norc -e -o pipefail {0}
|
||||
2026-06-27T04:56:47.2429339Z ::endgroup::
|
||||
2026-06-27T04:56:47.3205974Z === Deploying TaxBaik v113140e ===
|
||||
-28
@@ -1,28 +0,0 @@
|
||||
2026-06-27T04:57:09.9979363Z hz-prod-runner-2(version:v0.6.1) received task 227 of job browser-e2e, be triggered by event: push
|
||||
2026-06-27T04:57:09.9992501Z workflow prepared
|
||||
2026-06-27T04:57:09.9993351Z evaluating expression 'success()'
|
||||
2026-06-27T04:57:09.9994922Z expression 'success()' evaluated to 'true'
|
||||
2026-06-27T04:57:09.9995042Z 'runs-on' key not defined in TaxBaik CI/CD/build-and-deploy
|
||||
2026-06-27T04:57:09.9995157Z No steps found
|
||||
2026-06-27T04:57:09.9996323Z evaluating expression 'success()'
|
||||
2026-06-27T04:57:09.9996698Z expression 'success()' evaluated to 'true'
|
||||
2026-06-27T04:57:09.9996957Z 🚀 Start image=docker.gitea.com/runner-images:ubuntu-latest
|
||||
2026-06-27T04:57:10.0095625Z 🐳 docker pull image=docker.gitea.com/runner-images:ubuntu-latest platform= username= forcePull=false
|
||||
2026-06-27T04:57:10.0095962Z 🐳 docker pull docker.gitea.com/runner-images:ubuntu-latest
|
||||
2026-06-27T04:57:10.0401875Z Image exists? true
|
||||
2026-06-27T04:57:10.0932644Z 🐳 docker create image=docker.gitea.com/runner-images:ubuntu-latest platform= entrypoint=["/bin/sleep" "10800"] cmd=[] network="gitea_default"
|
||||
2026-06-27T04:57:10.2051862Z Created container name=GITEA-ACTIONS-TASK-227-WORKFLOW-TaxBaik-CI-CD-JOB-browser-e2e-9d49bf37793525c39d428236fd945da41f3f2868fa12ad17760172c047873583 id=cb1d275750d763091dbafbd4a330e4c7fd7885b4d67b98407a524394db1d2aef from image docker.gitea.com/runner-images:ubuntu-latest (platform: )
|
||||
2026-06-27T04:57:10.2052392Z ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_ARCH=X64 RUNNER_TEMP=/tmp LANG=C.UTF-8]
|
||||
2026-06-27T04:57:10.2052578Z 🐳 docker run image=docker.gitea.com/runner-images:ubuntu-latest platform= entrypoint=["/bin/sleep" "10800"] cmd=[] network="gitea_default"
|
||||
2026-06-27T04:57:10.2052790Z Starting container: cb1d275750d763091dbafbd4a330e4c7fd7885b4d67b98407a524394db1d2aef
|
||||
2026-06-27T04:57:10.3403371Z Started container: cb1d275750d763091dbafbd4a330e4c7fd7885b4d67b98407a524394db1d2aef
|
||||
2026-06-27T04:57:10.4391686Z Writing entry to tarball workflow/event.json len:4689
|
||||
2026-06-27T04:57:10.4392316Z Writing entry to tarball workflow/envs.txt len:0
|
||||
2026-06-27T04:57:10.4392548Z Extracting content to '/var/run/act/'
|
||||
2026-06-27T04:57:10.4602096Z ☁ git clone 'https://github.com/actions/checkout' # ref=v4
|
||||
2026-06-27T04:57:10.4602637Z cloning https://github.com/actions/checkout to /root/.cache/act/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab
|
||||
2026-06-27T04:57:10.9492853Z Unable to pull refs/heads/v4: non-fast-forward update
|
||||
2026-06-27T04:57:10.9493399Z Cloned https://github.com/actions/checkout to /root/.cache/act/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab
|
||||
2026-06-27T04:57:10.9569587Z Checked out v4
|
||||
2026-06-27T04:57:10.9672087Z ☁ git clone 'https://github.com/actions/setup-node' # ref=v4
|
||||
2026-06-27T04:57:10.9672472Z cloning https://github.com/actions/setup-node to /root/.cache/act/e5877e7fc2f7e5000a2f22526584a2565cc2ae38cd26a9b1938dbca653b056cc
|
||||
-766
@@ -1,766 +0,0 @@
|
||||
2026-06-27T05:03:34.4472789Z hz-prod-runner-2(version:v0.6.1) received task 228 of job browser-e2e, be triggered by event: push
|
||||
2026-06-27T05:03:34.4477234Z workflow prepared
|
||||
2026-06-27T05:03:34.4478448Z evaluating expression 'success()'
|
||||
2026-06-27T05:03:34.4479410Z expression 'success()' evaluated to 'true'
|
||||
2026-06-27T05:03:34.4479687Z 🚀 Start image=docker.gitea.com/runner-images:ubuntu-latest
|
||||
2026-06-27T05:03:34.4573986Z 🐳 docker pull image=docker.gitea.com/runner-images:ubuntu-latest platform= username= forcePull=false
|
||||
2026-06-27T05:03:34.4574215Z 🐳 docker pull docker.gitea.com/runner-images:ubuntu-latest
|
||||
2026-06-27T05:03:34.4836644Z Image exists? true
|
||||
2026-06-27T05:03:34.5317614Z 🐳 docker create image=docker.gitea.com/runner-images:ubuntu-latest platform= entrypoint=["/bin/sleep" "10800"] cmd=[] network="gitea_default"
|
||||
2026-06-27T05:03:34.6497407Z Created container name=GITEA-ACTIONS-TASK-228-WORKFLOW-TaxBaik-Browser-E2E-JOB-browser-0c3452011332633cc68f63d3d9814a22130d04a6b0d422dd40217df2432ae92c id=729e7beffb378dc6f37cb393bc7af5d1bd22b4b5ee950b07fde7f6d54bb5e844 from image docker.gitea.com/runner-images:ubuntu-latest (platform: )
|
||||
2026-06-27T05:03:34.6497958Z ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_ARCH=X64 RUNNER_TEMP=/tmp LANG=C.UTF-8]
|
||||
2026-06-27T05:03:34.6498216Z 🐳 docker run image=docker.gitea.com/runner-images:ubuntu-latest platform= entrypoint=["/bin/sleep" "10800"] cmd=[] network="gitea_default"
|
||||
2026-06-27T05:03:34.6498352Z Starting container: 729e7beffb378dc6f37cb393bc7af5d1bd22b4b5ee950b07fde7f6d54bb5e844
|
||||
2026-06-27T05:03:34.7758449Z Started container: 729e7beffb378dc6f37cb393bc7af5d1bd22b4b5ee950b07fde7f6d54bb5e844
|
||||
2026-06-27T05:03:34.8625620Z Writing entry to tarball workflow/event.json len:4761
|
||||
2026-06-27T05:03:34.8626344Z Writing entry to tarball workflow/envs.txt len:0
|
||||
2026-06-27T05:03:34.8626579Z Extracting content to '/var/run/act/'
|
||||
2026-06-27T05:03:34.8804892Z ☁ git clone 'https://github.com/actions/checkout' # ref=v4
|
||||
2026-06-27T05:03:34.8805202Z cloning https://github.com/actions/checkout to /root/.cache/act/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab
|
||||
2026-06-27T05:03:35.3781795Z Unable to pull refs/heads/v4: non-fast-forward update
|
||||
2026-06-27T05:03:35.3782230Z Cloned https://github.com/actions/checkout to /root/.cache/act/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab
|
||||
2026-06-27T05:03:35.3845027Z Checked out v4
|
||||
2026-06-27T05:03:35.3929031Z ☁ git clone 'https://github.com/actions/setup-node' # ref=v4
|
||||
2026-06-27T05:03:35.3929378Z cloning https://github.com/actions/setup-node to /root/.cache/act/e5877e7fc2f7e5000a2f22526584a2565cc2ae38cd26a9b1938dbca653b056cc
|
||||
2026-06-27T05:03:35.8583017Z Unable to pull refs/heads/v4: worktree contains unstaged changes
|
||||
2026-06-27T05:03:35.8584352Z Cloned https://github.com/actions/setup-node to /root/.cache/act/e5877e7fc2f7e5000a2f22526584a2565cc2ae38cd26a9b1938dbca653b056cc
|
||||
2026-06-27T05:03:35.8693730Z Checked out v4
|
||||
2026-06-27T05:03:35.8783744Z ☁ git clone 'https://github.com/actions/cache' # ref=v4
|
||||
2026-06-27T05:03:35.8784101Z cloning https://github.com/actions/cache to /root/.cache/act/6b4e4eb40e21c1bd02cb00a273f4d79af7c42205c1390e4e65c594ecd7a3696e
|
||||
2026-06-27T05:03:36.3659063Z Unable to pull refs/heads/v4: worktree contains unstaged changes
|
||||
2026-06-27T05:03:36.3659520Z Cloned https://github.com/actions/cache to /root/.cache/act/6b4e4eb40e21c1bd02cb00a273f4d79af7c42205c1390e4e65c594ecd7a3696e
|
||||
2026-06-27T05:03:36.3748871Z Checked out v4
|
||||
2026-06-27T05:03:36.3986601Z evaluating expression ''
|
||||
2026-06-27T05:03:36.3987117Z expression '' evaluated to 'true'
|
||||
2026-06-27T05:03:36.3987240Z ⭐ Run Main Checkout code
|
||||
2026-06-27T05:03:36.3987412Z Writing entry to tarball workflow/outputcmd.txt len:0
|
||||
2026-06-27T05:03:36.3987722Z Writing entry to tarball workflow/statecmd.txt len:0
|
||||
2026-06-27T05:03:36.3987827Z Writing entry to tarball workflow/pathcmd.txt len:0
|
||||
2026-06-27T05:03:36.3987923Z Writing entry to tarball workflow/envs.txt len:0
|
||||
2026-06-27T05:03:36.3988003Z Writing entry to tarball workflow/SUMMARY.md len:0
|
||||
2026-06-27T05:03:36.3988096Z Extracting content to '/var/run/act'
|
||||
2026-06-27T05:03:36.4015613Z ::group::Run Checkout code
|
||||
2026-06-27T05:03:36.8596403Z ::add-matcher::/run/act/actions/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab/dist/problem-matcher.json
|
||||
2026-06-27T05:03:36.8601065Z Syncing repository: ***/taxbaik
|
||||
2026-06-27T05:03:36.8606570Z ::group::Getting Git version info
|
||||
2026-06-27T05:03:36.8607377Z Working directory is '/workspace/***/taxbaik'
|
||||
2026-06-27T05:03:36.8659852Z [command]/usr/bin/git version
|
||||
2026-06-27T05:03:36.8738035Z git version 2.54.0
|
||||
2026-06-27T05:03:36.8790459Z ::endgroup::
|
||||
2026-06-27T05:03:36.8816791Z Temporarily overriding HOME='/tmp/708bc5bb-b43e-4597-be36-26af349a26af' before making global git config changes
|
||||
2026-06-27T05:03:36.8818160Z Adding repository directory to the temporary git global config as a safe directory
|
||||
2026-06-27T05:03:36.8826265Z [command]/usr/bin/git config --global --add safe.directory /workspace/***/taxbaik
|
||||
2026-06-27T05:03:36.8882244Z Deleting the contents of '/workspace/***/taxbaik'
|
||||
2026-06-27T05:03:36.8892947Z ::group::Initializing the repository
|
||||
2026-06-27T05:03:36.8901037Z [command]/usr/bin/git init /workspace/***/taxbaik
|
||||
2026-06-27T05:03:36.8967383Z hint: Using 'master' as the name for the initial branch. This default branch name
|
||||
2026-06-27T05:03:36.8967865Z hint: will change to "main" in Git 3.0. To configure the initial branch name
|
||||
2026-06-27T05:03:36.8967994Z hint: to use in all of your new repositories, which will suppress this warning,
|
||||
2026-06-27T05:03:36.8968167Z hint: call:
|
||||
2026-06-27T05:03:36.8968242Z hint:
|
||||
2026-06-27T05:03:36.8968312Z hint: git config --global init.defaultBranch <name>
|
||||
2026-06-27T05:03:36.8968408Z hint:
|
||||
2026-06-27T05:03:36.8968474Z hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
|
||||
2026-06-27T05:03:36.8968556Z hint: 'development'. The just-created branch can be renamed via this command:
|
||||
2026-06-27T05:03:36.8968640Z hint:
|
||||
2026-06-27T05:03:36.8968737Z hint: git branch -m <name>
|
||||
2026-06-27T05:03:36.8968821Z hint:
|
||||
2026-06-27T05:03:36.8968894Z hint: Disable this message with "git config set advice.defaultBranchName false"
|
||||
2026-06-27T05:03:36.8978280Z Initialized empty Git repository in /workspace/***/taxbaik/.git/
|
||||
2026-06-27T05:03:36.9001958Z [command]/usr/bin/git remote add origin http://gitea:3000/***/taxbaik
|
||||
2026-06-27T05:03:36.9052456Z ::endgroup::
|
||||
2026-06-27T05:03:36.9052897Z ::group::Disabling automatic garbage collection
|
||||
2026-06-27T05:03:36.9064908Z [command]/usr/bin/git config --local gc.auto 0
|
||||
2026-06-27T05:03:36.9114941Z ::endgroup::
|
||||
2026-06-27T05:03:36.9115613Z ::group::Setting up auth
|
||||
2026-06-27T05:03:36.9124618Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
|
||||
2026-06-27T05:03:36.9168642Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
|
||||
2026-06-27T05:03:36.9568629Z [command]/usr/bin/git config --local --name-only --get-regexp http\.http\:\/\/gitea\:3000\/\.extraheader
|
||||
2026-06-27T05:03:36.9605899Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.http\:\/\/gitea\:3000\/\.extraheader' && git config --local --unset-all 'http.http://gitea:3000/.extraheader' || :"
|
||||
2026-06-27T05:03:36.9948755Z [command]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir:
|
||||
2026-06-27T05:03:37.0020804Z [command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
|
||||
2026-06-27T05:03:37.0500003Z [command]/usr/bin/git config --local http.http://gitea:3000/.extraheader AUTHORIZATION: basic ***
|
||||
2026-06-27T05:03:37.0572364Z ::endgroup::
|
||||
2026-06-27T05:03:37.0573251Z ::group::Fetching the repository
|
||||
2026-06-27T05:03:37.0583278Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +640b2079b0da392093bf91bad6c89cfac7df5fc9:refs/remotes/origin/master
|
||||
2026-06-27T05:03:37.2157323Z From http://gitea:3000/***/taxbaik
|
||||
2026-06-27T05:03:37.2157927Z * [new ref] 640b2079b0da392093bf91bad6c89cfac7df5fc9 -> origin/master
|
||||
2026-06-27T05:03:37.2178048Z ::endgroup::
|
||||
2026-06-27T05:03:37.2178344Z ::group::Determining the checkout info
|
||||
2026-06-27T05:03:37.2187511Z ::endgroup::
|
||||
2026-06-27T05:03:37.2195715Z [command]/usr/bin/git sparse-checkout disable
|
||||
2026-06-27T05:03:37.2236743Z [command]/usr/bin/git config --local --unset-all extensions.worktreeConfig
|
||||
2026-06-27T05:03:37.2273708Z ::group::Checking out the ref
|
||||
2026-06-27T05:03:37.2273820Z [command]/usr/bin/git checkout --progress --force -B master refs/remotes/origin/master
|
||||
2026-06-27T05:03:37.2377396Z Reset branch 'master'
|
||||
2026-06-27T05:03:37.2377968Z branch 'master' set up to track 'origin/master'.
|
||||
2026-06-27T05:03:37.2394352Z ::endgroup::
|
||||
2026-06-27T05:03:37.2436803Z [command]/usr/bin/git log -1 --format=%H
|
||||
2026-06-27T05:03:37.2474631Z 640b2079b0da392093bf91bad6c89cfac7df5fc9
|
||||
2026-06-27T05:03:37.2492428Z ::remove-matcher owner=checkout-git::
|
||||
2026-06-27T05:03:37.2579720Z ::endgroup::
|
||||
2026-06-27T05:03:37.3230062Z ::group::Run Setup Node.js
|
||||
2026-06-27T05:03:37.3230567Z with:
|
||||
2026-06-27T05:03:37.3230736Z cache: npm
|
||||
2026-06-27T05:03:37.3230859Z node-version: 22
|
||||
2026-06-27T05:03:37.9573260Z Found in cache @ /opt/hostedtoolcache/node/22.23.1/x64
|
||||
2026-06-27T05:03:37.9582299Z (node:143) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
|
||||
2026-06-27T05:03:37.9582582Z (Use `node --trace-deprecation ...` to show where the warning was created)
|
||||
2026-06-27T05:03:37.9586350Z ::group::Environment details
|
||||
2026-06-27T05:03:38.0767199Z node: v22.23.1
|
||||
2026-06-27T05:03:38.0768088Z npm: 10.9.8
|
||||
2026-06-27T05:03:38.0768530Z yarn:
|
||||
2026-06-27T05:03:38.0768843Z ::endgroup::
|
||||
2026-06-27T05:03:38.0792475Z [command]/opt/hostedtoolcache/node/22.23.1/x64/bin/npm config get cache
|
||||
2026-06-27T05:03:38.2025400Z /root/.npm
|
||||
2026-06-27T05:03:38.2414075Z npm cache is not found
|
||||
2026-06-27T05:03:38.2416415Z ##[add-matcher]/run/act/actions/e5877e7fc2f7e5000a2f22526584a2565cc2ae38cd26a9b1938dbca653b056cc/.github/tsc.json
|
||||
2026-06-27T05:03:38.2416816Z ##[add-matcher]/run/act/actions/e5877e7fc2f7e5000a2f22526584a2565cc2ae38cd26a9b1938dbca653b056cc/.github/eslint-stylish.json
|
||||
2026-06-27T05:03:38.2417726Z ##[add-matcher]/run/act/actions/e5877e7fc2f7e5000a2f22526584a2565cc2ae38cd26a9b1938dbca653b056cc/.github/eslint-compact.json
|
||||
2026-06-27T05:03:38.2529909Z ::endgroup::
|
||||
2026-06-27T05:03:38.4292716Z ::group::Run Cache Playwright browsers
|
||||
2026-06-27T05:03:38.4293168Z with:
|
||||
2026-06-27T05:03:38.4293306Z key: ${{ runner.os }}-playwright-${{ hashFiles('package-lock.json') }}
|
||||
2026-06-27T05:03:38.4293412Z path: ~/.cache/ms-playwright
|
||||
2026-06-27T05:03:38.4293517Z restore-keys: ${{ runner.os }}-playwright-
|
||||
2026-06-27T05:03:39.1445952Z (node:201) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
|
||||
2026-06-27T05:03:39.1446505Z (Use `node --trace-deprecation ...` to show where the warning was created)
|
||||
2026-06-27T05:03:39.1772428Z Cache not found for input keys: Linux-playwright-da5b0f170046fc2084d2c68f83e739454760e58eda8b88046a83cc8256c7af8f, Linux-playwright-
|
||||
2026-06-27T05:03:39.1889628Z ::endgroup::
|
||||
2026-06-27T05:03:39.3533550Z ::group::Run set -e
|
||||
2026-06-27T05:03:39.3533910Z set -e
|
||||
2026-06-27T05:03:39.3534009Z npm ci
|
||||
2026-06-27T05:03:39.3534087Z npx playwright install chromium --with-deps
|
||||
2026-06-27T05:03:39.3534171Z shell: bash --noprofile --norc -e -o pipefail {0}
|
||||
2026-06-27T05:03:39.3534262Z ::endgroup::
|
||||
2026-06-27T05:03:40.8022895Z
|
||||
2026-06-27T05:03:40.8023764Z added 3 packages, and audited 4 packages in 1s
|
||||
2026-06-27T05:03:40.8037716Z
|
||||
2026-06-27T05:03:40.8038284Z found 0 vulnerabilities
|
||||
2026-06-27T05:03:41.9196332Z Installing dependencies...
|
||||
2026-06-27T05:03:42.0656968Z Get:1 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
|
||||
2026-06-27T05:03:42.0959115Z Get:2 https://packages.microsoft.com/ubuntu/24.04/prod noble InRelease [3600 B]
|
||||
2026-06-27T05:03:42.1016809Z Get:3 http://archive.ubuntu.com/ubuntu noble InRelease [256 kB]
|
||||
2026-06-27T05:03:42.1578104Z Get:4 https://ppa.launchpadcontent.net/git-core/ppa/ubuntu noble InRelease [24.3 kB]
|
||||
2026-06-27T05:03:42.1775582Z Get:5 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1487 kB]
|
||||
2026-06-27T05:03:42.2428039Z Get:6 https://packages.microsoft.com/ubuntu/24.04/prod noble/main amd64 Packages [187 kB]
|
||||
2026-06-27T05:03:42.2555437Z Get:7 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [1339 kB]
|
||||
2026-06-27T05:03:42.2613296Z Get:8 https://packages.microsoft.com/ubuntu/24.04/prod noble/main all Packages [643 B]
|
||||
2026-06-27T05:03:42.2712263Z Get:9 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [976 kB]
|
||||
2026-06-27T05:03:42.2824486Z Get:10 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Packages [43.8 kB]
|
||||
2026-06-27T05:03:42.2993167Z Get:11 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
|
||||
2026-06-27T05:03:42.3608863Z Get:12 https://ppa.launchpadcontent.net/git-core/ppa/ubuntu noble/main amd64 Packages [2988 B]
|
||||
2026-06-27T05:03:42.3650224Z Get:13 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
|
||||
2026-06-27T05:03:42.4055776Z Get:14 http://archive.ubuntu.com/ubuntu noble/restricted amd64 Packages [117 kB]
|
||||
2026-06-27T05:03:42.4408100Z Get:15 http://archive.ubuntu.com/ubuntu noble/main amd64 Packages [1808 kB]
|
||||
2026-06-27T05:03:42.4919178Z Get:16 http://archive.ubuntu.com/ubuntu noble/universe amd64 Packages [19.3 MB]
|
||||
2026-06-27T05:03:42.6231431Z Get:17 http://archive.ubuntu.com/ubuntu noble/multiverse amd64 Packages [331 kB]
|
||||
2026-06-27T05:03:42.6295144Z Get:18 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Packages [49.5 kB]
|
||||
2026-06-27T05:03:42.6301838Z Get:19 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [2108 kB]
|
||||
2026-06-27T05:03:42.6397636Z Get:20 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [1412 kB]
|
||||
2026-06-27T05:03:42.6455192Z Get:21 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [1296 kB]
|
||||
2026-06-27T05:03:42.6508169Z Get:22 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Packages [35.9 kB]
|
||||
2026-06-27T05:03:42.6563209Z Get:23 http://archive.ubuntu.com/ubuntu noble-backports/multiverse amd64 Packages [671 B]
|
||||
2026-06-27T05:03:42.6619804Z Get:24 http://archive.ubuntu.com/ubuntu noble-backports/main amd64 Packages [48.9 kB]
|
||||
2026-06-27T05:03:43.2112943Z Get:25 https://packagecloud.io/github/git-lfs/ubuntu noble InRelease [29.2 kB]
|
||||
2026-06-27T05:03:43.9355468Z Get:26 https://packagecloud.io/github/git-lfs/ubuntu noble/main amd64 Packages [1273 B]
|
||||
2026-06-27T05:03:43.9605203Z Fetched 31.3 MB in 2s (15.9 MB/s)
|
||||
2026-06-27T05:03:44.9460663Z Reading package lists...
|
||||
2026-06-27T05:03:45.8983583Z Reading package lists...
|
||||
2026-06-27T05:03:46.1734209Z Building dependency tree...
|
||||
2026-06-27T05:03:46.1738931Z Reading state information...
|
||||
2026-06-27T05:03:46.5025756Z libcairo2 is already the newest version (1.18.0-3build1).
|
||||
2026-06-27T05:03:46.5030253Z libcairo2 set to manually installed.
|
||||
2026-06-27T05:03:46.5030927Z libdbus-1-3 is already the newest version (1.14.10-4ubuntu4.1).
|
||||
2026-06-27T05:03:46.5031071Z libdbus-1-3 set to manually installed.
|
||||
2026-06-27T05:03:46.5031760Z libglib2.0-0t64 is already the newest version (2.80.0-6ubuntu3.8).
|
||||
2026-06-27T05:03:46.5031913Z libglib2.0-0t64 set to manually installed.
|
||||
2026-06-27T05:03:46.5033681Z libpango-1.0-0 is already the newest version (1.52.1+ds-1build1).
|
||||
2026-06-27T05:03:46.5033847Z libpango-1.0-0 set to manually installed.
|
||||
2026-06-27T05:03:46.5033982Z libx11-6 is already the newest version (2:1.8.7-1build1).
|
||||
2026-06-27T05:03:46.5036872Z libx11-6 set to manually installed.
|
||||
2026-06-27T05:03:46.5037063Z libxcb1 is already the newest version (1.15-1ubuntu2).
|
||||
2026-06-27T05:03:46.5037153Z libxcb1 set to manually installed.
|
||||
2026-06-27T05:03:46.5037603Z libxext6 is already the newest version (2:1.3.4-1build2).
|
||||
2026-06-27T05:03:46.5037794Z libxext6 set to manually installed.
|
||||
2026-06-27T05:03:46.5037881Z libfontconfig1 is already the newest version (2.15.0-1.1ubuntu2).
|
||||
2026-06-27T05:03:46.5037983Z libfontconfig1 set to manually installed.
|
||||
2026-06-27T05:03:46.5040026Z libfreetype6 is already the newest version (2.13.2+dfsg-1ubuntu0.1).
|
||||
2026-06-27T05:03:46.5040718Z libfreetype6 set to manually installed.
|
||||
2026-06-27T05:03:46.5040830Z The following additional packages will be installed:
|
||||
2026-06-27T05:03:46.5043964Z at-spi2-common libasound2-data libavahi-client3 libavahi-common-data
|
||||
2026-06-27T05:03:46.5044200Z libavahi-common3 libdrm-amdgpu1 libdrm-common libdrm-intel1 libfontenc1
|
||||
2026-06-27T05:03:46.5044306Z libgl1 libgl1-mesa-dri libglvnd0 libglx-mesa0 libglx0 libllvm20
|
||||
2026-06-27T05:03:46.5044389Z libpciaccess0 libsensors-config libsensors5 libvulkan1 libx11-xcb1 libxaw7
|
||||
2026-06-27T05:03:46.5044472Z libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-sync1
|
||||
2026-06-27T05:03:46.5044561Z libxcb-xfixes0 libxfont2 libxi6 libxkbfile1 libxmu6 libxmuu1 libxpm4
|
||||
2026-06-27T05:03:46.5044963Z libxshmfence1 libxxf86vm1 mesa-libgallium x11-xkb-utils xauth
|
||||
2026-06-27T05:03:46.5045073Z xfonts-encodings xfonts-utils xkb-data xserver-common
|
||||
2026-06-27T05:03:46.5045177Z Suggested packages:
|
||||
2026-06-27T05:03:46.5045262Z alsa-utils libasound2-plugins cups-common pciutils lm-sensors
|
||||
2026-06-27T05:03:46.5045553Z Recommended packages:
|
||||
2026-06-27T05:03:46.5045692Z fonts-ipafont-mincho fonts-liberation-sans-narrow fonts-tlwg-loma
|
||||
2026-06-27T05:03:46.5045789Z alsa-ucm-conf alsa-topology-conf at-spi2-core mesa-vulkan-drivers
|
||||
2026-06-27T05:03:46.5045881Z | vulkan-icd xfonts-base
|
||||
2026-06-27T05:03:46.5983758Z The following NEW packages will be installed:
|
||||
2026-06-27T05:03:46.5984227Z at-spi2-common fonts-freefont-ttf fonts-ipafont-gothic fonts-liberation
|
||||
2026-06-27T05:03:46.5984480Z fonts-noto-color-emoji fonts-tlwg-loma-otf fonts-unifont fonts-wqy-zenhei
|
||||
2026-06-27T05:03:46.5984592Z libasound2-data libasound2t64 libatk-bridge2.0-0t64 libatk1.0-0t64
|
||||
2026-06-27T05:03:46.5984696Z libatspi2.0-0t64 libavahi-client3 libavahi-common-data libavahi-common3
|
||||
2026-06-27T05:03:46.5986735Z libcups2t64 libdrm-amdgpu1 libdrm-common libdrm-intel1 libdrm2 libfontenc1
|
||||
2026-06-27T05:03:46.5986953Z libgbm1 libgl1 libgl1-mesa-dri libglvnd0 libglx-mesa0 libglx0 libllvm20
|
||||
2026-06-27T05:03:46.5990878Z libnspr4 libnss3 libpciaccess0 libsensors-config libsensors5 libvulkan1
|
||||
2026-06-27T05:03:46.5991037Z libx11-xcb1 libxaw7 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0
|
||||
2026-06-27T05:03:46.5991183Z libxcb-sync1 libxcb-xfixes0 libxcomposite1 libxdamage1 libxfixes3 libxfont2
|
||||
2026-06-27T05:03:46.5991270Z libxi6 libxkbcommon0 libxkbfile1 libxmu6 libxmuu1 libxpm4 libxrandr2
|
||||
2026-06-27T05:03:46.5996272Z libxshmfence1 libxxf86vm1 mesa-libgallium x11-xkb-utils xauth
|
||||
2026-06-27T05:03:46.5996493Z xfonts-cyrillic xfonts-encodings xfonts-scalable xfonts-utils xkb-data
|
||||
2026-06-27T05:03:46.5996600Z xserver-common xvfb
|
||||
2026-06-27T05:03:46.6603419Z 0 upgraded, 66 newly installed, 0 to remove and 52 not upgraded.
|
||||
2026-06-27T05:03:46.6604168Z Need to get 79.3 MB of archives.
|
||||
2026-06-27T05:03:46.6604433Z After this operation, 303 MB of additional disk space will be used.
|
||||
2026-06-27T05:03:46.6604671Z Get:1 http://archive.ubuntu.com/ubuntu noble/universe amd64 fonts-ipafont-gothic all 00303-21ubuntu1 [3513 kB]
|
||||
2026-06-27T05:03:46.7809705Z Get:2 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 xkb-data all 2.41-2ubuntu1.1 [397 kB]
|
||||
2026-06-27T05:03:46.7877719Z Get:3 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libdrm-common all 2.4.125-1ubuntu0.1~24.04.2 [9250 B]
|
||||
2026-06-27T05:03:46.7956448Z Get:4 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libdrm2 amd64 2.4.125-1ubuntu0.1~24.04.2 [41.4 kB]
|
||||
2026-06-27T05:03:46.8037972Z Get:5 http://archive.ubuntu.com/ubuntu noble/main amd64 libsensors-config all 1:3.6.0-9build1 [5546 B]
|
||||
2026-06-27T05:03:46.8124700Z Get:6 http://archive.ubuntu.com/ubuntu noble/main amd64 libsensors5 amd64 1:3.6.0-9build1 [26.6 kB]
|
||||
2026-06-27T05:03:46.8208898Z Get:7 http://archive.ubuntu.com/ubuntu noble/main amd64 libxkbcommon0 amd64 1.6.0-1build1 [122 kB]
|
||||
2026-06-27T05:03:46.8304453Z Get:8 http://archive.ubuntu.com/ubuntu noble/main amd64 libxmuu1 amd64 2:1.1.3-3build2 [8958 B]
|
||||
2026-06-27T05:03:46.8390347Z Get:9 http://archive.ubuntu.com/ubuntu noble/main amd64 xauth amd64 1:1.1.2-1build1 [25.6 kB]
|
||||
2026-06-27T05:03:46.8468025Z Get:10 http://archive.ubuntu.com/ubuntu noble/main amd64 at-spi2-common all 2.52.0-1build1 [8674 B]
|
||||
2026-06-27T05:03:46.8553440Z Get:11 http://archive.ubuntu.com/ubuntu noble/main amd64 fonts-freefont-ttf all 20211204+svn4273-2 [5641 kB]
|
||||
2026-06-27T05:03:46.8942685Z Get:12 http://archive.ubuntu.com/ubuntu noble/main amd64 fonts-liberation all 1:2.1.5-3 [1603 kB]
|
||||
2026-06-27T05:03:46.9059170Z Get:13 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 fonts-noto-color-emoji all 2.047-0ubuntu0.24.04.1 [9764 kB]
|
||||
2026-06-27T05:03:46.9683189Z Get:14 http://archive.ubuntu.com/ubuntu noble/universe amd64 fonts-tlwg-loma-otf all 1:0.7.3-1 [107 kB]
|
||||
2026-06-27T05:03:46.9699278Z Get:15 http://archive.ubuntu.com/ubuntu noble/universe amd64 fonts-unifont all 1:15.1.01-1build1 [2993 kB]
|
||||
2026-06-27T05:03:46.9869770Z Get:16 http://archive.ubuntu.com/ubuntu noble/universe amd64 fonts-wqy-zenhei all 0.9.45-8 [7472 kB]
|
||||
2026-06-27T05:03:47.0353567Z Get:17 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libasound2-data all 1.2.11-1ubuntu0.2 [21.3 kB]
|
||||
2026-06-27T05:03:47.0355935Z Get:18 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libasound2t64 amd64 1.2.11-1ubuntu0.2 [398 kB]
|
||||
2026-06-27T05:03:47.0387303Z Get:19 http://archive.ubuntu.com/ubuntu noble/main amd64 libatk1.0-0t64 amd64 2.52.0-1build1 [55.3 kB]
|
||||
2026-06-27T05:03:47.0391017Z Get:20 http://archive.ubuntu.com/ubuntu noble/main amd64 libxi6 amd64 2:1.8.1-1build1 [32.4 kB]
|
||||
2026-06-27T05:03:47.0400033Z Get:21 http://archive.ubuntu.com/ubuntu noble/main amd64 libatspi2.0-0t64 amd64 2.52.0-1build1 [80.5 kB]
|
||||
2026-06-27T05:03:47.0405531Z Get:22 http://archive.ubuntu.com/ubuntu noble/main amd64 libatk-bridge2.0-0t64 amd64 2.52.0-1build1 [66.0 kB]
|
||||
2026-06-27T05:03:47.0415032Z Get:23 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libavahi-common-data amd64 0.8-13ubuntu6.2 [30.1 kB]
|
||||
2026-06-27T05:03:47.0471306Z Get:24 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libavahi-common3 amd64 0.8-13ubuntu6.2 [23.4 kB]
|
||||
2026-06-27T05:03:47.0563441Z Get:25 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libavahi-client3 amd64 0.8-13ubuntu6.2 [26.8 kB]
|
||||
2026-06-27T05:03:47.0627207Z Get:26 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libcups2t64 amd64 2.4.7-1.2ubuntu7.14 [274 kB]
|
||||
2026-06-27T05:03:47.0785578Z Get:27 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libdrm-amdgpu1 amd64 2.4.125-1ubuntu0.1~24.04.2 [21.4 kB]
|
||||
2026-06-27T05:03:47.0881051Z Get:28 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libpciaccess0 amd64 0.17-3ubuntu0.24.04.2 [18.9 kB]
|
||||
2026-06-27T05:03:47.0964973Z Get:29 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libdrm-intel1 amd64 2.4.125-1ubuntu0.1~24.04.2 [63.9 kB]
|
||||
2026-06-27T05:03:47.1075155Z Get:30 http://archive.ubuntu.com/ubuntu noble/main amd64 libfontenc1 amd64 1:1.1.8-1build1 [14.0 kB]
|
||||
2026-06-27T05:03:47.1154955Z Get:31 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libllvm20 amd64 1:20.1.2-0ubuntu1~24.04.3 [30.6 MB]
|
||||
2026-06-27T05:03:47.3311077Z Get:32 http://archive.ubuntu.com/ubuntu noble/main amd64 libx11-xcb1 amd64 2:1.8.7-1build1 [7800 B]
|
||||
2026-06-27T05:03:47.3314370Z Get:33 http://archive.ubuntu.com/ubuntu noble/main amd64 libxcb-dri3-0 amd64 1.15-1ubuntu2 [7142 B]
|
||||
2026-06-27T05:03:47.3317224Z Get:34 http://archive.ubuntu.com/ubuntu noble/main amd64 libxcb-present0 amd64 1.15-1ubuntu2 [5676 B]
|
||||
2026-06-27T05:03:47.3320406Z Get:35 http://archive.ubuntu.com/ubuntu noble/main amd64 libxcb-randr0 amd64 1.15-1ubuntu2 [17.9 kB]
|
||||
2026-06-27T05:03:47.3323204Z Get:36 http://archive.ubuntu.com/ubuntu noble/main amd64 libxcb-sync1 amd64 1.15-1ubuntu2 [9312 B]
|
||||
2026-06-27T05:03:47.3325979Z Get:37 http://archive.ubuntu.com/ubuntu noble/main amd64 libxcb-xfixes0 amd64 1.15-1ubuntu2 [10.2 kB]
|
||||
2026-06-27T05:03:47.3329440Z Get:38 http://archive.ubuntu.com/ubuntu noble/main amd64 libxshmfence1 amd64 1.3-1build5 [4764 B]
|
||||
2026-06-27T05:03:47.3340744Z Get:39 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 mesa-libgallium amd64 25.2.8-0ubuntu0.24.04.2 [10.8 MB]
|
||||
2026-06-27T05:03:47.3938332Z Get:40 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libgbm1 amd64 25.2.8-0ubuntu0.24.04.2 [34.2 kB]
|
||||
2026-06-27T05:03:47.3947823Z Get:41 http://archive.ubuntu.com/ubuntu noble/main amd64 libvulkan1 amd64 1.3.275.0-1build1 [142 kB]
|
||||
2026-06-27T05:03:47.3961752Z Get:42 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libgl1-mesa-dri amd64 25.2.8-0ubuntu0.24.04.2 [37.9 kB]
|
||||
2026-06-27T05:03:47.3977381Z Get:43 http://archive.ubuntu.com/ubuntu noble/main amd64 libxcb-glx0 amd64 1.15-1ubuntu2 [24.8 kB]
|
||||
2026-06-27T05:03:47.3981073Z Get:44 http://archive.ubuntu.com/ubuntu noble/main amd64 libxxf86vm1 amd64 1:1.1.4-1build4 [9282 B]
|
||||
2026-06-27T05:03:47.3984131Z Get:45 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libglx-mesa0 amd64 25.2.8-0ubuntu0.24.04.2 [110 kB]
|
||||
2026-06-27T05:03:47.4058006Z Get:46 http://archive.ubuntu.com/ubuntu noble/main amd64 libnspr4 amd64 2:4.35-1.1build1 [117 kB]
|
||||
2026-06-27T05:03:47.4157290Z Get:47 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libnss3 amd64 2:3.98-1ubuntu0.1 [1445 kB]
|
||||
2026-06-27T05:03:47.4279396Z Get:48 http://archive.ubuntu.com/ubuntu noble/main amd64 libxmu6 amd64 2:1.1.3-3build2 [47.6 kB]
|
||||
2026-06-27T05:03:47.4334449Z Get:49 http://archive.ubuntu.com/ubuntu noble/main amd64 libxpm4 amd64 1:3.5.17-1build2 [36.5 kB]
|
||||
2026-06-27T05:03:47.4436704Z Get:50 http://archive.ubuntu.com/ubuntu noble/main amd64 libxaw7 amd64 2:1.0.14-1build2 [187 kB]
|
||||
2026-06-27T05:03:47.4535460Z Get:51 http://archive.ubuntu.com/ubuntu noble/main amd64 libxcomposite1 amd64 1:0.4.5-1build3 [6320 B]
|
||||
2026-06-27T05:03:47.4609763Z Get:52 http://archive.ubuntu.com/ubuntu noble/main amd64 libxdamage1 amd64 1:1.1.6-1build1 [6150 B]
|
||||
2026-06-27T05:03:47.4693310Z Get:53 http://archive.ubuntu.com/ubuntu noble/main amd64 libxfixes3 amd64 1:6.0.0-2build1 [10.8 kB]
|
||||
2026-06-27T05:03:47.4785385Z Get:54 http://archive.ubuntu.com/ubuntu noble/main amd64 libxfont2 amd64 1:2.0.6-1build1 [93.0 kB]
|
||||
2026-06-27T05:03:47.4852659Z Get:55 http://archive.ubuntu.com/ubuntu noble/main amd64 libxkbfile1 amd64 1:1.1.0-1build4 [70.0 kB]
|
||||
2026-06-27T05:03:47.4945125Z Get:56 http://archive.ubuntu.com/ubuntu noble/main amd64 libxrandr2 amd64 2:1.5.2-2build1 [19.7 kB]
|
||||
2026-06-27T05:03:47.5041934Z Get:57 http://archive.ubuntu.com/ubuntu noble/main amd64 x11-xkb-utils amd64 7.7+8build2 [170 kB]
|
||||
2026-06-27T05:03:47.5110926Z Get:58 http://archive.ubuntu.com/ubuntu noble/main amd64 xfonts-encodings all 1:1.0.5-0ubuntu2 [578 kB]
|
||||
2026-06-27T05:03:47.5234738Z Get:59 http://archive.ubuntu.com/ubuntu noble/main amd64 xfonts-utils amd64 1:7.7+6build3 [94.4 kB]
|
||||
2026-06-27T05:03:47.5330021Z Get:60 http://archive.ubuntu.com/ubuntu noble/universe amd64 xfonts-cyrillic all 1:1.0.5+nmu1 [384 kB]
|
||||
2026-06-27T05:03:47.5437047Z Get:61 http://archive.ubuntu.com/ubuntu noble/main amd64 xfonts-scalable all 1:1.0.3-1.3 [304 kB]
|
||||
2026-06-27T05:03:47.5530065Z Get:62 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 xserver-common all 2:21.1.12-1ubuntu1.6 [34.7 kB]
|
||||
2026-06-27T05:03:47.5652482Z Get:63 http://archive.ubuntu.com/ubuntu noble/main amd64 libglvnd0 amd64 1.7.0-1build1 [69.6 kB]
|
||||
2026-06-27T05:03:47.5770020Z Get:64 http://archive.ubuntu.com/ubuntu noble/main amd64 libglx0 amd64 1.7.0-1build1 [38.6 kB]
|
||||
2026-06-27T05:03:47.5856885Z Get:65 http://archive.ubuntu.com/ubuntu noble/main amd64 libgl1 amd64 1.7.0-1build1 [102 kB]
|
||||
2026-06-27T05:03:47.5968781Z Get:66 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 xvfb amd64 2:21.1.12-1ubuntu1.6 [877 kB]
|
||||
2026-06-27T05:03:47.8349307Z debconf: delaying package configuration, since apt-utils is not installed
|
||||
2026-06-27T05:03:47.8876315Z Fetched 79.3 MB in 1s (80.3 MB/s)
|
||||
2026-06-27T05:03:47.9196945Z Selecting previously unselected package fonts-ipafont-gothic.
|
||||
2026-06-27T05:03:48.0973964Z (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 26518 files and directories currently installed.)
|
||||
2026-06-27T05:03:48.0974807Z Preparing to unpack .../00-fonts-ipafont-gothic_00303-21ubuntu1_all.deb ...
|
||||
2026-06-27T05:03:48.1082583Z Unpacking fonts-ipafont-gothic (00303-21ubuntu1) ...
|
||||
2026-06-27T05:03:48.4031621Z Selecting previously unselected package xkb-data.
|
||||
2026-06-27T05:03:48.4060725Z Preparing to unpack .../01-xkb-data_2.41-2ubuntu1.1_all.deb ...
|
||||
2026-06-27T05:03:48.4086859Z Unpacking xkb-data (2.41-2ubuntu1.1) ...
|
||||
2026-06-27T05:03:48.4822663Z Selecting previously unselected package libdrm-common.
|
||||
2026-06-27T05:03:48.4851249Z Preparing to unpack .../02-libdrm-common_2.4.125-1ubuntu0.1~24.04.2_all.deb ...
|
||||
2026-06-27T05:03:48.4883947Z Unpacking libdrm-common (2.4.125-1ubuntu0.1~24.04.2) ...
|
||||
2026-06-27T05:03:48.5126530Z Selecting previously unselected package libdrm2:amd64.
|
||||
2026-06-27T05:03:48.5163740Z Preparing to unpack .../03-libdrm2_2.4.125-1ubuntu0.1~24.04.2_amd64.deb ...
|
||||
2026-06-27T05:03:48.5247234Z Unpacking libdrm2:amd64 (2.4.125-1ubuntu0.1~24.04.2) ...
|
||||
2026-06-27T05:03:48.5574655Z Selecting previously unselected package libsensors-config.
|
||||
2026-06-27T05:03:48.5607811Z Preparing to unpack .../04-libsensors-config_1%3a3.6.0-9build1_all.deb ...
|
||||
2026-06-27T05:03:48.5637165Z Unpacking libsensors-config (1:3.6.0-9build1) ...
|
||||
2026-06-27T05:03:48.5848037Z Selecting previously unselected package libsensors5:amd64.
|
||||
2026-06-27T05:03:48.5860699Z Preparing to unpack .../05-libsensors5_1%3a3.6.0-9build1_amd64.deb ...
|
||||
2026-06-27T05:03:48.6445351Z Unpacking libsensors5:amd64 (1:3.6.0-9build1) ...
|
||||
2026-06-27T05:03:48.6728659Z Selecting previously unselected package libxkbcommon0:amd64.
|
||||
2026-06-27T05:03:48.6761011Z Preparing to unpack .../06-libxkbcommon0_1.6.0-1build1_amd64.deb ...
|
||||
2026-06-27T05:03:48.6787239Z Unpacking libxkbcommon0:amd64 (1.6.0-1build1) ...
|
||||
2026-06-27T05:03:48.7023182Z Selecting previously unselected package libxmuu1:amd64.
|
||||
2026-06-27T05:03:48.7055976Z Preparing to unpack .../07-libxmuu1_2%3a1.1.3-3build2_amd64.deb ...
|
||||
2026-06-27T05:03:48.7074750Z Unpacking libxmuu1:amd64 (2:1.1.3-3build2) ...
|
||||
2026-06-27T05:03:48.7308431Z Selecting previously unselected package xauth.
|
||||
2026-06-27T05:03:48.7320623Z Preparing to unpack .../08-xauth_1%3a1.1.2-1build1_amd64.deb ...
|
||||
2026-06-27T05:03:48.7341843Z Unpacking xauth (1:1.1.2-1build1) ...
|
||||
2026-06-27T05:03:48.7538665Z Selecting previously unselected package at-spi2-common.
|
||||
2026-06-27T05:03:48.7550731Z Preparing to unpack .../09-at-spi2-common_2.52.0-1build1_all.deb ...
|
||||
2026-06-27T05:03:48.7573006Z Unpacking at-spi2-common (2.52.0-1build1) ...
|
||||
2026-06-27T05:03:48.7778611Z Selecting previously unselected package fonts-freefont-ttf.
|
||||
2026-06-27T05:03:48.7792971Z Preparing to unpack .../10-fonts-freefont-ttf_20211204+svn4273-2_all.deb ...
|
||||
2026-06-27T05:03:48.7818022Z Unpacking fonts-freefont-ttf (20211204+svn4273-2) ...
|
||||
2026-06-27T05:03:48.8978122Z Selecting previously unselected package fonts-liberation.
|
||||
2026-06-27T05:03:48.8997829Z Preparing to unpack .../11-fonts-liberation_1%3a2.1.5-3_all.deb ...
|
||||
2026-06-27T05:03:48.9015456Z Unpacking fonts-liberation (1:2.1.5-3) ...
|
||||
2026-06-27T05:03:48.9524035Z Selecting previously unselected package fonts-noto-color-emoji.
|
||||
2026-06-27T05:03:48.9565036Z Preparing to unpack .../12-fonts-noto-color-emoji_2.047-0ubuntu0.24.04.1_all.deb ...
|
||||
2026-06-27T05:03:48.9596491Z Unpacking fonts-noto-color-emoji (2.047-0ubuntu0.24.04.1) ...
|
||||
2026-06-27T05:03:49.1167418Z Selecting previously unselected package fonts-tlwg-loma-otf.
|
||||
2026-06-27T05:03:49.1199369Z Preparing to unpack .../13-fonts-tlwg-loma-otf_1%3a0.7.3-1_all.deb ...
|
||||
2026-06-27T05:03:49.1223278Z Unpacking fonts-tlwg-loma-otf (1:0.7.3-1) ...
|
||||
2026-06-27T05:03:49.1503811Z Selecting previously unselected package fonts-unifont.
|
||||
2026-06-27T05:03:49.1535020Z Preparing to unpack .../14-fonts-unifont_1%3a15.1.01-1build1_all.deb ...
|
||||
2026-06-27T05:03:49.1556920Z Unpacking fonts-unifont (1:15.1.01-1build1) ...
|
||||
2026-06-27T05:03:49.2892089Z Selecting previously unselected package fonts-wqy-zenhei.
|
||||
2026-06-27T05:03:49.2923511Z Preparing to unpack .../15-fonts-wqy-zenhei_0.9.45-8_all.deb ...
|
||||
2026-06-27T05:03:49.3101208Z Unpacking fonts-wqy-zenhei (0.9.45-8) ...
|
||||
2026-06-27T05:03:49.8878955Z Selecting previously unselected package libasound2-data.
|
||||
2026-06-27T05:03:49.8907595Z Preparing to unpack .../16-libasound2-data_1.2.11-1ubuntu0.2_all.deb ...
|
||||
2026-06-27T05:03:49.8933946Z Unpacking libasound2-data (1.2.11-1ubuntu0.2) ...
|
||||
2026-06-27T05:03:49.9283589Z Selecting previously unselected package libasound2t64:amd64.
|
||||
2026-06-27T05:03:49.9285798Z Preparing to unpack .../17-libasound2t64_1.2.11-1ubuntu0.2_amd64.deb ...
|
||||
2026-06-27T05:03:49.9312658Z Unpacking libasound2t64:amd64 (1.2.11-1ubuntu0.2) ...
|
||||
2026-06-27T05:03:49.9928919Z Selecting previously unselected package libatk1.0-0t64:amd64.
|
||||
2026-06-27T05:03:49.9945176Z Preparing to unpack .../18-libatk1.0-0t64_2.52.0-1build1_amd64.deb ...
|
||||
2026-06-27T05:03:49.9960739Z Unpacking libatk1.0-0t64:amd64 (2.52.0-1build1) ...
|
||||
2026-06-27T05:03:50.0260579Z Selecting previously unselected package libxi6:amd64.
|
||||
2026-06-27T05:03:50.0272150Z Preparing to unpack .../19-libxi6_2%3a1.8.1-1build1_amd64.deb ...
|
||||
2026-06-27T05:03:50.0290412Z Unpacking libxi6:amd64 (2:1.8.1-1build1) ...
|
||||
2026-06-27T05:03:50.1095135Z Selecting previously unselected package libatspi2.0-0t64:amd64.
|
||||
2026-06-27T05:03:50.1095815Z Preparing to unpack .../20-libatspi2.0-0t64_2.52.0-1build1_amd64.deb ...
|
||||
2026-06-27T05:03:50.1112023Z Unpacking libatspi2.0-0t64:amd64 (2.52.0-1build1) ...
|
||||
2026-06-27T05:03:50.1491432Z Selecting previously unselected package libatk-bridge2.0-0t64:amd64.
|
||||
2026-06-27T05:03:50.1507422Z Preparing to unpack .../21-libatk-bridge2.0-0t64_2.52.0-1build1_amd64.deb ...
|
||||
2026-06-27T05:03:50.1531328Z Unpacking libatk-bridge2.0-0t64:amd64 (2.52.0-1build1) ...
|
||||
2026-06-27T05:03:50.1798755Z Selecting previously unselected package libavahi-common-data:amd64.
|
||||
2026-06-27T05:03:50.1811070Z Preparing to unpack .../22-libavahi-common-data_0.8-13ubuntu6.2_amd64.deb ...
|
||||
2026-06-27T05:03:50.1834018Z Unpacking libavahi-common-data:amd64 (0.8-13ubuntu6.2) ...
|
||||
2026-06-27T05:03:50.2060891Z Selecting previously unselected package libavahi-common3:amd64.
|
||||
2026-06-27T05:03:50.2066810Z Preparing to unpack .../23-libavahi-common3_0.8-13ubuntu6.2_amd64.deb ...
|
||||
2026-06-27T05:03:50.2087070Z Unpacking libavahi-common3:amd64 (0.8-13ubuntu6.2) ...
|
||||
2026-06-27T05:03:50.2339970Z Selecting previously unselected package libavahi-client3:amd64.
|
||||
2026-06-27T05:03:50.2346360Z Preparing to unpack .../24-libavahi-client3_0.8-13ubuntu6.2_amd64.deb ...
|
||||
2026-06-27T05:03:50.2372831Z Unpacking libavahi-client3:amd64 (0.8-13ubuntu6.2) ...
|
||||
2026-06-27T05:03:50.2628128Z Selecting previously unselected package libcups2t64:amd64.
|
||||
2026-06-27T05:03:50.2646634Z Preparing to unpack .../25-libcups2t64_2.4.7-1.2ubuntu7.14_amd64.deb ...
|
||||
2026-06-27T05:03:50.2668908Z Unpacking libcups2t64:amd64 (2.4.7-1.2ubuntu7.14) ...
|
||||
2026-06-27T05:03:50.3001930Z Selecting previously unselected package libdrm-amdgpu1:amd64.
|
||||
2026-06-27T05:03:50.3002543Z Preparing to unpack .../26-libdrm-amdgpu1_2.4.125-1ubuntu0.1~24.04.2_amd64.deb ...
|
||||
2026-06-27T05:03:50.3021001Z Unpacking libdrm-amdgpu1:amd64 (2.4.125-1ubuntu0.1~24.04.2) ...
|
||||
2026-06-27T05:03:50.3263632Z Selecting previously unselected package libpciaccess0:amd64.
|
||||
2026-06-27T05:03:50.3316040Z Preparing to unpack .../27-libpciaccess0_0.17-3ubuntu0.24.04.2_amd64.deb ...
|
||||
2026-06-27T05:03:50.3344539Z Unpacking libpciaccess0:amd64 (0.17-3ubuntu0.24.04.2) ...
|
||||
2026-06-27T05:03:50.3621077Z Selecting previously unselected package libdrm-intel1:amd64.
|
||||
2026-06-27T05:03:50.3632116Z Preparing to unpack .../28-libdrm-intel1_2.4.125-1ubuntu0.1~24.04.2_amd64.deb ...
|
||||
2026-06-27T05:03:50.3651623Z Unpacking libdrm-intel1:amd64 (2.4.125-1ubuntu0.1~24.04.2) ...
|
||||
2026-06-27T05:03:50.3898779Z Selecting previously unselected package libfontenc1:amd64.
|
||||
2026-06-27T05:03:50.3926371Z Preparing to unpack .../29-libfontenc1_1%3a1.1.8-1build1_amd64.deb ...
|
||||
2026-06-27T05:03:50.3945541Z Unpacking libfontenc1:amd64 (1:1.1.8-1build1) ...
|
||||
2026-06-27T05:03:50.4228650Z Selecting previously unselected package libllvm20:amd64.
|
||||
2026-06-27T05:03:50.4243240Z Preparing to unpack .../30-libllvm20_1%3a20.1.2-0ubuntu1~24.04.3_amd64.deb ...
|
||||
2026-06-27T05:03:50.4277362Z Unpacking libllvm20:amd64 (1:20.1.2-0ubuntu1~24.04.3) ...
|
||||
2026-06-27T05:03:51.1945688Z Selecting previously unselected package libx11-xcb1:amd64.
|
||||
2026-06-27T05:03:51.1978441Z Preparing to unpack .../31-libx11-xcb1_2%3a1.8.7-1build1_amd64.deb ...
|
||||
2026-06-27T05:03:51.1997818Z Unpacking libx11-xcb1:amd64 (2:1.8.7-1build1) ...
|
||||
2026-06-27T05:03:51.2303914Z Selecting previously unselected package libxcb-dri3-0:amd64.
|
||||
2026-06-27T05:03:51.2306613Z Preparing to unpack .../32-libxcb-dri3-0_1.15-1ubuntu2_amd64.deb ...
|
||||
2026-06-27T05:03:51.2335569Z Unpacking libxcb-dri3-0:amd64 (1.15-1ubuntu2) ...
|
||||
2026-06-27T05:03:51.2653511Z Selecting previously unselected package libxcb-present0:amd64.
|
||||
2026-06-27T05:03:51.2683365Z Preparing to unpack .../33-libxcb-present0_1.15-1ubuntu2_amd64.deb ...
|
||||
2026-06-27T05:03:51.2719323Z Unpacking libxcb-present0:amd64 (1.15-1ubuntu2) ...
|
||||
2026-06-27T05:03:51.3024417Z Selecting previously unselected package libxcb-randr0:amd64.
|
||||
2026-06-27T05:03:51.3052084Z Preparing to unpack .../34-libxcb-randr0_1.15-1ubuntu2_amd64.deb ...
|
||||
2026-06-27T05:03:51.3083261Z Unpacking libxcb-randr0:amd64 (1.15-1ubuntu2) ...
|
||||
2026-06-27T05:03:51.3406389Z Selecting previously unselected package libxcb-sync1:amd64.
|
||||
2026-06-27T05:03:51.3432911Z Preparing to unpack .../35-libxcb-sync1_1.15-1ubuntu2_amd64.deb ...
|
||||
2026-06-27T05:03:51.3458534Z Unpacking libxcb-sync1:amd64 (1.15-1ubuntu2) ...
|
||||
2026-06-27T05:03:51.3787405Z Selecting previously unselected package libxcb-xfixes0:amd64.
|
||||
2026-06-27T05:03:51.3812637Z Preparing to unpack .../36-libxcb-xfixes0_1.15-1ubuntu2_amd64.deb ...
|
||||
2026-06-27T05:03:51.3839529Z Unpacking libxcb-xfixes0:amd64 (1.15-1ubuntu2) ...
|
||||
2026-06-27T05:03:51.4159717Z Selecting previously unselected package libxshmfence1:amd64.
|
||||
2026-06-27T05:03:51.4178371Z Preparing to unpack .../37-libxshmfence1_1.3-1build5_amd64.deb ...
|
||||
2026-06-27T05:03:51.4206795Z Unpacking libxshmfence1:amd64 (1.3-1build5) ...
|
||||
2026-06-27T05:03:51.4482213Z Selecting previously unselected package mesa-libgallium:amd64.
|
||||
2026-06-27T05:03:51.4514699Z Preparing to unpack .../38-mesa-libgallium_25.2.8-0ubuntu0.24.04.2_amd64.deb ...
|
||||
2026-06-27T05:03:51.4531872Z Unpacking mesa-libgallium:amd64 (25.2.8-0ubuntu0.24.04.2) ...
|
||||
2026-06-27T05:03:51.7058441Z Selecting previously unselected package libgbm1:amd64.
|
||||
2026-06-27T05:03:51.7075418Z Preparing to unpack .../39-libgbm1_25.2.8-0ubuntu0.24.04.2_amd64.deb ...
|
||||
2026-06-27T05:03:51.7102471Z Unpacking libgbm1:amd64 (25.2.8-0ubuntu0.24.04.2) ...
|
||||
2026-06-27T05:03:51.7369143Z Selecting previously unselected package libvulkan1:amd64.
|
||||
2026-06-27T05:03:51.7374302Z Preparing to unpack .../40-libvulkan1_1.3.275.0-1build1_amd64.deb ...
|
||||
2026-06-27T05:03:51.7400194Z Unpacking libvulkan1:amd64 (1.3.275.0-1build1) ...
|
||||
2026-06-27T05:03:51.7732768Z Selecting previously unselected package libgl1-mesa-dri:amd64.
|
||||
2026-06-27T05:03:51.7774246Z Preparing to unpack .../41-libgl1-mesa-dri_25.2.8-0ubuntu0.24.04.2_amd64.deb ...
|
||||
2026-06-27T05:03:51.7878618Z Unpacking libgl1-mesa-dri:amd64 (25.2.8-0ubuntu0.24.04.2) ...
|
||||
2026-06-27T05:03:51.8222671Z Selecting previously unselected package libxcb-glx0:amd64.
|
||||
2026-06-27T05:03:51.8256344Z Preparing to unpack .../42-libxcb-glx0_1.15-1ubuntu2_amd64.deb ...
|
||||
2026-06-27T05:03:51.8288734Z Unpacking libxcb-glx0:amd64 (1.15-1ubuntu2) ...
|
||||
2026-06-27T05:03:51.8551590Z Selecting previously unselected package libxxf86vm1:amd64.
|
||||
2026-06-27T05:03:51.8580376Z Preparing to unpack .../43-libxxf86vm1_1%3a1.1.4-1build4_amd64.deb ...
|
||||
2026-06-27T05:03:51.8605178Z Unpacking libxxf86vm1:amd64 (1:1.1.4-1build4) ...
|
||||
2026-06-27T05:03:51.8846322Z Selecting previously unselected package libglx-mesa0:amd64.
|
||||
2026-06-27T05:03:51.8878710Z Preparing to unpack .../44-libglx-mesa0_25.2.8-0ubuntu0.24.04.2_amd64.deb ...
|
||||
2026-06-27T05:03:51.8897410Z Unpacking libglx-mesa0:amd64 (25.2.8-0ubuntu0.24.04.2) ...
|
||||
2026-06-27T05:03:51.9133754Z Selecting previously unselected package libnspr4:amd64.
|
||||
2026-06-27T05:03:51.9168829Z Preparing to unpack .../45-libnspr4_2%3a4.35-1.1build1_amd64.deb ...
|
||||
2026-06-27T05:03:51.9193272Z Unpacking libnspr4:amd64 (2:4.35-1.1build1) ...
|
||||
2026-06-27T05:03:51.9528756Z Selecting previously unselected package libnss3:amd64.
|
||||
2026-06-27T05:03:51.9552805Z Preparing to unpack .../46-libnss3_2%3a3.98-1ubuntu0.1_amd64.deb ...
|
||||
2026-06-27T05:03:51.9582534Z Unpacking libnss3:amd64 (2:3.98-1ubuntu0.1) ...
|
||||
2026-06-27T05:03:52.0149694Z Selecting previously unselected package libxmu6:amd64.
|
||||
2026-06-27T05:03:52.0179910Z Preparing to unpack .../47-libxmu6_2%3a1.1.3-3build2_amd64.deb ...
|
||||
2026-06-27T05:03:52.0207740Z Unpacking libxmu6:amd64 (2:1.1.3-3build2) ...
|
||||
2026-06-27T05:03:52.0692071Z Selecting previously unselected package libxpm4:amd64.
|
||||
2026-06-27T05:03:52.0719622Z Preparing to unpack .../48-libxpm4_1%3a3.5.17-1build2_amd64.deb ...
|
||||
2026-06-27T05:03:52.0888846Z Unpacking libxpm4:amd64 (1:3.5.17-1build2) ...
|
||||
2026-06-27T05:03:52.1524085Z Selecting previously unselected package libxaw7:amd64.
|
||||
2026-06-27T05:03:52.1563258Z Preparing to unpack .../49-libxaw7_2%3a1.0.14-1build2_amd64.deb ...
|
||||
2026-06-27T05:03:52.1629831Z Unpacking libxaw7:amd64 (2:1.0.14-1build2) ...
|
||||
2026-06-27T05:03:52.1971263Z Selecting previously unselected package libxcomposite1:amd64.
|
||||
2026-06-27T05:03:52.2008041Z Preparing to unpack .../50-libxcomposite1_1%3a0.4.5-1build3_amd64.deb ...
|
||||
2026-06-27T05:03:52.2040834Z Unpacking libxcomposite1:amd64 (1:0.4.5-1build3) ...
|
||||
2026-06-27T05:03:52.2346721Z Selecting previously unselected package libxdamage1:amd64.
|
||||
2026-06-27T05:03:52.2404951Z Preparing to unpack .../51-libxdamage1_1%3a1.1.6-1build1_amd64.deb ...
|
||||
2026-06-27T05:03:52.2434919Z Unpacking libxdamage1:amd64 (1:1.1.6-1build1) ...
|
||||
2026-06-27T05:03:52.2721372Z Selecting previously unselected package libxfixes3:amd64.
|
||||
2026-06-27T05:03:52.2754943Z Preparing to unpack .../52-libxfixes3_1%3a6.0.0-2build1_amd64.deb ...
|
||||
2026-06-27T05:03:52.2786629Z Unpacking libxfixes3:amd64 (1:6.0.0-2build1) ...
|
||||
2026-06-27T05:03:52.3089454Z Selecting previously unselected package libxfont2:amd64.
|
||||
2026-06-27T05:03:52.3101819Z Preparing to unpack .../53-libxfont2_1%3a2.0.6-1build1_amd64.deb ...
|
||||
2026-06-27T05:03:52.3126670Z Unpacking libxfont2:amd64 (1:2.0.6-1build1) ...
|
||||
2026-06-27T05:03:52.3420860Z Selecting previously unselected package libxkbfile1:amd64.
|
||||
2026-06-27T05:03:52.3460191Z Preparing to unpack .../54-libxkbfile1_1%3a1.1.0-1build4_amd64.deb ...
|
||||
2026-06-27T05:03:52.3497897Z Unpacking libxkbfile1:amd64 (1:1.1.0-1build4) ...
|
||||
2026-06-27T05:03:52.3792507Z Selecting previously unselected package libxrandr2:amd64.
|
||||
2026-06-27T05:03:52.3825039Z Preparing to unpack .../55-libxrandr2_2%3a1.5.2-2build1_amd64.deb ...
|
||||
2026-06-27T05:03:52.3844434Z Unpacking libxrandr2:amd64 (2:1.5.2-2build1) ...
|
||||
2026-06-27T05:03:52.4078541Z Selecting previously unselected package x11-xkb-utils.
|
||||
2026-06-27T05:03:52.4113337Z Preparing to unpack .../56-x11-xkb-utils_7.7+8build2_amd64.deb ...
|
||||
2026-06-27T05:03:52.4140292Z Unpacking x11-xkb-utils (7.7+8build2) ...
|
||||
2026-06-27T05:03:52.4408851Z Selecting previously unselected package xfonts-encodings.
|
||||
2026-06-27T05:03:52.4435645Z Preparing to unpack .../57-xfonts-encodings_1%3a1.0.5-0ubuntu2_all.deb ...
|
||||
2026-06-27T05:03:52.4453715Z Unpacking xfonts-encodings (1:1.0.5-0ubuntu2) ...
|
||||
2026-06-27T05:03:52.4771188Z Selecting previously unselected package xfonts-utils.
|
||||
2026-06-27T05:03:52.4806262Z Preparing to unpack .../58-xfonts-utils_1%3a7.7+6build3_amd64.deb ...
|
||||
2026-06-27T05:03:52.4828501Z Unpacking xfonts-utils (1:7.7+6build3) ...
|
||||
2026-06-27T05:03:52.5206725Z Selecting previously unselected package xfonts-cyrillic.
|
||||
2026-06-27T05:03:52.5229522Z Preparing to unpack .../59-xfonts-cyrillic_1%3a1.0.5+nmu1_all.deb ...
|
||||
2026-06-27T05:03:52.5253935Z Unpacking xfonts-cyrillic (1:1.0.5+nmu1) ...
|
||||
2026-06-27T05:03:52.5710524Z Selecting previously unselected package xfonts-scalable.
|
||||
2026-06-27T05:03:52.5753480Z Preparing to unpack .../60-xfonts-scalable_1%3a1.0.3-1.3_all.deb ...
|
||||
2026-06-27T05:03:52.5787097Z Unpacking xfonts-scalable (1:1.0.3-1.3) ...
|
||||
2026-06-27T05:03:52.6130349Z Selecting previously unselected package xserver-common.
|
||||
2026-06-27T05:03:52.6164189Z Preparing to unpack .../61-xserver-common_2%3a21.1.12-1ubuntu1.6_all.deb ...
|
||||
2026-06-27T05:03:52.6186350Z Unpacking xserver-common (2:21.1.12-1ubuntu1.6) ...
|
||||
2026-06-27T05:03:52.6489802Z Selecting previously unselected package libglvnd0:amd64.
|
||||
2026-06-27T05:03:52.6519485Z Preparing to unpack .../62-libglvnd0_1.7.0-1build1_amd64.deb ...
|
||||
2026-06-27T05:03:52.6541544Z Unpacking libglvnd0:amd64 (1.7.0-1build1) ...
|
||||
2026-06-27T05:03:52.6908086Z Selecting previously unselected package libglx0:amd64.
|
||||
2026-06-27T05:03:52.6939666Z Preparing to unpack .../63-libglx0_1.7.0-1build1_amd64.deb ...
|
||||
2026-06-27T05:03:52.6966413Z Unpacking libglx0:amd64 (1.7.0-1build1) ...
|
||||
2026-06-27T05:03:52.8146507Z Selecting previously unselected package libgl1:amd64.
|
||||
2026-06-27T05:03:52.8175689Z Preparing to unpack .../64-libgl1_1.7.0-1build1_amd64.deb ...
|
||||
2026-06-27T05:03:52.8220815Z Unpacking libgl1:amd64 (1.7.0-1build1) ...
|
||||
2026-06-27T05:03:52.8551008Z Selecting previously unselected package xvfb.
|
||||
2026-06-27T05:03:52.8568939Z Preparing to unpack .../65-xvfb_2%3a21.1.12-1ubuntu1.6_amd64.deb ...
|
||||
2026-06-27T05:03:52.8601944Z Unpacking xvfb (2:21.1.12-1ubuntu1.6) ...
|
||||
2026-06-27T05:03:52.9196842Z Setting up libxcb-dri3-0:amd64 (1.15-1ubuntu2) ...
|
||||
2026-06-27T05:03:52.9270072Z Setting up libx11-xcb1:amd64 (2:1.8.7-1build1) ...
|
||||
2026-06-27T05:03:52.9338871Z Setting up libpciaccess0:amd64 (0.17-3ubuntu0.24.04.2) ...
|
||||
2026-06-27T05:03:52.9408849Z Setting up libxmu6:amd64 (2:1.1.3-3build2) ...
|
||||
2026-06-27T05:03:52.9481665Z Setting up libxdamage1:amd64 (1:1.1.6-1build1) ...
|
||||
2026-06-27T05:03:52.9568655Z Setting up libxcb-xfixes0:amd64 (1.15-1ubuntu2) ...
|
||||
2026-06-27T05:03:52.9632388Z Setting up libxpm4:amd64 (1:3.5.17-1build2) ...
|
||||
2026-06-27T05:03:52.9702860Z Setting up libxi6:amd64 (2:1.8.1-1build1) ...
|
||||
2026-06-27T05:03:52.9795984Z Setting up fonts-noto-color-emoji (2.047-0ubuntu0.24.04.1) ...
|
||||
2026-06-27T05:03:52.9910894Z Setting up libglvnd0:amd64 (1.7.0-1build1) ...
|
||||
2026-06-27T05:03:52.9982563Z Setting up libxcb-glx0:amd64 (1.15-1ubuntu2) ...
|
||||
2026-06-27T05:03:53.0067802Z Setting up libsensors-config (1:3.6.0-9build1) ...
|
||||
2026-06-27T05:03:53.0210551Z Setting up fonts-wqy-zenhei (0.9.45-8) ...
|
||||
2026-06-27T05:03:53.0465007Z Setting up fonts-freefont-ttf (20211204+svn4273-2) ...
|
||||
2026-06-27T05:03:53.0549202Z Setting up xkb-data (2.41-2ubuntu1.1) ...
|
||||
2026-06-27T05:03:53.0639844Z Setting up libxaw7:amd64 (2:1.0.14-1build2) ...
|
||||
2026-06-27T05:03:53.0711247Z Setting up libxxf86vm1:amd64 (1:1.1.4-1build4) ...
|
||||
2026-06-27T05:03:53.0796392Z Setting up libxcb-present0:amd64 (1.15-1ubuntu2) ...
|
||||
2026-06-27T05:03:53.0871074Z Setting up libasound2-data (1.2.11-1ubuntu0.2) ...
|
||||
2026-06-27T05:03:53.0942314Z Setting up libfontenc1:amd64 (1:1.1.8-1build1) ...
|
||||
2026-06-27T05:03:53.1010849Z Setting up libasound2t64:amd64 (1.2.11-1ubuntu0.2) ...
|
||||
2026-06-27T05:03:53.1093932Z Setting up fonts-tlwg-loma-otf (1:0.7.3-1) ...
|
||||
2026-06-27T05:03:53.1178299Z Setting up libnspr4:amd64 (2:4.35-1.1build1) ...
|
||||
2026-06-27T05:03:53.1258833Z Setting up libxfixes3:amd64 (1:6.0.0-2build1) ...
|
||||
2026-06-27T05:03:53.1327029Z Setting up libxcb-sync1:amd64 (1.15-1ubuntu2) ...
|
||||
2026-06-27T05:03:53.1402893Z Setting up libavahi-common-data:amd64 (0.8-13ubuntu6.2) ...
|
||||
2026-06-27T05:03:53.1475400Z Setting up libatspi2.0-0t64:amd64 (2.52.0-1build1) ...
|
||||
2026-06-27T05:03:53.1549982Z Setting up xfonts-encodings (1:1.0.5-0ubuntu2) ...
|
||||
2026-06-27T05:03:53.1616908Z Setting up libxrandr2:amd64 (2:1.5.2-2build1) ...
|
||||
2026-06-27T05:03:53.1668661Z Setting up libllvm20:amd64 (1:20.1.2-0ubuntu1~24.04.3) ...
|
||||
2026-06-27T05:03:53.1727747Z Setting up libsensors5:amd64 (1:3.6.0-9build1) ...
|
||||
2026-06-27T05:03:53.1793936Z Setting up libvulkan1:amd64 (1.3.275.0-1build1) ...
|
||||
2026-06-27T05:03:53.1856188Z Setting up fonts-ipafont-gothic (00303-21ubuntu1) ...
|
||||
2026-06-27T05:03:53.2073121Z update-alternatives: using /usr/share/fonts/opentype/ipafont-gothic/ipag.ttf to provide /usr/share/fonts/truetype/fonts-japanese-gothic.ttf (fonts-japanese-gothic.ttf) in auto mode
|
||||
2026-06-27T05:03:53.2107901Z Setting up libxshmfence1:amd64 (1.3-1build5) ...
|
||||
2026-06-27T05:03:53.2165250Z Setting up at-spi2-common (2.52.0-1build1) ...
|
||||
2026-06-27T05:03:53.2215812Z Setting up libxcb-randr0:amd64 (1.15-1ubuntu2) ...
|
||||
2026-06-27T05:03:53.2268002Z Setting up fonts-liberation (1:2.1.5-3) ...
|
||||
2026-06-27T05:03:53.2318805Z Setting up libxkbfile1:amd64 (1:1.1.0-1build4) ...
|
||||
2026-06-27T05:03:53.2385784Z Setting up libdrm-common (2.4.125-1ubuntu0.1~24.04.2) ...
|
||||
2026-06-27T05:03:53.2443586Z Setting up libxcomposite1:amd64 (1:0.4.5-1build3) ...
|
||||
2026-06-27T05:03:53.2495177Z Setting up libxfont2:amd64 (1:2.0.6-1build1) ...
|
||||
2026-06-27T05:03:53.2540745Z Setting up libxmuu1:amd64 (2:1.1.3-3build2) ...
|
||||
2026-06-27T05:03:53.2591392Z Setting up fonts-unifont (1:15.1.01-1build1) ...
|
||||
2026-06-27T05:03:53.2638764Z Setting up libxkbcommon0:amd64 (1.6.0-1build1) ...
|
||||
2026-06-27T05:03:53.2708443Z Setting up libatk1.0-0t64:amd64 (2.52.0-1build1) ...
|
||||
2026-06-27T05:03:53.2757349Z Setting up x11-xkb-utils (7.7+8build2) ...
|
||||
2026-06-27T05:03:53.2822521Z Setting up libavahi-common3:amd64 (0.8-13ubuntu6.2) ...
|
||||
2026-06-27T05:03:53.2890748Z Setting up libnss3:amd64 (2:3.98-1ubuntu0.1) ...
|
||||
2026-06-27T05:03:53.2977276Z Setting up xfonts-utils (1:7.7+6build3) ...
|
||||
2026-06-27T05:03:53.3135746Z Setting up libdrm2:amd64 (2.4.125-1ubuntu0.1~24.04.2) ...
|
||||
2026-06-27T05:03:53.3206842Z Setting up xauth (1:1.1.2-1build1) ...
|
||||
2026-06-27T05:03:53.3259026Z Setting up xfonts-cyrillic (1:1.0.5+nmu1) ...
|
||||
2026-06-27T05:03:53.3725744Z Setting up xserver-common (2:21.1.12-1ubuntu1.6) ...
|
||||
2026-06-27T05:03:53.3818480Z Setting up libavahi-client3:amd64 (0.8-13ubuntu6.2) ...
|
||||
2026-06-27T05:03:53.3887391Z Setting up xfonts-scalable (1:1.0.3-1.3) ...
|
||||
2026-06-27T05:03:53.4263794Z Setting up libdrm-amdgpu1:amd64 (2.4.125-1ubuntu0.1~24.04.2) ...
|
||||
2026-06-27T05:03:53.4322346Z Setting up libatk-bridge2.0-0t64:amd64 (2.52.0-1build1) ...
|
||||
2026-06-27T05:03:53.4391676Z Setting up libdrm-intel1:amd64 (2.4.125-1ubuntu0.1~24.04.2) ...
|
||||
2026-06-27T05:03:53.4462126Z Setting up libcups2t64:amd64 (2.4.7-1.2ubuntu7.14) ...
|
||||
2026-06-27T05:03:53.4549378Z Setting up mesa-libgallium:amd64 (25.2.8-0ubuntu0.24.04.2) ...
|
||||
2026-06-27T05:03:53.4613960Z Setting up libgbm1:amd64 (25.2.8-0ubuntu0.24.04.2) ...
|
||||
2026-06-27T05:03:53.4687587Z Setting up libgl1-mesa-dri:amd64 (25.2.8-0ubuntu0.24.04.2) ...
|
||||
2026-06-27T05:03:53.4921499Z Setting up libglx-mesa0:amd64 (25.2.8-0ubuntu0.24.04.2) ...
|
||||
2026-06-27T05:03:53.5016856Z Setting up libglx0:amd64 (1.7.0-1build1) ...
|
||||
2026-06-27T05:03:53.5076887Z Setting up libgl1:amd64 (1.7.0-1build1) ...
|
||||
2026-06-27T05:03:53.5129183Z Setting up xvfb (2:21.1.12-1ubuntu1.6) ...
|
||||
2026-06-27T05:03:53.5186300Z Processing triggers for fontconfig (2.15.0-1.1ubuntu2) ...
|
||||
2026-06-27T05:03:53.7260655Z Processing triggers for libc-bin (2.39-0ubuntu8.7) ...
|
||||
2026-06-27T05:03:54.1068348Z Downloading Chromium 143.0.7499.4 (playwright build v1200) from https://cdn.playwright.dev/dbazure/download/playwright/builds/chromium/1200/chromium-linux.zip
|
||||
2026-06-27T05:03:54.5570142Z | | 0% of 164.7 MiB
|
||||
2026-06-27T05:03:55.1093456Z |■■■■■■■■ | 10% of 164.7 MiB
|
||||
2026-06-27T05:03:55.5031508Z |■■■■■■■■■■■■■■■■ | 20% of 164.7 MiB
|
||||
2026-06-27T05:03:55.9123257Z |■■■■■■■■■■■■■■■■■■■■■■■■ | 30% of 164.7 MiB
|
||||
2026-06-27T05:03:56.3075780Z |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ | 40% of 164.7 MiB
|
||||
2026-06-27T05:03:56.7004190Z |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ | 50% of 164.7 MiB
|
||||
2026-06-27T05:03:57.1010194Z |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ | 60% of 164.7 MiB
|
||||
2026-06-27T05:03:57.5039906Z |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ | 70% of 164.7 MiB
|
||||
2026-06-27T05:03:57.8972893Z |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ | 80% of 164.7 MiB
|
||||
2026-06-27T05:03:58.3006030Z |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ | 90% of 164.7 MiB
|
||||
2026-06-27T05:03:58.6921624Z |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■| 100% of 164.7 MiB
|
||||
2026-06-27T05:04:02.3398057Z Chromium 143.0.7499.4 (playwright build v1200) downloaded to /root/.cache/ms-playwright/chromium-1200
|
||||
2026-06-27T05:04:02.3398756Z Downloading FFMPEG playwright build v1011 from https://cdn.playwright.dev/dbazure/download/playwright/builds/ffmpeg/1011/ffmpeg-linux.zip
|
||||
2026-06-27T05:04:02.6712527Z | | 0% of 2.3 MiB
|
||||
2026-06-27T05:04:02.6774944Z |■■■■■■■■ | 10% of 2.3 MiB
|
||||
2026-06-27T05:04:02.7588604Z |■■■■■■■■■■■■■■■■ | 20% of 2.3 MiB
|
||||
2026-06-27T05:04:02.7589165Z |■■■■■■■■■■■■■■■■■■■■■■■■ | 30% of 2.3 MiB
|
||||
2026-06-27T05:04:02.7589394Z |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ | 40% of 2.3 MiB
|
||||
2026-06-27T05:04:02.7589602Z |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ | 50% of 2.3 MiB
|
||||
2026-06-27T05:04:02.7589781Z |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ | 60% of 2.3 MiB
|
||||
2026-06-27T05:04:02.7589890Z |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ | 70% of 2.3 MiB
|
||||
2026-06-27T05:04:02.7590045Z |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ | 80% of 2.3 MiB
|
||||
2026-06-27T05:04:02.7590154Z |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ | 90% of 2.3 MiB
|
||||
2026-06-27T05:04:02.7590377Z |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■| 100% of 2.3 MiB
|
||||
2026-06-27T05:04:02.7834173Z FFMPEG playwright build v1011 downloaded to /root/.cache/ms-playwright/ffmpeg-1011
|
||||
2026-06-27T05:04:02.7836024Z Downloading Chromium Headless Shell 143.0.7499.4 (playwright build v1200) from https://cdn.playwright.dev/dbazure/download/playwright/builds/chromium/1200/chromium-headless-shell-linux.zip
|
||||
2026-06-27T05:04:03.2976891Z | | 0% of 109.7 MiB
|
||||
2026-06-27T05:04:04.2033593Z |■■■■■■■■ | 10% of 109.7 MiB
|
||||
2026-06-27T05:04:04.5078388Z |■■■■■■■■■■■■■■■■ | 20% of 109.7 MiB
|
||||
2026-06-27T05:04:04.7311571Z |■■■■■■■■■■■■■■■■■■■■■■■■ | 30% of 109.7 MiB
|
||||
2026-06-27T05:04:05.0189698Z |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ | 40% of 109.7 MiB
|
||||
2026-06-27T05:04:05.2693267Z |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ | 50% of 109.7 MiB
|
||||
2026-06-27T05:04:05.5555251Z |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ | 60% of 109.7 MiB
|
||||
2026-06-27T05:04:05.8546832Z |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ | 70% of 109.7 MiB
|
||||
2026-06-27T05:04:06.0755813Z |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ | 80% of 109.7 MiB
|
||||
2026-06-27T05:04:06.3443369Z |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ | 90% of 109.7 MiB
|
||||
2026-06-27T05:04:06.6148896Z |■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■| 100% of 109.7 MiB
|
||||
2026-06-27T05:04:09.9767159Z Chromium Headless Shell 143.0.7499.4 (playwright build v1200) downloaded to /root/.cache/ms-playwright/chromium_headless_shell-1200
|
||||
2026-06-27T05:04:10.6540019Z ::group::Run set -e
|
||||
2026-06-27T05:04:10.6540361Z set -e
|
||||
2026-06-27T05:04:10.6540468Z for i in $(seq 1 30); do
|
||||
2026-06-27T05:04:10.6540553Z if curl -fsS "http://${DEPLOY_HOST}/taxbaik/healthz" >/dev/null; then
|
||||
2026-06-27T05:04:10.6540669Z exit 0
|
||||
2026-06-27T05:04:10.6540751Z fi
|
||||
2026-06-27T05:04:10.6540818Z sleep 10
|
||||
2026-06-27T05:04:10.6540886Z done
|
||||
2026-06-27T05:04:10.6540950Z echo "Deployment did not become healthy in time" >&2
|
||||
2026-06-27T05:04:10.6541033Z exit 1
|
||||
2026-06-27T05:04:10.6541115Z shell: bash --noprofile --norc -e -o pipefail {0}
|
||||
2026-06-27T05:04:10.6541214Z env:
|
||||
2026-06-27T05:04:10.6541289Z DEPLOY_HOST: ***
|
||||
2026-06-27T05:04:10.6541370Z ::endgroup::
|
||||
2026-06-27T05:04:10.9150473Z ::group::Run npm run test:e2e
|
||||
2026-06-27T05:04:10.9150794Z npm run test:e2e
|
||||
2026-06-27T05:04:10.9150903Z shell: bash --noprofile --norc -e -o pipefail {0}
|
||||
2026-06-27T05:04:10.9151028Z env:
|
||||
2026-06-27T05:04:10.9151124Z E2E_BASE_URL: http://***/taxbaik
|
||||
2026-06-27T05:04:10.9151217Z E2E_ADMIN_USERNAME: admin
|
||||
2026-06-27T05:04:10.9151294Z E2E_ADMIN_PASSWORD: ***
|
||||
2026-06-27T05:04:10.9151377Z ::endgroup::
|
||||
2026-06-27T05:04:11.2860195Z
|
||||
2026-06-27T05:04:11.2861110Z > test:e2e
|
||||
2026-06-27T05:04:11.2861247Z > playwright test
|
||||
2026-06-27T05:04:11.2861340Z
|
||||
2026-06-27T05:04:13.6416816Z
|
||||
2026-06-27T05:04:13.6417420Z Running 1 test using 1 worker
|
||||
2026-06-27T05:04:13.6436531Z
|
||||
2026-06-27T05:04:28.4679324Z ✘ 1 [chromium] › tests/e2e/admin-login.spec.ts:8:7 › admin authentication › logs in through the real browser UI and reaches dashboard (12.6s)
|
||||
2026-06-27T05:04:41.9089406Z ✘ 2 [chromium] › tests/e2e/admin-login.spec.ts:8:7 › admin authentication › logs in through the real browser UI and reaches dashboard (retry #1) (11.6s)
|
||||
2026-06-27T05:04:41.9615478Z
|
||||
2026-06-27T05:04:41.9618838Z
|
||||
2026-06-27T05:04:41.9638528Z 1) [chromium] › tests/e2e/admin-login.spec.ts:8:7 › admin authentication › logs in through the real browser UI and reaches dashboard
|
||||
2026-06-27T05:04:41.9639391Z
|
||||
2026-06-27T05:04:41.9639951Z Error: [2mexpect([22m[31mpage[39m[2m).[22mtoHaveURL[2m([22m[32mexpected[39m[2m)[22m failed
|
||||
2026-06-27T05:04:41.9640306Z
|
||||
2026-06-27T05:04:41.9640466Z Expected pattern: [32m/\/taxbaik\/admin\/dashboard$/[39m
|
||||
2026-06-27T05:04:41.9640644Z Received string: [31m"http://***/taxbaik/admin/login"[39m
|
||||
2026-06-27T05:04:41.9640835Z Timeout: 10000ms
|
||||
2026-06-27T05:04:41.9640981Z
|
||||
2026-06-27T05:04:41.9641052Z Call log:
|
||||
2026-06-27T05:04:41.9641138Z [2m - Expect "toHaveURL" with timeout 10000ms[22m
|
||||
2026-06-27T05:04:41.9641227Z [2m 14 × unexpected value "http://***/taxbaik/admin/login"[22m
|
||||
2026-06-27T05:04:41.9641335Z
|
||||
2026-06-27T05:04:41.9641420Z
|
||||
2026-06-27T05:04:41.9641566Z 26 | await page.getByRole('button', { name: '로그인' }).click();
|
||||
2026-06-27T05:04:41.9641779Z 27 |
|
||||
2026-06-27T05:04:41.9641881Z > 28 | await expect(page).toHaveURL(/\/taxbaik\/admin\/dashboard$/);
|
||||
2026-06-27T05:04:41.9641970Z | ^
|
||||
2026-06-27T05:04:41.9642044Z 29 | await expect(page.getByRole('heading', { name: /대시보드/ })).toBeVisible();
|
||||
2026-06-27T05:04:41.9642146Z 30 | await expect(page.getByRole('link', { name: /로그아웃/ })).toBeVisible();
|
||||
2026-06-27T05:04:41.9642232Z 31 |
|
||||
2026-06-27T05:04:41.9642317Z at /workspace/***/taxbaik/tests/e2e/admin-login.spec.ts:28:24
|
||||
2026-06-27T05:04:41.9642473Z
|
||||
2026-06-27T05:04:41.9642601Z attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
|
||||
2026-06-27T05:04:41.9642789Z test-results/admin-login-admin-authenti-8d2e4-er-UI-and-reaches-dashboard-chromium/test-failed-1.png
|
||||
2026-06-27T05:04:41.9642883Z ────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-06-27T05:04:41.9643008Z
|
||||
2026-06-27T05:04:41.9643083Z attachment #2: video (video/webm) ──────────────────────────────────────────────────────────────
|
||||
2026-06-27T05:04:41.9643198Z test-results/admin-login-admin-authenti-8d2e4-er-UI-and-reaches-dashboard-chromium/video.webm
|
||||
2026-06-27T05:04:41.9643315Z ────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-06-27T05:04:41.9643506Z
|
||||
2026-06-27T05:04:41.9643663Z Error Context: test-results/admin-login-admin-authenti-8d2e4-er-UI-and-reaches-dashboard-chromium/error-context.md
|
||||
2026-06-27T05:04:41.9643843Z
|
||||
2026-06-27T05:04:41.9643972Z attachment #4: trace (application/zip) ─────────────────────────────────────────────────────────
|
||||
2026-06-27T05:04:41.9644106Z test-results/admin-login-admin-authenti-8d2e4-er-UI-and-reaches-dashboard-chromium/trace.zip
|
||||
2026-06-27T05:04:41.9644193Z Usage:
|
||||
2026-06-27T05:04:41.9644270Z
|
||||
2026-06-27T05:04:41.9644338Z npx playwright show-trace test-results/admin-login-admin-authenti-8d2e4-er-UI-and-reaches-dashboard-chromium/trace.zip
|
||||
2026-06-27T05:04:41.9644436Z
|
||||
2026-06-27T05:04:41.9644504Z ────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-06-27T05:04:41.9644670Z
|
||||
2026-06-27T05:04:41.9644798Z Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-06-27T05:04:41.9644983Z
|
||||
2026-06-27T05:04:41.9645104Z Error: [2mexpect([22m[31mlocator[39m[2m).[22mtoBeVisible[2m([22m[2m)[22m failed
|
||||
2026-06-27T05:04:41.9645192Z
|
||||
2026-06-27T05:04:41.9645258Z Locator: getByRole('heading', { name: '관리자 로그인' })
|
||||
2026-06-27T05:04:41.9645354Z Expected: visible
|
||||
2026-06-27T05:04:41.9645427Z Timeout: 10000ms
|
||||
2026-06-27T05:04:41.9645500Z Error: element(s) not found
|
||||
2026-06-27T05:04:41.9645626Z
|
||||
2026-06-27T05:04:41.9645757Z Call log:
|
||||
2026-06-27T05:04:41.9645890Z [2m - Expect "toBeVisible" with timeout 10000ms[22m
|
||||
2026-06-27T05:04:41.9645980Z [2m - waiting for getByRole('heading', { name: '관리자 로그인' })[22m
|
||||
2026-06-27T05:04:41.9646211Z
|
||||
2026-06-27T05:04:41.9646280Z
|
||||
2026-06-27T05:04:41.9646372Z 21 | await page.goto(`${baseUrl}/admin/login`);
|
||||
2026-06-27T05:04:41.9646455Z 22 |
|
||||
2026-06-27T05:04:41.9646607Z > 23 | await expect(page.getByRole('heading', { name: '관리자 로그인' })).toBeVisible();
|
||||
2026-06-27T05:04:41.9646775Z | ^
|
||||
2026-06-27T05:04:41.9646911Z 24 | await page.getByRole('textbox', { name: '사용자명' }).fill(username);
|
||||
2026-06-27T05:04:41.9647007Z 25 | await page.getByRole('textbox', { name: '비밀번호' }).fill(password);
|
||||
2026-06-27T05:04:41.9647090Z 26 | await page.getByRole('button', { name: '로그인' }).click();
|
||||
2026-06-27T05:04:41.9647171Z at /workspace/***/taxbaik/tests/e2e/admin-login.spec.ts:23:66
|
||||
2026-06-27T05:04:41.9647259Z
|
||||
2026-06-27T05:04:41.9647345Z attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
|
||||
2026-06-27T05:04:41.9647447Z test-results/admin-login-admin-authenti-8d2e4-er-UI-and-reaches-dashboard-chromium-retry1/test-failed-1.png
|
||||
2026-06-27T05:04:41.9647702Z ────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-06-27T05:04:41.9647821Z
|
||||
2026-06-27T05:04:41.9647885Z attachment #2: video (video/webm) ──────────────────────────────────────────────────────────────
|
||||
2026-06-27T05:04:41.9647997Z test-results/admin-login-admin-authenti-8d2e4-er-UI-and-reaches-dashboard-chromium-retry1/video.webm
|
||||
2026-06-27T05:04:41.9648081Z ────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-06-27T05:04:41.9648212Z
|
||||
2026-06-27T05:04:41.9648277Z Error Context: test-results/admin-login-admin-authenti-8d2e4-er-UI-and-reaches-dashboard-chromium-retry1/error-context.md
|
||||
2026-06-27T05:04:41.9648360Z
|
||||
2026-06-27T05:04:41.9648426Z attachment #4: trace (application/zip) ─────────────────────────────────────────────────────────
|
||||
2026-06-27T05:04:41.9648536Z test-results/admin-login-admin-authenti-8d2e4-er-UI-and-reaches-dashboard-chromium-retry1/trace.zip
|
||||
2026-06-27T05:04:41.9648620Z Usage:
|
||||
2026-06-27T05:04:41.9648684Z
|
||||
2026-06-27T05:04:41.9648761Z npx playwright show-trace test-results/admin-login-admin-authenti-8d2e4-er-UI-and-reaches-dashboard-chromium-retry1/trace.zip
|
||||
2026-06-27T05:04:41.9648847Z
|
||||
2026-06-27T05:04:41.9648922Z ────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-06-27T05:04:41.9649026Z
|
||||
2026-06-27T05:04:41.9649102Z 1 failed
|
||||
2026-06-27T05:04:41.9649209Z [chromium] › tests/e2e/admin-login.spec.ts:8:7 › admin authentication › logs in through the real browser UI and reaches dashboard
|
||||
2026-06-27T05:04:42.0225416Z ❌ Failure - Main Browser E2E verification
|
||||
2026-06-27T05:04:42.0434087Z exitcode '1': failure
|
||||
2026-06-27T05:04:42.0883354Z expression '${{ runner.os }}-playwright-\n' rewritten to 'format('{0}-playwright-\n', runner.os)'
|
||||
2026-06-27T05:04:42.0883694Z evaluating expression 'format('{0}-playwright-\n', runner.os)'
|
||||
2026-06-27T05:04:42.0883995Z expression 'format('{0}-playwright-\n', runner.os)' evaluated to '%!t(string=Linux-playwright-\n)'
|
||||
2026-06-27T05:04:42.0884230Z expression '${{ runner.os }}-playwright-${{ hashFiles('package-lock.json') }}' rewritten to 'format('{0}-playwright-{1}', runner.os, hashFiles('package-lock.json'))'
|
||||
2026-06-27T05:04:42.0884339Z evaluating expression 'format('{0}-playwright-{1}', runner.os, hashFiles('package-lock.json'))'
|
||||
2026-06-27T05:04:42.0884611Z Writing entry to tarball workflow/hashfiles/index.js len:168437
|
||||
2026-06-27T05:04:42.0893475Z Extracting content to '/var/run/act'
|
||||
2026-06-27T05:04:42.0940280Z 🐳 docker exec cmd=[node /var/run/act/workflow/hashfiles/index.js] user= workdir=
|
||||
2026-06-27T05:04:42.0940720Z Exec command '[node /var/run/act/workflow/hashfiles/index.js]'
|
||||
2026-06-27T05:04:42.0940992Z Working directory '/workspace/***/taxbaik'
|
||||
2026-06-27T05:04:42.2624922Z expression 'format('{0}-playwright-{1}', runner.os, hashFiles('package-lock.json'))' evaluated to '%!t(string=Linux-playwright-da5b0f170046fc2084d2c68f83e739454760e58eda8b88046a83cc8256c7af8f)'
|
||||
2026-06-27T05:04:42.2729036Z evaluating expression 'success()'
|
||||
2026-06-27T05:04:42.2729591Z expression 'success()' evaluated to 'false'
|
||||
2026-06-27T05:04:42.2729747Z Skipping step 'Cache Playwright browsers' due to 'success()'
|
||||
2026-06-27T05:04:42.3036579Z evaluating expression 'success()'
|
||||
2026-06-27T05:04:42.3037200Z expression 'success()' evaluated to 'false'
|
||||
2026-06-27T05:04:42.3037410Z Skipping step 'Setup Node.js' due to 'success()'
|
||||
2026-06-27T05:04:42.3364196Z evaluating expression 'always()'
|
||||
2026-06-27T05:04:42.3364766Z expression 'always()' evaluated to 'true'
|
||||
2026-06-27T05:04:42.3364912Z ⭐ Run Post Checkout code
|
||||
2026-06-27T05:04:42.3365128Z Writing entry to tarball workflow/outputcmd.txt len:0
|
||||
2026-06-27T05:04:42.3365282Z Writing entry to tarball workflow/statecmd.txt len:0
|
||||
2026-06-27T05:04:42.3365379Z Writing entry to tarball workflow/pathcmd.txt len:0
|
||||
2026-06-27T05:04:42.3365477Z Writing entry to tarball workflow/envs.txt len:0
|
||||
2026-06-27T05:04:42.3365590Z Writing entry to tarball workflow/SUMMARY.md len:0
|
||||
2026-06-27T05:04:42.3365680Z Extracting content to '/var/run/act'
|
||||
2026-06-27T05:04:42.3429416Z run post step for 'Checkout code'
|
||||
2026-06-27T05:04:42.3430373Z executing remote job container: [node /var/run/act/actions/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab/dist/index.js]
|
||||
2026-06-27T05:04:42.3859083Z 🐳 docker exec cmd=[node /var/run/act/actions/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab/dist/index.js] user= workdir=
|
||||
2026-06-27T05:04:42.3859445Z Exec command '[node /var/run/act/actions/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab/dist/index.js]'
|
||||
2026-06-27T05:04:42.3859861Z Working directory '/workspace/***/taxbaik'
|
||||
2026-06-27T05:04:42.6588665Z [command]/usr/bin/git version
|
||||
2026-06-27T05:04:42.6654097Z git version 2.54.0
|
||||
2026-06-27T05:04:42.6697106Z ***
|
||||
2026-06-27T05:04:42.6717137Z Temporarily overriding HOME='/tmp/a27a42ef-8056-4850-abff-d71145286e59' before making global git config changes
|
||||
2026-06-27T05:04:42.6717697Z Adding repository directory to the temporary git global config as a safe directory
|
||||
2026-06-27T05:04:42.6757327Z [command]/usr/bin/git config --global --add safe.directory /workspace/***/taxbaik
|
||||
2026-06-27T05:04:42.7702161Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
|
||||
2026-06-27T05:04:42.7748402Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
|
||||
2026-06-27T05:04:42.8366036Z [command]/usr/bin/git config --local --name-only --get-regexp http\.http\:\/\/gitea\:3000\/\.extraheader
|
||||
2026-06-27T05:04:42.8387692Z http.http://gitea:3000/.extraheader
|
||||
2026-06-27T05:04:42.8404443Z [command]/usr/bin/git config --local --unset-all http.http://gitea:3000/.extraheader
|
||||
2026-06-27T05:04:42.8448771Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.http\:\/\/gitea\:3000\/\.extraheader' && git config --local --unset-all 'http.http://gitea:3000/.extraheader' || :"
|
||||
2026-06-27T05:04:42.8677945Z [command]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir:
|
||||
2026-06-27T05:04:42.8699734Z [command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
|
||||
2026-06-27T05:04:42.9048098Z ✅ Success - Post Checkout code
|
||||
2026-06-27T05:04:42.9142519Z Cleaning up container for job browser-e2e
|
||||
2026-06-27T05:04:43.1597468Z Removed container: 729e7beffb378dc6f37cb393bc7af5d1bd22b4b5ee950b07fde7f6d54bb5e844
|
||||
2026-06-27T05:04:43.1619985Z 🐳 docker volume rm GITEA-ACTIONS-TASK-228-WORKFLOW-TaxBaik-Browser-E2E-JOB-browser-0c3452011332633cc68f63d3d9814a22130d04a6b0d422dd40217df2432ae92c
|
||||
2026-06-27T05:04:43.2046995Z 🐳 docker volume rm GITEA-ACTIONS-TASK-228-WORKFLOW-TaxBaik-Browser-E2E-JOB-browser-0c3452011332633cc68f63d3d9814a22130d04a6b0d422dd40217df2432ae92c-env
|
||||
2026-06-27T05:04:43.4945518Z 🏁 Job failed
|
||||
2026-06-27T05:04:43.5086327Z Job 'browser-e2e' failed
|
||||
-1018
File diff suppressed because it is too large
Load Diff
-932
@@ -1,932 +0,0 @@
|
||||
2026-06-27T12:24:54.5348434Z hz-prod-runner(version:v0.6.1) received task 262 of job browser-e2e, be triggered by event: push
|
||||
2026-06-27T12:24:54.5361360Z workflow prepared
|
||||
2026-06-27T12:24:54.5364384Z evaluating expression 'success()'
|
||||
2026-06-27T12:24:54.5365287Z expression 'success()' evaluated to 'true'
|
||||
2026-06-27T12:24:54.5365673Z 🚀 Start image=docker.gitea.com/runner-images:ubuntu-latest
|
||||
2026-06-27T12:24:54.5466861Z 🐳 docker pull image=docker.gitea.com/runner-images:ubuntu-latest platform= username= forcePull=false
|
||||
2026-06-27T12:24:54.5467110Z 🐳 docker pull docker.gitea.com/runner-images:ubuntu-latest
|
||||
2026-06-27T12:24:54.5787535Z Image exists? true
|
||||
2026-06-27T12:24:54.6291416Z 🐳 docker create image=docker.gitea.com/runner-images:ubuntu-latest platform= entrypoint=["/bin/sleep" "10800"] cmd=[] network="gitea_default"
|
||||
2026-06-27T12:24:54.7978869Z Created container name=GITEA-ACTIONS-TASK-262-WORKFLOW-TaxBaik-Browser-E2E-JOB-browser-f5d6a3311b3836e51d8fb585a7d6b2a913d48f0455a2a7191285e8b859148f2b id=6a96f281e4aae9be735d17fb93794315e3bc2b5ea755f51629ceeff0d2fa4945 from image docker.gitea.com/runner-images:ubuntu-latest (platform: )
|
||||
2026-06-27T12:24:54.7979438Z ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_ARCH=X64 RUNNER_TEMP=/tmp LANG=C.UTF-8]
|
||||
2026-06-27T12:24:54.7979590Z 🐳 docker run image=docker.gitea.com/runner-images:ubuntu-latest platform= entrypoint=["/bin/sleep" "10800"] cmd=[] network="gitea_default"
|
||||
2026-06-27T12:24:54.7979739Z Starting container: 6a96f281e4aae9be735d17fb93794315e3bc2b5ea755f51629ceeff0d2fa4945
|
||||
2026-06-27T12:24:54.9636529Z Started container: 6a96f281e4aae9be735d17fb93794315e3bc2b5ea755f51629ceeff0d2fa4945
|
||||
2026-06-27T12:24:55.1013794Z Writing entry to tarball workflow/event.json len:4960
|
||||
2026-06-27T12:24:55.1014599Z Writing entry to tarball workflow/envs.txt len:0
|
||||
2026-06-27T12:24:55.1014906Z Extracting content to '/var/run/act/'
|
||||
2026-06-27T12:24:55.1349772Z ☁ git clone 'https://github.com/actions/checkout' # ref=v4
|
||||
2026-06-27T12:24:55.1350311Z cloning https://github.com/actions/checkout to /root/.cache/act/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab
|
||||
2026-06-27T12:24:55.6427083Z Unable to pull refs/heads/v4: non-fast-forward update
|
||||
2026-06-27T12:24:55.6427583Z Cloned https://github.com/actions/checkout to /root/.cache/act/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab
|
||||
2026-06-27T12:24:55.6508054Z Checked out v4
|
||||
2026-06-27T12:24:55.6607650Z ☁ git clone 'https://github.com/actions/setup-node' # ref=v4
|
||||
2026-06-27T12:24:55.6607955Z cloning https://github.com/actions/setup-node to /root/.cache/act/e5877e7fc2f7e5000a2f22526584a2565cc2ae38cd26a9b1938dbca653b056cc
|
||||
2026-06-27T12:24:56.2989902Z Unable to pull refs/heads/v4: worktree contains unstaged changes
|
||||
2026-06-27T12:24:56.2990509Z Cloned https://github.com/actions/setup-node to /root/.cache/act/e5877e7fc2f7e5000a2f22526584a2565cc2ae38cd26a9b1938dbca653b056cc
|
||||
2026-06-27T12:24:56.3201201Z Checked out v4
|
||||
2026-06-27T12:24:56.3298756Z ☁ git clone 'https://github.com/actions/cache' # ref=v4
|
||||
2026-06-27T12:24:56.3299299Z cloning https://github.com/actions/cache to /root/.cache/act/6b4e4eb40e21c1bd02cb00a273f4d79af7c42205c1390e4e65c594ecd7a3696e
|
||||
2026-06-27T12:24:57.0167124Z Unable to pull refs/heads/v4: worktree contains unstaged changes
|
||||
2026-06-27T12:24:57.0167917Z Cloned https://github.com/actions/cache to /root/.cache/act/6b4e4eb40e21c1bd02cb00a273f4d79af7c42205c1390e4e65c594ecd7a3696e
|
||||
2026-06-27T12:24:57.0373085Z Checked out v4
|
||||
2026-06-27T12:24:57.0765339Z evaluating expression ''
|
||||
2026-06-27T12:24:57.0765988Z expression '' evaluated to 'true'
|
||||
2026-06-27T12:24:57.0767113Z ⭐ Run Main Checkout code
|
||||
2026-06-27T12:24:57.0767300Z Writing entry to tarball workflow/outputcmd.txt len:0
|
||||
2026-06-27T12:24:57.0767450Z Writing entry to tarball workflow/statecmd.txt len:0
|
||||
2026-06-27T12:24:57.0767551Z Writing entry to tarball workflow/pathcmd.txt len:0
|
||||
2026-06-27T12:24:57.0767635Z Writing entry to tarball workflow/envs.txt len:0
|
||||
2026-06-27T12:24:57.0767716Z Writing entry to tarball workflow/SUMMARY.md len:0
|
||||
2026-06-27T12:24:57.0767816Z Extracting content to '/var/run/act'
|
||||
2026-06-27T12:24:57.0815444Z ::group::Run Checkout code
|
||||
2026-06-27T12:24:57.6383705Z ::add-matcher::/run/act/actions/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab/dist/problem-matcher.json
|
||||
2026-06-27T12:24:57.6390917Z Syncing repository: ***/taxbaik
|
||||
2026-06-27T12:24:57.6397276Z ::group::Getting Git version info
|
||||
2026-06-27T12:24:57.6400204Z Working directory is '/workspace/***/taxbaik'
|
||||
2026-06-27T12:24:57.6454189Z [command]/usr/bin/git version
|
||||
2026-06-27T12:24:57.6510122Z git version 2.54.0
|
||||
2026-06-27T12:24:57.6563708Z ::endgroup::
|
||||
2026-06-27T12:24:57.6588064Z Temporarily overriding HOME='/tmp/f6b17812-4704-4d0b-a03f-1993460e77fb' before making global git config changes
|
||||
2026-06-27T12:24:57.6590799Z Adding repository directory to the temporary git global config as a safe directory
|
||||
2026-06-27T12:24:57.6600727Z [command]/usr/bin/git config --global --add safe.directory /workspace/***/taxbaik
|
||||
2026-06-27T12:24:57.6670777Z Deleting the contents of '/workspace/***/taxbaik'
|
||||
2026-06-27T12:24:57.6683421Z ::group::Initializing the repository
|
||||
2026-06-27T12:24:57.6702745Z [command]/usr/bin/git init /workspace/***/taxbaik
|
||||
2026-06-27T12:24:57.6752430Z hint: Using 'master' as the name for the initial branch. This default branch name
|
||||
2026-06-27T12:24:57.6752949Z hint: will change to "main" in Git 3.0. To configure the initial branch name
|
||||
2026-06-27T12:24:57.6753077Z hint: to use in all of your new repositories, which will suppress this warning,
|
||||
2026-06-27T12:24:57.6753235Z hint: call:
|
||||
2026-06-27T12:24:57.6753317Z hint:
|
||||
2026-06-27T12:24:57.6753406Z hint: git config --global init.defaultBranch <name>
|
||||
2026-06-27T12:24:57.6753507Z hint:
|
||||
2026-06-27T12:24:57.6753576Z hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
|
||||
2026-06-27T12:24:57.6753661Z hint: 'development'. The just-created branch can be renamed via this command:
|
||||
2026-06-27T12:24:57.6753744Z hint:
|
||||
2026-06-27T12:24:57.6753844Z hint: git branch -m <name>
|
||||
2026-06-27T12:24:57.6753912Z hint:
|
||||
2026-06-27T12:24:57.6753989Z hint: Disable this message with "git config set advice.defaultBranchName false"
|
||||
2026-06-27T12:24:57.6754077Z Initialized empty Git repository in /workspace/***/taxbaik/.git/
|
||||
2026-06-27T12:24:57.6784028Z [command]/usr/bin/git remote add origin http://gitea:3000/***/taxbaik
|
||||
2026-06-27T12:24:57.6834723Z ::endgroup::
|
||||
2026-06-27T12:24:57.6834987Z ::group::Disabling automatic garbage collection
|
||||
2026-06-27T12:24:57.6849923Z [command]/usr/bin/git config --local gc.auto 0
|
||||
2026-06-27T12:24:57.6896730Z ::endgroup::
|
||||
2026-06-27T12:24:57.6896969Z ::group::Setting up auth
|
||||
2026-06-27T12:24:57.6903514Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
|
||||
2026-06-27T12:24:57.6950964Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
|
||||
2026-06-27T12:24:57.7288288Z [command]/usr/bin/git config --local --name-only --get-regexp http\.http\:\/\/gitea\:3000\/\.extraheader
|
||||
2026-06-27T12:24:57.7335736Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.http\:\/\/gitea\:3000\/\.extraheader' && git config --local --unset-all 'http.http://gitea:3000/.extraheader' || :"
|
||||
2026-06-27T12:24:57.7764744Z [command]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir:
|
||||
2026-06-27T12:24:57.7798993Z [command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
|
||||
2026-06-27T12:24:57.8039630Z [command]/usr/bin/git config --local http.http://gitea:3000/.extraheader AUTHORIZATION: basic ***
|
||||
2026-06-27T12:24:57.8087518Z ::endgroup::
|
||||
2026-06-27T12:24:57.8087711Z ::group::Fetching the repository
|
||||
2026-06-27T12:24:57.8087805Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +9f7e01652d8eaef9268ba463edc7ccb9f87288f3:refs/remotes/origin/master
|
||||
2026-06-27T12:24:57.9043136Z From http://gitea:3000/***/taxbaik
|
||||
2026-06-27T12:24:57.9043883Z * [new ref] 9f7e01652d8eaef9268ba463edc7ccb9f87288f3 -> origin/master
|
||||
2026-06-27T12:24:57.9093179Z ::endgroup::
|
||||
2026-06-27T12:24:57.9093547Z ::group::Determining the checkout info
|
||||
2026-06-27T12:24:57.9093806Z ::endgroup::
|
||||
2026-06-27T12:24:57.9104830Z [command]/usr/bin/git sparse-checkout disable
|
||||
2026-06-27T12:24:57.9152785Z [command]/usr/bin/git config --local --unset-all extensions.worktreeConfig
|
||||
2026-06-27T12:24:57.9188914Z ::group::Checking out the ref
|
||||
2026-06-27T12:24:57.9195755Z [command]/usr/bin/git checkout --progress --force -B master refs/remotes/origin/master
|
||||
2026-06-27T12:24:57.9306875Z Reset branch 'master'
|
||||
2026-06-27T12:24:57.9311676Z branch 'master' set up to track 'origin/master'.
|
||||
2026-06-27T12:24:57.9323309Z ::endgroup::
|
||||
2026-06-27T12:24:57.9373935Z [command]/usr/bin/git log -1 --format=%H
|
||||
2026-06-27T12:24:57.9399904Z 9f7e01652d8eaef9268ba463edc7ccb9f87288f3
|
||||
2026-06-27T12:24:57.9418995Z ::remove-matcher owner=checkout-git::
|
||||
2026-06-27T12:24:57.9510963Z ::endgroup::
|
||||
2026-06-27T12:24:58.0339931Z ::group::Run Setup Node.js
|
||||
2026-06-27T12:24:58.0340296Z with:
|
||||
2026-06-27T12:24:58.0340412Z cache: npm
|
||||
2026-06-27T12:24:58.0340507Z node-version: 22
|
||||
2026-06-27T12:24:58.9454536Z Found in cache @ /opt/hostedtoolcache/node/22.23.1/x64
|
||||
2026-06-27T12:24:58.9463974Z (node:142) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
|
||||
2026-06-27T12:24:58.9464215Z (Use `node --trace-deprecation ...` to show where the warning was created)
|
||||
2026-06-27T12:24:58.9484091Z ::group::Environment details
|
||||
2026-06-27T12:24:59.1040681Z node: v22.23.1
|
||||
2026-06-27T12:24:59.1041297Z npm: 10.9.8
|
||||
2026-06-27T12:24:59.1041497Z yarn:
|
||||
2026-06-27T12:24:59.1042193Z ::endgroup::
|
||||
2026-06-27T12:24:59.1073895Z [command]/opt/hostedtoolcache/node/22.23.1/x64/bin/npm config get cache
|
||||
2026-06-27T12:24:59.2253589Z /root/.npm
|
||||
2026-06-27T12:24:59.2847981Z Cache Size: ~3 MB (2871987 B)
|
||||
2026-06-27T12:24:59.2874913Z [command]/usr/bin/tar -xf /tmp/091e3aae-a4ba-413c-8154-9b1d3ed41ae0/cache.tzst -P -C /workspace/***/taxbaik --use-compress-program unzstd
|
||||
2026-06-27T12:24:59.3014463Z Cache restored successfully
|
||||
2026-06-27T12:24:59.3024342Z Cache restored from key: node-cache-linux-x64-npm-da5b0f170046fc2084d2c68f83e739454760e58eda8b88046a83cc8256c7af8f
|
||||
2026-06-27T12:24:59.3027864Z ##[add-matcher]/run/act/actions/e5877e7fc2f7e5000a2f22526584a2565cc2ae38cd26a9b1938dbca653b056cc/.github/tsc.json
|
||||
2026-06-27T12:24:59.3028794Z ##[add-matcher]/run/act/actions/e5877e7fc2f7e5000a2f22526584a2565cc2ae38cd26a9b1938dbca653b056cc/.github/eslint-stylish.json
|
||||
2026-06-27T12:24:59.3029483Z ##[add-matcher]/run/act/actions/e5877e7fc2f7e5000a2f22526584a2565cc2ae38cd26a9b1938dbca653b056cc/.github/eslint-compact.json
|
||||
2026-06-27T12:24:59.3156762Z ::endgroup::
|
||||
2026-06-27T12:24:59.5259797Z ::group::Run Cache Playwright browsers
|
||||
2026-06-27T12:24:59.5260261Z with:
|
||||
2026-06-27T12:24:59.5260382Z key: ${{ runner.os }}-playwright-${{ hashFiles('package-lock.json') }}
|
||||
2026-06-27T12:24:59.5260547Z path: ~/.cache/ms-playwright
|
||||
2026-06-27T12:24:59.5261048Z restore-keys: ${{ runner.os }}-playwright-
|
||||
2026-06-27T12:25:00.3828321Z (node:204) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
|
||||
2026-06-27T12:25:00.3829203Z (Use `node --trace-deprecation ...` to show where the warning was created)
|
||||
2026-06-27T12:25:01.3019019Z Cache Size: ~247 MB (259204371 B)
|
||||
2026-06-27T12:25:01.3155235Z [command]/usr/bin/tar -xf /tmp/5a591f39-ffb7-4ddb-8cb9-ba4eea78b8a0/cache.tzst -P -C /workspace/***/taxbaik --use-compress-program unzstd
|
||||
2026-06-27T12:25:02.9769632Z Cache restored successfully
|
||||
2026-06-27T12:25:03.0033921Z Cache restored from key: linux-playwright-da5b0f170046fc2084d2c68f83e739454760e58eda8b88046a83cc8256c7af8f
|
||||
2026-06-27T12:25:03.0216544Z ::endgroup::
|
||||
2026-06-27T12:25:03.1500849Z ::group::Run set -e
|
||||
2026-06-27T12:25:03.1501184Z set -e
|
||||
2026-06-27T12:25:03.1501303Z npm ci
|
||||
2026-06-27T12:25:03.1501394Z npx playwright install chromium --with-deps
|
||||
2026-06-27T12:25:03.1501542Z shell: bash --noprofile --norc -e -o pipefail {0}
|
||||
2026-06-27T12:25:03.1501642Z ::endgroup::
|
||||
2026-06-27T12:25:04.4857006Z
|
||||
2026-06-27T12:25:04.4857770Z added 3 packages, and audited 4 packages in 1s
|
||||
2026-06-27T12:25:04.4859161Z
|
||||
2026-06-27T12:25:04.4859432Z found 0 vulnerabilities
|
||||
2026-06-27T12:25:06.1025784Z Installing dependencies...
|
||||
2026-06-27T12:25:06.5962559Z Get:1 http://archive.ubuntu.com/ubuntu noble InRelease [256 kB]
|
||||
2026-06-27T12:25:06.5963153Z Get:2 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
|
||||
2026-06-27T12:25:06.7329817Z Get:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
|
||||
2026-06-27T12:25:06.7551167Z Get:4 https://packages.microsoft.com/ubuntu/24.04/prod noble InRelease [3600 B]
|
||||
2026-06-27T12:25:06.7898601Z Get:5 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
|
||||
2026-06-27T12:25:06.7915103Z Get:6 https://ppa.launchpadcontent.net/git-core/ppa/ubuntu noble InRelease [24.3 kB]
|
||||
2026-06-27T12:25:06.8012924Z Get:7 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Packages [43.8 kB]
|
||||
2026-06-27T12:25:06.8522335Z Get:8 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1487 kB]
|
||||
2026-06-27T12:25:06.9084619Z Get:9 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [1339 kB]
|
||||
2026-06-27T12:25:06.9421547Z Get:10 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [976 kB]
|
||||
2026-06-27T12:25:07.0208068Z Get:11 http://archive.ubuntu.com/ubuntu noble/universe amd64 Packages [19.3 MB]
|
||||
2026-06-27T12:25:07.4083227Z Get:12 https://packagecloud.io/github/git-lfs/ubuntu noble InRelease [29.2 kB]
|
||||
2026-06-27T12:25:07.5452616Z Get:13 http://archive.ubuntu.com/ubuntu noble/multiverse amd64 Packages [331 kB]
|
||||
2026-06-27T12:25:07.5516482Z Get:14 http://archive.ubuntu.com/ubuntu noble/restricted amd64 Packages [117 kB]
|
||||
2026-06-27T12:25:07.5568467Z Get:15 http://archive.ubuntu.com/ubuntu noble/main amd64 Packages [1808 kB]
|
||||
2026-06-27T12:25:07.5770548Z Get:16 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [1412 kB]
|
||||
2026-06-27T12:25:07.5971965Z Get:17 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [1296 kB]
|
||||
2026-06-27T12:25:07.6081367Z Get:18 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Packages [49.5 kB]
|
||||
2026-06-27T12:25:07.6108400Z Get:19 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [2108 kB]
|
||||
2026-06-27T12:25:07.7011339Z Get:20 https://packages.microsoft.com/ubuntu/24.04/prod noble/main all Packages [643 B]
|
||||
2026-06-27T12:25:07.7073375Z Get:21 https://packages.microsoft.com/ubuntu/24.04/prod noble/main amd64 Packages [187 kB]
|
||||
2026-06-27T12:25:07.8212545Z Get:22 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Packages [35.9 kB]
|
||||
2026-06-27T12:25:07.8429172Z Get:23 http://archive.ubuntu.com/ubuntu noble-backports/main amd64 Packages [48.9 kB]
|
||||
2026-06-27T12:25:07.8474967Z Get:24 http://archive.ubuntu.com/ubuntu noble-backports/multiverse amd64 Packages [671 B]
|
||||
2026-06-27T12:25:08.0103366Z Get:25 https://ppa.launchpadcontent.net/git-core/ppa/ubuntu noble/main amd64 Packages [2988 B]
|
||||
2026-06-27T12:25:08.8441365Z Get:26 https://packagecloud.io/github/git-lfs/ubuntu noble/main amd64 Packages [1273 B]
|
||||
2026-06-27T12:25:09.1241906Z Fetched 31.3 MB in 3s (10.7 MB/s)
|
||||
2026-06-27T12:25:10.5360575Z Reading package lists...
|
||||
2026-06-27T12:25:12.2698618Z Reading package lists...
|
||||
2026-06-27T12:25:12.6910492Z Building dependency tree...
|
||||
2026-06-27T12:25:12.6917607Z Reading state information...
|
||||
2026-06-27T12:25:13.1858629Z libcairo2 is already the newest version (1.18.0-3build1).
|
||||
2026-06-27T12:25:13.1859112Z libcairo2 set to manually installed.
|
||||
2026-06-27T12:25:13.1859229Z libdbus-1-3 is already the newest version (1.14.10-4ubuntu4.1).
|
||||
2026-06-27T12:25:13.1859435Z libdbus-1-3 set to manually installed.
|
||||
2026-06-27T12:25:13.1859522Z libglib2.0-0t64 is already the newest version (2.80.0-6ubuntu3.8).
|
||||
2026-06-27T12:25:13.1859639Z libglib2.0-0t64 set to manually installed.
|
||||
2026-06-27T12:25:13.1859791Z libpango-1.0-0 is already the newest version (1.52.1+ds-1build1).
|
||||
2026-06-27T12:25:13.1859900Z libpango-1.0-0 set to manually installed.
|
||||
2026-06-27T12:25:13.1859977Z libx11-6 is already the newest version (2:1.8.7-1build1).
|
||||
2026-06-27T12:25:13.1860055Z libx11-6 set to manually installed.
|
||||
2026-06-27T12:25:13.1860147Z libxcb1 is already the newest version (1.15-1ubuntu2).
|
||||
2026-06-27T12:25:13.1860224Z libxcb1 set to manually installed.
|
||||
2026-06-27T12:25:13.1860299Z libxext6 is already the newest version (2:1.3.4-1build2).
|
||||
2026-06-27T12:25:13.1860399Z libxext6 set to manually installed.
|
||||
2026-06-27T12:25:13.1860475Z libfontconfig1 is already the newest version (2.15.0-1.1ubuntu2).
|
||||
2026-06-27T12:25:13.1860556Z libfontconfig1 set to manually installed.
|
||||
2026-06-27T12:25:13.1860640Z libfreetype6 is already the newest version (2.13.2+dfsg-1ubuntu0.1).
|
||||
2026-06-27T12:25:13.1860746Z libfreetype6 set to manually installed.
|
||||
2026-06-27T12:25:13.1860824Z The following additional packages will be installed:
|
||||
2026-06-27T12:25:13.1860920Z at-spi2-common libasound2-data libavahi-client3 libavahi-common-data
|
||||
2026-06-27T12:25:13.1861019Z libavahi-common3 libdrm-amdgpu1 libdrm-common libdrm-intel1 libfontenc1
|
||||
2026-06-27T12:25:13.1861099Z libgl1 libgl1-mesa-dri libglvnd0 libglx-mesa0 libglx0 libllvm20
|
||||
2026-06-27T12:25:13.1862774Z libpciaccess0 libsensors-config libsensors5 libvulkan1 libx11-xcb1 libxaw7
|
||||
2026-06-27T12:25:13.1863103Z libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-sync1
|
||||
2026-06-27T12:25:13.1863512Z libxcb-xfixes0 libxfont2 libxi6 libxkbfile1 libxmu6 libxmuu1 libxpm4
|
||||
2026-06-27T12:25:13.1864703Z libxshmfence1 libxxf86vm1 mesa-libgallium x11-xkb-utils xauth
|
||||
2026-06-27T12:25:13.1864901Z xfonts-encodings xfonts-utils xkb-data xserver-common
|
||||
2026-06-27T12:25:13.1887405Z Suggested packages:
|
||||
2026-06-27T12:25:13.1887786Z alsa-utils libasound2-plugins cups-common pciutils lm-sensors
|
||||
2026-06-27T12:25:13.1887898Z Recommended packages:
|
||||
2026-06-27T12:25:13.1887986Z fonts-ipafont-mincho fonts-liberation-sans-narrow fonts-tlwg-loma
|
||||
2026-06-27T12:25:13.1888398Z alsa-ucm-conf alsa-topology-conf at-spi2-core mesa-vulkan-drivers
|
||||
2026-06-27T12:25:13.1888525Z | vulkan-icd xfonts-base
|
||||
2026-06-27T12:25:13.4376794Z The following NEW packages will be installed:
|
||||
2026-06-27T12:25:13.4380936Z at-spi2-common fonts-freefont-ttf fonts-ipafont-gothic fonts-liberation
|
||||
2026-06-27T12:25:13.4387092Z fonts-noto-color-emoji fonts-tlwg-loma-otf fonts-unifont fonts-wqy-zenhei
|
||||
2026-06-27T12:25:13.4388949Z libasound2-data libasound2t64 libatk-bridge2.0-0t64 libatk1.0-0t64
|
||||
2026-06-27T12:25:13.4391554Z libatspi2.0-0t64 libavahi-client3 libavahi-common-data libavahi-common3
|
||||
2026-06-27T12:25:13.4394306Z libcups2t64 libdrm-amdgpu1 libdrm-common libdrm-intel1 libdrm2 libfontenc1
|
||||
2026-06-27T12:25:13.4399560Z libgbm1 libgl1 libgl1-mesa-dri libglvnd0 libglx-mesa0 libglx0 libllvm20
|
||||
2026-06-27T12:25:13.4408211Z libnspr4 libnss3 libpciaccess0 libsensors-config libsensors5 libvulkan1
|
||||
2026-06-27T12:25:13.4409722Z libx11-xcb1 libxaw7 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0
|
||||
2026-06-27T12:25:13.4411093Z libxcb-sync1 libxcb-xfixes0 libxcomposite1 libxdamage1 libxfixes3 libxfont2
|
||||
2026-06-27T12:25:13.4412653Z libxi6 libxkbcommon0 libxkbfile1 libxmu6 libxmuu1 libxpm4 libxrandr2
|
||||
2026-06-27T12:25:13.4422977Z libxshmfence1 libxxf86vm1 mesa-libgallium x11-xkb-utils xauth
|
||||
2026-06-27T12:25:13.4424559Z xfonts-cyrillic xfonts-encodings xfonts-scalable xfonts-utils xkb-data
|
||||
2026-06-27T12:25:13.4425990Z xserver-common xvfb
|
||||
2026-06-27T12:25:13.5058139Z 0 upgraded, 66 newly installed, 0 to remove and 52 not upgraded.
|
||||
2026-06-27T12:25:13.5058970Z Need to get 79.3 MB of archives.
|
||||
2026-06-27T12:25:13.5059254Z After this operation, 303 MB of additional disk space will be used.
|
||||
2026-06-27T12:25:13.5059497Z Get:1 http://archive.ubuntu.com/ubuntu noble/universe amd64 fonts-ipafont-gothic all 00303-21ubuntu1 [3513 kB]
|
||||
2026-06-27T12:25:13.6237335Z Get:2 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 xkb-data all 2.41-2ubuntu1.1 [397 kB]
|
||||
2026-06-27T12:25:13.6297773Z Get:3 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libdrm-common all 2.4.125-1ubuntu0.1~24.04.2 [9250 B]
|
||||
2026-06-27T12:25:13.6370981Z Get:4 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libdrm2 amd64 2.4.125-1ubuntu0.1~24.04.2 [41.4 kB]
|
||||
2026-06-27T12:25:13.6439924Z Get:5 http://archive.ubuntu.com/ubuntu noble/main amd64 libsensors-config all 1:3.6.0-9build1 [5546 B]
|
||||
2026-06-27T12:25:13.6512980Z Get:6 http://archive.ubuntu.com/ubuntu noble/main amd64 libsensors5 amd64 1:3.6.0-9build1 [26.6 kB]
|
||||
2026-06-27T12:25:13.6569963Z Get:7 http://archive.ubuntu.com/ubuntu noble/main amd64 libxkbcommon0 amd64 1.6.0-1build1 [122 kB]
|
||||
2026-06-27T12:25:13.6642523Z Get:8 http://archive.ubuntu.com/ubuntu noble/main amd64 libxmuu1 amd64 2:1.1.3-3build2 [8958 B]
|
||||
2026-06-27T12:25:13.6717647Z Get:9 http://archive.ubuntu.com/ubuntu noble/main amd64 xauth amd64 1:1.1.2-1build1 [25.6 kB]
|
||||
2026-06-27T12:25:13.6785307Z Get:10 http://archive.ubuntu.com/ubuntu noble/main amd64 at-spi2-common all 2.52.0-1build1 [8674 B]
|
||||
2026-06-27T12:25:13.6862705Z Get:11 http://archive.ubuntu.com/ubuntu noble/main amd64 fonts-freefont-ttf all 20211204+svn4273-2 [5641 kB]
|
||||
2026-06-27T12:25:13.7656370Z Get:12 http://archive.ubuntu.com/ubuntu noble/main amd64 fonts-liberation all 1:2.1.5-3 [1603 kB]
|
||||
2026-06-27T12:25:13.7754341Z Get:13 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 fonts-noto-color-emoji all 2.047-0ubuntu0.24.04.1 [9764 kB]
|
||||
2026-06-27T12:25:13.8489857Z Get:14 http://archive.ubuntu.com/ubuntu noble/universe amd64 fonts-tlwg-loma-otf all 1:0.7.3-1 [107 kB]
|
||||
2026-06-27T12:25:13.8520329Z Get:15 http://archive.ubuntu.com/ubuntu noble/universe amd64 fonts-unifont all 1:15.1.01-1build1 [2993 kB]
|
||||
2026-06-27T12:25:13.8791683Z Get:16 http://archive.ubuntu.com/ubuntu noble/universe amd64 fonts-wqy-zenhei all 0.9.45-8 [7472 kB]
|
||||
2026-06-27T12:25:13.9445545Z Get:17 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libasound2-data all 1.2.11-1ubuntu0.2 [21.3 kB]
|
||||
2026-06-27T12:25:13.9455241Z Get:18 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libasound2t64 amd64 1.2.11-1ubuntu0.2 [398 kB]
|
||||
2026-06-27T12:25:13.9507365Z Get:19 http://archive.ubuntu.com/ubuntu noble/main amd64 libatk1.0-0t64 amd64 2.52.0-1build1 [55.3 kB]
|
||||
2026-06-27T12:25:13.9526368Z Get:20 http://archive.ubuntu.com/ubuntu noble/main amd64 libxi6 amd64 2:1.8.1-1build1 [32.4 kB]
|
||||
2026-06-27T12:25:13.9534046Z Get:21 http://archive.ubuntu.com/ubuntu noble/main amd64 libatspi2.0-0t64 amd64 2.52.0-1build1 [80.5 kB]
|
||||
2026-06-27T12:25:13.9555904Z Get:22 http://archive.ubuntu.com/ubuntu noble/main amd64 libatk-bridge2.0-0t64 amd64 2.52.0-1build1 [66.0 kB]
|
||||
2026-06-27T12:25:13.9570240Z Get:23 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libavahi-common-data amd64 0.8-13ubuntu6.2 [30.1 kB]
|
||||
2026-06-27T12:25:13.9582290Z Get:24 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libavahi-common3 amd64 0.8-13ubuntu6.2 [23.4 kB]
|
||||
2026-06-27T12:25:13.9596720Z Get:25 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libavahi-client3 amd64 0.8-13ubuntu6.2 [26.8 kB]
|
||||
2026-06-27T12:25:13.9658430Z Get:26 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libcups2t64 amd64 2.4.7-1.2ubuntu7.14 [274 kB]
|
||||
2026-06-27T12:25:13.9786888Z Get:27 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libdrm-amdgpu1 amd64 2.4.125-1ubuntu0.1~24.04.2 [21.4 kB]
|
||||
2026-06-27T12:25:13.9845650Z Get:28 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libpciaccess0 amd64 0.17-3ubuntu0.24.04.2 [18.9 kB]
|
||||
2026-06-27T12:25:13.9889391Z Get:29 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libdrm-intel1 amd64 2.4.125-1ubuntu0.1~24.04.2 [63.9 kB]
|
||||
2026-06-27T12:25:13.9956446Z Get:30 http://archive.ubuntu.com/ubuntu noble/main amd64 libfontenc1 amd64 1:1.1.8-1build1 [14.0 kB]
|
||||
2026-06-27T12:25:14.0020494Z Get:31 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libllvm20 amd64 1:20.1.2-0ubuntu1~24.04.3 [30.6 MB]
|
||||
2026-06-27T12:25:14.3512110Z Get:32 http://archive.ubuntu.com/ubuntu noble/main amd64 libx11-xcb1 amd64 2:1.8.7-1build1 [7800 B]
|
||||
2026-06-27T12:25:14.3524568Z Get:33 http://archive.ubuntu.com/ubuntu noble/main amd64 libxcb-dri3-0 amd64 1.15-1ubuntu2 [7142 B]
|
||||
2026-06-27T12:25:14.3536276Z Get:34 http://archive.ubuntu.com/ubuntu noble/main amd64 libxcb-present0 amd64 1.15-1ubuntu2 [5676 B]
|
||||
2026-06-27T12:25:14.3540824Z Get:35 http://archive.ubuntu.com/ubuntu noble/main amd64 libxcb-randr0 amd64 1.15-1ubuntu2 [17.9 kB]
|
||||
2026-06-27T12:25:14.3630953Z Get:36 http://archive.ubuntu.com/ubuntu noble/main amd64 libxcb-sync1 amd64 1.15-1ubuntu2 [9312 B]
|
||||
2026-06-27T12:25:14.3643692Z Get:37 http://archive.ubuntu.com/ubuntu noble/main amd64 libxcb-xfixes0 amd64 1.15-1ubuntu2 [10.2 kB]
|
||||
2026-06-27T12:25:14.3644726Z Get:38 http://archive.ubuntu.com/ubuntu noble/main amd64 libxshmfence1 amd64 1.3-1build5 [4764 B]
|
||||
2026-06-27T12:25:14.3649363Z Get:39 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 mesa-libgallium amd64 25.2.8-0ubuntu0.24.04.2 [10.8 MB]
|
||||
2026-06-27T12:25:14.4958716Z Get:40 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libgbm1 amd64 25.2.8-0ubuntu0.24.04.2 [34.2 kB]
|
||||
2026-06-27T12:25:14.4964971Z Get:41 http://archive.ubuntu.com/ubuntu noble/main amd64 libvulkan1 amd64 1.3.275.0-1build1 [142 kB]
|
||||
2026-06-27T12:25:14.4985248Z Get:42 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libgl1-mesa-dri amd64 25.2.8-0ubuntu0.24.04.2 [37.9 kB]
|
||||
2026-06-27T12:25:14.5001361Z Get:43 http://archive.ubuntu.com/ubuntu noble/main amd64 libxcb-glx0 amd64 1.15-1ubuntu2 [24.8 kB]
|
||||
2026-06-27T12:25:14.5002004Z Get:44 http://archive.ubuntu.com/ubuntu noble/main amd64 libxxf86vm1 amd64 1:1.1.4-1build4 [9282 B]
|
||||
2026-06-27T12:25:14.5002482Z Get:45 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libglx-mesa0 amd64 25.2.8-0ubuntu0.24.04.2 [110 kB]
|
||||
2026-06-27T12:25:14.5023508Z Get:46 http://archive.ubuntu.com/ubuntu noble/main amd64 libnspr4 amd64 2:4.35-1.1build1 [117 kB]
|
||||
2026-06-27T12:25:14.5056546Z Get:47 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libnss3 amd64 2:3.98-1ubuntu0.1 [1445 kB]
|
||||
2026-06-27T12:25:14.5135739Z Get:48 http://archive.ubuntu.com/ubuntu noble/main amd64 libxmu6 amd64 2:1.1.3-3build2 [47.6 kB]
|
||||
2026-06-27T12:25:14.5160172Z Get:49 http://archive.ubuntu.com/ubuntu noble/main amd64 libxpm4 amd64 1:3.5.17-1build2 [36.5 kB]
|
||||
2026-06-27T12:25:14.5362960Z Get:50 http://archive.ubuntu.com/ubuntu noble/main amd64 libxaw7 amd64 2:1.0.14-1build2 [187 kB]
|
||||
2026-06-27T12:25:14.5458048Z Get:51 http://archive.ubuntu.com/ubuntu noble/main amd64 libxcomposite1 amd64 1:0.4.5-1build3 [6320 B]
|
||||
2026-06-27T12:25:14.5533493Z Get:52 http://archive.ubuntu.com/ubuntu noble/main amd64 libxdamage1 amd64 1:1.1.6-1build1 [6150 B]
|
||||
2026-06-27T12:25:14.5625598Z Get:53 http://archive.ubuntu.com/ubuntu noble/main amd64 libxfixes3 amd64 1:6.0.0-2build1 [10.8 kB]
|
||||
2026-06-27T12:25:14.5697072Z Get:54 http://archive.ubuntu.com/ubuntu noble/main amd64 libxfont2 amd64 1:2.0.6-1build1 [93.0 kB]
|
||||
2026-06-27T12:25:14.5719456Z Get:55 http://archive.ubuntu.com/ubuntu noble/main amd64 libxkbfile1 amd64 1:1.1.0-1build4 [70.0 kB]
|
||||
2026-06-27T12:25:14.5786293Z Get:56 http://archive.ubuntu.com/ubuntu noble/main amd64 libxrandr2 amd64 2:1.5.2-2build1 [19.7 kB]
|
||||
2026-06-27T12:25:14.5847022Z Get:57 http://archive.ubuntu.com/ubuntu noble/main amd64 x11-xkb-utils amd64 7.7+8build2 [170 kB]
|
||||
2026-06-27T12:25:14.5928264Z Get:58 http://archive.ubuntu.com/ubuntu noble/main amd64 xfonts-encodings all 1:1.0.5-0ubuntu2 [578 kB]
|
||||
2026-06-27T12:25:14.5996539Z Get:59 http://archive.ubuntu.com/ubuntu noble/main amd64 xfonts-utils amd64 1:7.7+6build3 [94.4 kB]
|
||||
2026-06-27T12:25:14.6067697Z Get:60 http://archive.ubuntu.com/ubuntu noble/universe amd64 xfonts-cyrillic all 1:1.0.5+nmu1 [384 kB]
|
||||
2026-06-27T12:25:14.6128176Z Get:61 http://archive.ubuntu.com/ubuntu noble/main amd64 xfonts-scalable all 1:1.0.3-1.3 [304 kB]
|
||||
2026-06-27T12:25:14.6186928Z Get:62 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 xserver-common all 2:21.1.12-1ubuntu1.6 [34.7 kB]
|
||||
2026-06-27T12:25:14.6245655Z Get:63 http://archive.ubuntu.com/ubuntu noble/main amd64 libglvnd0 amd64 1.7.0-1build1 [69.6 kB]
|
||||
2026-06-27T12:25:14.6314597Z Get:64 http://archive.ubuntu.com/ubuntu noble/main amd64 libglx0 amd64 1.7.0-1build1 [38.6 kB]
|
||||
2026-06-27T12:25:14.6385550Z Get:65 http://archive.ubuntu.com/ubuntu noble/main amd64 libgl1 amd64 1.7.0-1build1 [102 kB]
|
||||
2026-06-27T12:25:14.6438583Z Get:66 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 xvfb amd64 2:21.1.12-1ubuntu1.6 [877 kB]
|
||||
2026-06-27T12:25:15.1420657Z debconf: delaying package configuration, since apt-utils is not installed
|
||||
2026-06-27T12:25:15.2108116Z Fetched 79.3 MB in 1s (66.5 MB/s)
|
||||
2026-06-27T12:25:15.2544541Z Selecting previously unselected package fonts-ipafont-gothic.
|
||||
2026-06-27T12:25:15.4019282Z (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 26518 files and directories currently installed.)
|
||||
2026-06-27T12:25:15.4039305Z Preparing to unpack .../00-fonts-ipafont-gothic_00303-21ubuntu1_all.deb ...
|
||||
2026-06-27T12:25:15.4170596Z Unpacking fonts-ipafont-gothic (00303-21ubuntu1) ...
|
||||
2026-06-27T12:25:15.7638590Z Selecting previously unselected package xkb-data.
|
||||
2026-06-27T12:25:15.7665619Z Preparing to unpack .../01-xkb-data_2.41-2ubuntu1.1_all.deb ...
|
||||
2026-06-27T12:25:15.7731200Z Unpacking xkb-data (2.41-2ubuntu1.1) ...
|
||||
2026-06-27T12:25:15.8783558Z Selecting previously unselected package libdrm-common.
|
||||
2026-06-27T12:25:15.8872851Z Preparing to unpack .../02-libdrm-common_2.4.125-1ubuntu0.1~24.04.2_all.deb ...
|
||||
2026-06-27T12:25:15.8934497Z Unpacking libdrm-common (2.4.125-1ubuntu0.1~24.04.2) ...
|
||||
2026-06-27T12:25:15.9257959Z Selecting previously unselected package libdrm2:amd64.
|
||||
2026-06-27T12:25:15.9258566Z Preparing to unpack .../03-libdrm2_2.4.125-1ubuntu0.1~24.04.2_amd64.deb ...
|
||||
2026-06-27T12:25:15.9318366Z Unpacking libdrm2:amd64 (2.4.125-1ubuntu0.1~24.04.2) ...
|
||||
2026-06-27T12:25:15.9578149Z Selecting previously unselected package libsensors-config.
|
||||
2026-06-27T12:25:15.9619599Z Preparing to unpack .../04-libsensors-config_1%3a3.6.0-9build1_all.deb ...
|
||||
2026-06-27T12:25:15.9655415Z Unpacking libsensors-config (1:3.6.0-9build1) ...
|
||||
2026-06-27T12:25:15.9977899Z Selecting previously unselected package libsensors5:amd64.
|
||||
2026-06-27T12:25:16.0018522Z Preparing to unpack .../05-libsensors5_1%3a3.6.0-9build1_amd64.deb ...
|
||||
2026-06-27T12:25:16.0532739Z Unpacking libsensors5:amd64 (1:3.6.0-9build1) ...
|
||||
2026-06-27T12:25:16.0808844Z Selecting previously unselected package libxkbcommon0:amd64.
|
||||
2026-06-27T12:25:16.0845443Z Preparing to unpack .../06-libxkbcommon0_1.6.0-1build1_amd64.deb ...
|
||||
2026-06-27T12:25:16.0892770Z Unpacking libxkbcommon0:amd64 (1.6.0-1build1) ...
|
||||
2026-06-27T12:25:16.1295934Z Selecting previously unselected package libxmuu1:amd64.
|
||||
2026-06-27T12:25:16.1297484Z Preparing to unpack .../07-libxmuu1_2%3a1.1.3-3build2_amd64.deb ...
|
||||
2026-06-27T12:25:16.1319959Z Unpacking libxmuu1:amd64 (2:1.1.3-3build2) ...
|
||||
2026-06-27T12:25:16.1798353Z Selecting previously unselected package xauth.
|
||||
2026-06-27T12:25:16.1844381Z Preparing to unpack .../08-xauth_1%3a1.1.2-1build1_amd64.deb ...
|
||||
2026-06-27T12:25:16.1873744Z Unpacking xauth (1:1.1.2-1build1) ...
|
||||
2026-06-27T12:25:16.2337376Z Selecting previously unselected package at-spi2-common.
|
||||
2026-06-27T12:25:16.2374210Z Preparing to unpack .../09-at-spi2-common_2.52.0-1build1_all.deb ...
|
||||
2026-06-27T12:25:16.2403654Z Unpacking at-spi2-common (2.52.0-1build1) ...
|
||||
2026-06-27T12:25:16.2640031Z Selecting previously unselected package fonts-freefont-ttf.
|
||||
2026-06-27T12:25:16.2688194Z Preparing to unpack .../10-fonts-freefont-ttf_20211204+svn4273-2_all.deb ...
|
||||
2026-06-27T12:25:16.2715634Z Unpacking fonts-freefont-ttf (20211204+svn4273-2) ...
|
||||
2026-06-27T12:25:16.4624949Z Selecting previously unselected package fonts-liberation.
|
||||
2026-06-27T12:25:16.4664412Z Preparing to unpack .../11-fonts-liberation_1%3a2.1.5-3_all.deb ...
|
||||
2026-06-27T12:25:16.4698233Z Unpacking fonts-liberation (1:2.1.5-3) ...
|
||||
2026-06-27T12:25:16.5758532Z Selecting previously unselected package fonts-noto-color-emoji.
|
||||
2026-06-27T12:25:16.5784846Z Preparing to unpack .../12-fonts-noto-color-emoji_2.047-0ubuntu0.24.04.1_all.deb ...
|
||||
2026-06-27T12:25:16.5818431Z Unpacking fonts-noto-color-emoji (2.047-0ubuntu0.24.04.1) ...
|
||||
2026-06-27T12:25:16.6688110Z Selecting previously unselected package fonts-tlwg-loma-otf.
|
||||
2026-06-27T12:25:16.6697851Z Preparing to unpack .../13-fonts-tlwg-loma-otf_1%3a0.7.3-1_all.deb ...
|
||||
2026-06-27T12:25:16.6728075Z Unpacking fonts-tlwg-loma-otf (1:0.7.3-1) ...
|
||||
2026-06-27T12:25:16.7058383Z Selecting previously unselected package fonts-unifont.
|
||||
2026-06-27T12:25:16.7076283Z Preparing to unpack .../14-fonts-unifont_1%3a15.1.01-1build1_all.deb ...
|
||||
2026-06-27T12:25:16.7119785Z Unpacking fonts-unifont (1:15.1.01-1build1) ...
|
||||
2026-06-27T12:25:16.8738298Z Selecting previously unselected package fonts-wqy-zenhei.
|
||||
2026-06-27T12:25:16.8754729Z Preparing to unpack .../15-fonts-wqy-zenhei_0.9.45-8_all.deb ...
|
||||
2026-06-27T12:25:16.8864258Z Unpacking fonts-wqy-zenhei (0.9.45-8) ...
|
||||
2026-06-27T12:25:17.7398488Z Selecting previously unselected package libasound2-data.
|
||||
2026-06-27T12:25:17.7413325Z Preparing to unpack .../16-libasound2-data_1.2.11-1ubuntu0.2_all.deb ...
|
||||
2026-06-27T12:25:17.7462092Z Unpacking libasound2-data (1.2.11-1ubuntu0.2) ...
|
||||
2026-06-27T12:25:17.8189676Z Selecting previously unselected package libasound2t64:amd64.
|
||||
2026-06-27T12:25:17.8228827Z Preparing to unpack .../17-libasound2t64_1.2.11-1ubuntu0.2_amd64.deb ...
|
||||
2026-06-27T12:25:17.8271296Z Unpacking libasound2t64:amd64 (1.2.11-1ubuntu0.2) ...
|
||||
2026-06-27T12:25:17.8868281Z Selecting previously unselected package libatk1.0-0t64:amd64.
|
||||
2026-06-27T12:25:17.8893786Z Preparing to unpack .../18-libatk1.0-0t64_2.52.0-1build1_amd64.deb ...
|
||||
2026-06-27T12:25:17.8967249Z Unpacking libatk1.0-0t64:amd64 (2.52.0-1build1) ...
|
||||
2026-06-27T12:25:17.9469807Z Selecting previously unselected package libxi6:amd64.
|
||||
2026-06-27T12:25:18.0106781Z Preparing to unpack .../19-libxi6_2%3a1.8.1-1build1_amd64.deb ...
|
||||
2026-06-27T12:25:18.0150638Z Unpacking libxi6:amd64 (2:1.8.1-1build1) ...
|
||||
2026-06-27T12:25:18.0601129Z Selecting previously unselected package libatspi2.0-0t64:amd64.
|
||||
2026-06-27T12:25:18.0603195Z Preparing to unpack .../20-libatspi2.0-0t64_2.52.0-1build1_amd64.deb ...
|
||||
2026-06-27T12:25:18.0640403Z Unpacking libatspi2.0-0t64:amd64 (2.52.0-1build1) ...
|
||||
2026-06-27T12:25:18.1577757Z Selecting previously unselected package libatk-bridge2.0-0t64:amd64.
|
||||
2026-06-27T12:25:18.1595179Z Preparing to unpack .../21-libatk-bridge2.0-0t64_2.52.0-1build1_amd64.deb ...
|
||||
2026-06-27T12:25:18.1634496Z Unpacking libatk-bridge2.0-0t64:amd64 (2.52.0-1build1) ...
|
||||
2026-06-27T12:25:18.1971550Z Selecting previously unselected package libavahi-common-data:amd64.
|
||||
2026-06-27T12:25:18.2035440Z Preparing to unpack .../22-libavahi-common-data_0.8-13ubuntu6.2_amd64.deb ...
|
||||
2026-06-27T12:25:18.2091156Z Unpacking libavahi-common-data:amd64 (0.8-13ubuntu6.2) ...
|
||||
2026-06-27T12:25:18.2980438Z Selecting previously unselected package libavahi-common3:amd64.
|
||||
2026-06-27T12:25:18.3021286Z Preparing to unpack .../23-libavahi-common3_0.8-13ubuntu6.2_amd64.deb ...
|
||||
2026-06-27T12:25:18.3059229Z Unpacking libavahi-common3:amd64 (0.8-13ubuntu6.2) ...
|
||||
2026-06-27T12:25:18.3489053Z Selecting previously unselected package libavahi-client3:amd64.
|
||||
2026-06-27T12:25:18.3515870Z Preparing to unpack .../24-libavahi-client3_0.8-13ubuntu6.2_amd64.deb ...
|
||||
2026-06-27T12:25:18.3548912Z Unpacking libavahi-client3:amd64 (0.8-13ubuntu6.2) ...
|
||||
2026-06-27T12:25:18.3938504Z Selecting previously unselected package libcups2t64:amd64.
|
||||
2026-06-27T12:25:18.3954248Z Preparing to unpack .../25-libcups2t64_2.4.7-1.2ubuntu7.14_amd64.deb ...
|
||||
2026-06-27T12:25:18.4013283Z Unpacking libcups2t64:amd64 (2.4.7-1.2ubuntu7.14) ...
|
||||
2026-06-27T12:25:18.4438106Z Selecting previously unselected package libdrm-amdgpu1:amd64.
|
||||
2026-06-27T12:25:18.4452600Z Preparing to unpack .../26-libdrm-amdgpu1_2.4.125-1ubuntu0.1~24.04.2_amd64.deb ...
|
||||
2026-06-27T12:25:18.4488012Z Unpacking libdrm-amdgpu1:amd64 (2.4.125-1ubuntu0.1~24.04.2) ...
|
||||
2026-06-27T12:25:18.4852562Z Selecting previously unselected package libpciaccess0:amd64.
|
||||
2026-06-27T12:25:18.4871489Z Preparing to unpack .../27-libpciaccess0_0.17-3ubuntu0.24.04.2_amd64.deb ...
|
||||
2026-06-27T12:25:18.4905191Z Unpacking libpciaccess0:amd64 (0.17-3ubuntu0.24.04.2) ...
|
||||
2026-06-27T12:25:18.5257535Z Selecting previously unselected package libdrm-intel1:amd64.
|
||||
2026-06-27T12:25:18.5331423Z Preparing to unpack .../28-libdrm-intel1_2.4.125-1ubuntu0.1~24.04.2_amd64.deb ...
|
||||
2026-06-27T12:25:18.5387663Z Unpacking libdrm-intel1:amd64 (2.4.125-1ubuntu0.1~24.04.2) ...
|
||||
2026-06-27T12:25:18.5829710Z Selecting previously unselected package libfontenc1:amd64.
|
||||
2026-06-27T12:25:18.5830315Z Preparing to unpack .../29-libfontenc1_1%3a1.1.8-1build1_amd64.deb ...
|
||||
2026-06-27T12:25:18.5871022Z Unpacking libfontenc1:amd64 (1:1.1.8-1build1) ...
|
||||
2026-06-27T12:25:18.6417563Z Selecting previously unselected package libllvm20:amd64.
|
||||
2026-06-27T12:25:18.6492294Z Preparing to unpack .../30-libllvm20_1%3a20.1.2-0ubuntu1~24.04.3_amd64.deb ...
|
||||
2026-06-27T12:25:18.6517213Z Unpacking libllvm20:amd64 (1:20.1.2-0ubuntu1~24.04.3) ...
|
||||
2026-06-27T12:25:19.6509055Z Selecting previously unselected package libx11-xcb1:amd64.
|
||||
2026-06-27T12:25:19.6530193Z Preparing to unpack .../31-libx11-xcb1_2%3a1.8.7-1build1_amd64.deb ...
|
||||
2026-06-27T12:25:19.6572298Z Unpacking libx11-xcb1:amd64 (2:1.8.7-1build1) ...
|
||||
2026-06-27T12:25:19.7068262Z Selecting previously unselected package libxcb-dri3-0:amd64.
|
||||
2026-06-27T12:25:19.7087732Z Preparing to unpack .../32-libxcb-dri3-0_1.15-1ubuntu2_amd64.deb ...
|
||||
2026-06-27T12:25:19.7122822Z Unpacking libxcb-dri3-0:amd64 (1.15-1ubuntu2) ...
|
||||
2026-06-27T12:25:19.7678827Z Selecting previously unselected package libxcb-present0:amd64.
|
||||
2026-06-27T12:25:19.7709390Z Preparing to unpack .../33-libxcb-present0_1.15-1ubuntu2_amd64.deb ...
|
||||
2026-06-27T12:25:19.7772207Z Unpacking libxcb-present0:amd64 (1.15-1ubuntu2) ...
|
||||
2026-06-27T12:25:19.8189165Z Selecting previously unselected package libxcb-randr0:amd64.
|
||||
2026-06-27T12:25:19.8211057Z Preparing to unpack .../34-libxcb-randr0_1.15-1ubuntu2_amd64.deb ...
|
||||
2026-06-27T12:25:19.8288071Z Unpacking libxcb-randr0:amd64 (1.15-1ubuntu2) ...
|
||||
2026-06-27T12:25:19.8973149Z Selecting previously unselected package libxcb-sync1:amd64.
|
||||
2026-06-27T12:25:19.9089508Z Preparing to unpack .../35-libxcb-sync1_1.15-1ubuntu2_amd64.deb ...
|
||||
2026-06-27T12:25:19.9139345Z Unpacking libxcb-sync1:amd64 (1.15-1ubuntu2) ...
|
||||
2026-06-27T12:25:19.9519040Z Selecting previously unselected package libxcb-xfixes0:amd64.
|
||||
2026-06-27T12:25:19.9540956Z Preparing to unpack .../36-libxcb-xfixes0_1.15-1ubuntu2_amd64.deb ...
|
||||
2026-06-27T12:25:19.9570911Z Unpacking libxcb-xfixes0:amd64 (1.15-1ubuntu2) ...
|
||||
2026-06-27T12:25:20.0108902Z Selecting previously unselected package libxshmfence1:amd64.
|
||||
2026-06-27T12:25:20.0140100Z Preparing to unpack .../37-libxshmfence1_1.3-1build5_amd64.deb ...
|
||||
2026-06-27T12:25:20.0206320Z Unpacking libxshmfence1:amd64 (1.3-1build5) ...
|
||||
2026-06-27T12:25:20.1548281Z Selecting previously unselected package mesa-libgallium:amd64.
|
||||
2026-06-27T12:25:20.1618136Z Preparing to unpack .../38-mesa-libgallium_25.2.8-0ubuntu0.24.04.2_amd64.deb ...
|
||||
2026-06-27T12:25:20.1698135Z Unpacking mesa-libgallium:amd64 (25.2.8-0ubuntu0.24.04.2) ...
|
||||
2026-06-27T12:25:20.4349392Z Selecting previously unselected package libgbm1:amd64.
|
||||
2026-06-27T12:25:20.4407367Z Preparing to unpack .../39-libgbm1_25.2.8-0ubuntu0.24.04.2_amd64.deb ...
|
||||
2026-06-27T12:25:20.4451117Z Unpacking libgbm1:amd64 (25.2.8-0ubuntu0.24.04.2) ...
|
||||
2026-06-27T12:25:20.4978734Z Selecting previously unselected package libvulkan1:amd64.
|
||||
2026-06-27T12:25:20.5001435Z Preparing to unpack .../40-libvulkan1_1.3.275.0-1build1_amd64.deb ...
|
||||
2026-06-27T12:25:20.5246522Z Unpacking libvulkan1:amd64 (1.3.275.0-1build1) ...
|
||||
2026-06-27T12:25:20.5783283Z Selecting previously unselected package libgl1-mesa-dri:amd64.
|
||||
2026-06-27T12:25:20.5844389Z Preparing to unpack .../41-libgl1-mesa-dri_25.2.8-0ubuntu0.24.04.2_amd64.deb ...
|
||||
2026-06-27T12:25:20.7319616Z Unpacking libgl1-mesa-dri:amd64 (25.2.8-0ubuntu0.24.04.2) ...
|
||||
2026-06-27T12:25:20.8130736Z Selecting previously unselected package libxcb-glx0:amd64.
|
||||
2026-06-27T12:25:20.8131331Z Preparing to unpack .../42-libxcb-glx0_1.15-1ubuntu2_amd64.deb ...
|
||||
2026-06-27T12:25:20.8131586Z Unpacking libxcb-glx0:amd64 (1.15-1ubuntu2) ...
|
||||
2026-06-27T12:25:20.9065341Z Selecting previously unselected package libxxf86vm1:amd64.
|
||||
2026-06-27T12:25:20.9066406Z Preparing to unpack .../43-libxxf86vm1_1%3a1.1.4-1build4_amd64.deb ...
|
||||
2026-06-27T12:25:20.9066603Z Unpacking libxxf86vm1:amd64 (1:1.1.4-1build4) ...
|
||||
2026-06-27T12:25:21.0178713Z Selecting previously unselected package libglx-mesa0:amd64.
|
||||
2026-06-27T12:25:21.0201703Z Preparing to unpack .../44-libglx-mesa0_25.2.8-0ubuntu0.24.04.2_amd64.deb ...
|
||||
2026-06-27T12:25:21.0304195Z Unpacking libglx-mesa0:amd64 (25.2.8-0ubuntu0.24.04.2) ...
|
||||
2026-06-27T12:25:21.1388779Z Selecting previously unselected package libnspr4:amd64.
|
||||
2026-06-27T12:25:21.1403039Z Preparing to unpack .../45-libnspr4_2%3a4.35-1.1build1_amd64.deb ...
|
||||
2026-06-27T12:25:21.1503359Z Unpacking libnspr4:amd64 (2:4.35-1.1build1) ...
|
||||
2026-06-27T12:25:21.2485005Z Selecting previously unselected package libnss3:amd64.
|
||||
2026-06-27T12:25:21.2558864Z Preparing to unpack .../46-libnss3_2%3a3.98-1ubuntu0.1_amd64.deb ...
|
||||
2026-06-27T12:25:21.2597072Z Unpacking libnss3:amd64 (2:3.98-1ubuntu0.1) ...
|
||||
2026-06-27T12:25:21.3476375Z Selecting previously unselected package libxmu6:amd64.
|
||||
2026-06-27T12:25:21.3537982Z Preparing to unpack .../47-libxmu6_2%3a1.1.3-3build2_amd64.deb ...
|
||||
2026-06-27T12:25:21.3573745Z Unpacking libxmu6:amd64 (2:1.1.3-3build2) ...
|
||||
2026-06-27T12:25:21.4067043Z Selecting previously unselected package libxpm4:amd64.
|
||||
2026-06-27T12:25:21.4129723Z Preparing to unpack .../48-libxpm4_1%3a3.5.17-1build2_amd64.deb ...
|
||||
2026-06-27T12:25:21.4177982Z Unpacking libxpm4:amd64 (1:3.5.17-1build2) ...
|
||||
2026-06-27T12:25:21.4769218Z Selecting previously unselected package libxaw7:amd64.
|
||||
2026-06-27T12:25:21.4818449Z Preparing to unpack .../49-libxaw7_2%3a1.0.14-1build2_amd64.deb ...
|
||||
2026-06-27T12:25:21.4877720Z Unpacking libxaw7:amd64 (2:1.0.14-1build2) ...
|
||||
2026-06-27T12:25:21.7198538Z Selecting previously unselected package libxcomposite1:amd64.
|
||||
2026-06-27T12:25:21.7199108Z Preparing to unpack .../50-libxcomposite1_1%3a0.4.5-1build3_amd64.deb ...
|
||||
2026-06-27T12:25:21.7226404Z Unpacking libxcomposite1:amd64 (1:0.4.5-1build3) ...
|
||||
2026-06-27T12:25:21.7823786Z Selecting previously unselected package libxdamage1:amd64.
|
||||
2026-06-27T12:25:21.7867778Z Preparing to unpack .../51-libxdamage1_1%3a1.1.6-1build1_amd64.deb ...
|
||||
2026-06-27T12:25:21.7868282Z Unpacking libxdamage1:amd64 (1:1.1.6-1build1) ...
|
||||
2026-06-27T12:25:21.8388943Z Selecting previously unselected package libxfixes3:amd64.
|
||||
2026-06-27T12:25:21.8430434Z Preparing to unpack .../52-libxfixes3_1%3a6.0.0-2build1_amd64.deb ...
|
||||
2026-06-27T12:25:21.8508500Z Unpacking libxfixes3:amd64 (1:6.0.0-2build1) ...
|
||||
2026-06-27T12:25:21.9081558Z Selecting previously unselected package libxfont2:amd64.
|
||||
2026-06-27T12:25:21.9083055Z Preparing to unpack .../53-libxfont2_1%3a2.0.6-1build1_amd64.deb ...
|
||||
2026-06-27T12:25:21.9083343Z Unpacking libxfont2:amd64 (1:2.0.6-1build1) ...
|
||||
2026-06-27T12:25:22.0483062Z Selecting previously unselected package libxkbfile1:amd64.
|
||||
2026-06-27T12:25:22.0527958Z Preparing to unpack .../54-libxkbfile1_1%3a1.1.0-1build4_amd64.deb ...
|
||||
2026-06-27T12:25:22.0579759Z Unpacking libxkbfile1:amd64 (1:1.1.0-1build4) ...
|
||||
2026-06-27T12:25:22.1193305Z Selecting previously unselected package libxrandr2:amd64.
|
||||
2026-06-27T12:25:22.1221273Z Preparing to unpack .../55-libxrandr2_2%3a1.5.2-2build1_amd64.deb ...
|
||||
2026-06-27T12:25:22.1254284Z Unpacking libxrandr2:amd64 (2:1.5.2-2build1) ...
|
||||
2026-06-27T12:25:22.1652661Z Selecting previously unselected package x11-xkb-utils.
|
||||
2026-06-27T12:25:22.1685675Z Preparing to unpack .../56-x11-xkb-utils_7.7+8build2_amd64.deb ...
|
||||
2026-06-27T12:25:22.1748649Z Unpacking x11-xkb-utils (7.7+8build2) ...
|
||||
2026-06-27T12:25:22.2074972Z Selecting previously unselected package xfonts-encodings.
|
||||
2026-06-27T12:25:22.2105634Z Preparing to unpack .../57-xfonts-encodings_1%3a1.0.5-0ubuntu2_all.deb ...
|
||||
2026-06-27T12:25:22.2158216Z Unpacking xfonts-encodings (1:1.0.5-0ubuntu2) ...
|
||||
2026-06-27T12:25:22.2939590Z Selecting previously unselected package xfonts-utils.
|
||||
2026-06-27T12:25:22.3268379Z Preparing to unpack .../58-xfonts-utils_1%3a7.7+6build3_amd64.deb ...
|
||||
2026-06-27T12:25:22.3344768Z Unpacking xfonts-utils (1:7.7+6build3) ...
|
||||
2026-06-27T12:25:22.4774674Z Selecting previously unselected package xfonts-cyrillic.
|
||||
2026-06-27T12:25:22.4805186Z Preparing to unpack .../59-xfonts-cyrillic_1%3a1.0.5+nmu1_all.deb ...
|
||||
2026-06-27T12:25:22.4869412Z Unpacking xfonts-cyrillic (1:1.0.5+nmu1) ...
|
||||
2026-06-27T12:25:22.5928434Z Selecting previously unselected package xfonts-scalable.
|
||||
2026-06-27T12:25:22.6009105Z Preparing to unpack .../60-xfonts-scalable_1%3a1.0.3-1.3_all.deb ...
|
||||
2026-06-27T12:25:22.6046032Z Unpacking xfonts-scalable (1:1.0.3-1.3) ...
|
||||
2026-06-27T12:25:22.6553773Z Selecting previously unselected package xserver-common.
|
||||
2026-06-27T12:25:22.6658145Z Preparing to unpack .../61-xserver-common_2%3a21.1.12-1ubuntu1.6_all.deb ...
|
||||
2026-06-27T12:25:22.6693498Z Unpacking xserver-common (2:21.1.12-1ubuntu1.6) ...
|
||||
2026-06-27T12:25:22.7098546Z Selecting previously unselected package libglvnd0:amd64.
|
||||
2026-06-27T12:25:22.7112207Z Preparing to unpack .../62-libglvnd0_1.7.0-1build1_amd64.deb ...
|
||||
2026-06-27T12:25:22.7134464Z Unpacking libglvnd0:amd64 (1.7.0-1build1) ...
|
||||
2026-06-27T12:25:22.7793087Z Selecting previously unselected package libglx0:amd64.
|
||||
2026-06-27T12:25:22.7825161Z Preparing to unpack .../63-libglx0_1.7.0-1build1_amd64.deb ...
|
||||
2026-06-27T12:25:22.7892929Z Unpacking libglx0:amd64 (1.7.0-1build1) ...
|
||||
2026-06-27T12:25:22.8279183Z Selecting previously unselected package libgl1:amd64.
|
||||
2026-06-27T12:25:22.8309051Z Preparing to unpack .../64-libgl1_1.7.0-1build1_amd64.deb ...
|
||||
2026-06-27T12:25:22.8357828Z Unpacking libgl1:amd64 (1.7.0-1build1) ...
|
||||
2026-06-27T12:25:22.8913425Z Selecting previously unselected package xvfb.
|
||||
2026-06-27T12:25:22.8937575Z Preparing to unpack .../65-xvfb_2%3a21.1.12-1ubuntu1.6_amd64.deb ...
|
||||
2026-06-27T12:25:22.8998528Z Unpacking xvfb (2:21.1.12-1ubuntu1.6) ...
|
||||
2026-06-27T12:25:23.0030934Z Setting up libxcb-dri3-0:amd64 (1.15-1ubuntu2) ...
|
||||
2026-06-27T12:25:23.0107870Z Setting up libx11-xcb1:amd64 (2:1.8.7-1build1) ...
|
||||
2026-06-27T12:25:23.0240084Z Setting up libpciaccess0:amd64 (0.17-3ubuntu0.24.04.2) ...
|
||||
2026-06-27T12:25:23.0389817Z Setting up libxmu6:amd64 (2:1.1.3-3build2) ...
|
||||
2026-06-27T12:25:23.0548046Z Setting up libxdamage1:amd64 (1:1.1.6-1build1) ...
|
||||
2026-06-27T12:25:23.0880779Z Setting up libxcb-xfixes0:amd64 (1.15-1ubuntu2) ...
|
||||
2026-06-27T12:25:23.1092069Z Setting up libxpm4:amd64 (1:3.5.17-1build2) ...
|
||||
2026-06-27T12:25:23.1231089Z Setting up libxi6:amd64 (2:1.8.1-1build1) ...
|
||||
2026-06-27T12:25:23.1387593Z Setting up fonts-noto-color-emoji (2.047-0ubuntu0.24.04.1) ...
|
||||
2026-06-27T12:25:23.1517269Z Setting up libglvnd0:amd64 (1.7.0-1build1) ...
|
||||
2026-06-27T12:25:23.1636439Z Setting up libxcb-glx0:amd64 (1.15-1ubuntu2) ...
|
||||
2026-06-27T12:25:23.1757658Z Setting up libsensors-config (1:3.6.0-9build1) ...
|
||||
2026-06-27T12:25:23.1952407Z Setting up fonts-wqy-zenhei (0.9.45-8) ...
|
||||
2026-06-27T12:25:23.2353172Z Setting up fonts-freefont-ttf (20211204+svn4273-2) ...
|
||||
2026-06-27T12:25:23.2477142Z Setting up xkb-data (2.41-2ubuntu1.1) ...
|
||||
2026-06-27T12:25:23.2609198Z Setting up libxaw7:amd64 (2:1.0.14-1build2) ...
|
||||
2026-06-27T12:25:23.2742238Z Setting up libxxf86vm1:amd64 (1:1.1.4-1build4) ...
|
||||
2026-06-27T12:25:23.2892442Z Setting up libxcb-present0:amd64 (1.15-1ubuntu2) ...
|
||||
2026-06-27T12:25:23.3042771Z Setting up libasound2-data (1.2.11-1ubuntu0.2) ...
|
||||
2026-06-27T12:25:23.3182534Z Setting up libfontenc1:amd64 (1:1.1.8-1build1) ...
|
||||
2026-06-27T12:25:23.3294750Z Setting up libasound2t64:amd64 (1.2.11-1ubuntu0.2) ...
|
||||
2026-06-27T12:25:23.3430904Z Setting up fonts-tlwg-loma-otf (1:0.7.3-1) ...
|
||||
2026-06-27T12:25:23.3570951Z Setting up libnspr4:amd64 (2:4.35-1.1build1) ...
|
||||
2026-06-27T12:25:23.3719596Z Setting up libxfixes3:amd64 (1:6.0.0-2build1) ...
|
||||
2026-06-27T12:25:23.3863930Z Setting up libxcb-sync1:amd64 (1.15-1ubuntu2) ...
|
||||
2026-06-27T12:25:23.4013930Z Setting up libavahi-common-data:amd64 (0.8-13ubuntu6.2) ...
|
||||
2026-06-27T12:25:23.4140514Z Setting up libatspi2.0-0t64:amd64 (2.52.0-1build1) ...
|
||||
2026-06-27T12:25:23.4273295Z Setting up xfonts-encodings (1:1.0.5-0ubuntu2) ...
|
||||
2026-06-27T12:25:23.4372046Z Setting up libxrandr2:amd64 (2:1.5.2-2build1) ...
|
||||
2026-06-27T12:25:23.4462363Z Setting up libllvm20:amd64 (1:20.1.2-0ubuntu1~24.04.3) ...
|
||||
2026-06-27T12:25:23.4542157Z Setting up libsensors5:amd64 (1:3.6.0-9build1) ...
|
||||
2026-06-27T12:25:23.4652723Z Setting up libvulkan1:amd64 (1.3.275.0-1build1) ...
|
||||
2026-06-27T12:25:23.4738379Z Setting up fonts-ipafont-gothic (00303-21ubuntu1) ...
|
||||
2026-06-27T12:25:23.5017679Z update-alternatives: using /usr/share/fonts/opentype/ipafont-gothic/ipag.ttf to provide /usr/share/fonts/truetype/fonts-japanese-gothic.ttf (fonts-japanese-gothic.ttf) in auto mode
|
||||
2026-06-27T12:25:23.5111406Z Setting up libxshmfence1:amd64 (1.3-1build5) ...
|
||||
2026-06-27T12:25:23.5330443Z Setting up at-spi2-common (2.52.0-1build1) ...
|
||||
2026-06-27T12:25:23.5475834Z Setting up libxcb-randr0:amd64 (1.15-1ubuntu2) ...
|
||||
2026-06-27T12:25:23.5580992Z Setting up fonts-liberation (1:2.1.5-3) ...
|
||||
2026-06-27T12:25:23.5719138Z Setting up libxkbfile1:amd64 (1:1.1.0-1build4) ...
|
||||
2026-06-27T12:25:23.5881350Z Setting up libdrm-common (2.4.125-1ubuntu0.1~24.04.2) ...
|
||||
2026-06-27T12:25:23.5960151Z Setting up libxcomposite1:amd64 (1:0.4.5-1build3) ...
|
||||
2026-06-27T12:25:23.6028072Z Setting up libxfont2:amd64 (1:2.0.6-1build1) ...
|
||||
2026-06-27T12:25:23.6111284Z Setting up libxmuu1:amd64 (2:1.1.3-3build2) ...
|
||||
2026-06-27T12:25:23.6190948Z Setting up fonts-unifont (1:15.1.01-1build1) ...
|
||||
2026-06-27T12:25:23.6253263Z Setting up libxkbcommon0:amd64 (1.6.0-1build1) ...
|
||||
2026-06-27T12:25:23.6376295Z Setting up libatk1.0-0t64:amd64 (2.52.0-1build1) ...
|
||||
2026-06-27T12:25:23.6474344Z Setting up x11-xkb-utils (7.7+8build2) ...
|
||||
2026-06-27T12:25:23.6572761Z Setting up libavahi-common3:amd64 (0.8-13ubuntu6.2) ...
|
||||
2026-06-27T12:25:23.6657522Z Setting up libnss3:amd64 (2:3.98-1ubuntu0.1) ...
|
||||
2026-06-27T12:25:23.6805104Z Setting up xfonts-utils (1:7.7+6build3) ...
|
||||
2026-06-27T12:25:23.6963274Z Setting up libdrm2:amd64 (2.4.125-1ubuntu0.1~24.04.2) ...
|
||||
2026-06-27T12:25:23.7128113Z Setting up xauth (1:1.1.2-1build1) ...
|
||||
2026-06-27T12:25:23.7210877Z Setting up xfonts-cyrillic (1:1.0.5+nmu1) ...
|
||||
2026-06-27T12:25:23.8012389Z Setting up xserver-common (2:21.1.12-1ubuntu1.6) ...
|
||||
2026-06-27T12:25:23.8159799Z Setting up libavahi-client3:amd64 (0.8-13ubuntu6.2) ...
|
||||
2026-06-27T12:25:23.8319653Z Setting up xfonts-scalable (1:1.0.3-1.3) ...
|
||||
2026-06-27T12:25:23.8920871Z Setting up libdrm-amdgpu1:amd64 (2.4.125-1ubuntu0.1~24.04.2) ...
|
||||
2026-06-27T12:25:23.9061174Z Setting up libatk-bridge2.0-0t64:amd64 (2.52.0-1build1) ...
|
||||
2026-06-27T12:25:23.9241008Z Setting up libdrm-intel1:amd64 (2.4.125-1ubuntu0.1~24.04.2) ...
|
||||
2026-06-27T12:25:23.9377793Z Setting up libcups2t64:amd64 (2.4.7-1.2ubuntu7.14) ...
|
||||
2026-06-27T12:25:23.9529465Z Setting up mesa-libgallium:amd64 (25.2.8-0ubuntu0.24.04.2) ...
|
||||
2026-06-27T12:25:23.9689097Z Setting up libgbm1:amd64 (25.2.8-0ubuntu0.24.04.2) ...
|
||||
2026-06-27T12:25:23.9798647Z Setting up libgl1-mesa-dri:amd64 (25.2.8-0ubuntu0.24.04.2) ...
|
||||
2026-06-27T12:25:23.9991153Z Setting up libglx-mesa0:amd64 (25.2.8-0ubuntu0.24.04.2) ...
|
||||
2026-06-27T12:25:24.0060033Z Setting up libglx0:amd64 (1.7.0-1build1) ...
|
||||
2026-06-27T12:25:24.0148874Z Setting up libgl1:amd64 (1.7.0-1build1) ...
|
||||
2026-06-27T12:25:24.0245825Z Setting up xvfb (2:21.1.12-1ubuntu1.6) ...
|
||||
2026-06-27T12:25:24.0347952Z Processing triggers for fontconfig (2.15.0-1.1ubuntu2) ...
|
||||
2026-06-27T12:25:24.2719323Z Processing triggers for libc-bin (2.39-0ubuntu8.7) ...
|
||||
2026-06-27T12:25:24.8537493Z ::group::Run set -e
|
||||
2026-06-27T12:25:24.8537829Z set -e
|
||||
2026-06-27T12:25:24.8537933Z EXPECTED_VERSION="$(git rev-parse --short HEAD)"
|
||||
2026-06-27T12:25:24.8538041Z for i in $(seq 1 60); do
|
||||
2026-06-27T12:25:24.8538129Z VERSION_BODY="$(curl -fsS "http://${DEPLOY_HOST}/taxbaik/version.txt" || true)"
|
||||
2026-06-27T12:25:24.8538238Z BLOG_STATUS="$(curl -s -o /dev/null -w '%{http_code}' "http://${DEPLOY_HOST}/taxbaik/blog/accountant-mistakes-5" || true)"
|
||||
2026-06-27T12:25:24.8538331Z if echo "$VERSION_BODY" | grep -q "Version: ${EXPECTED_VERSION}" && [ "$BLOG_STATUS" = "200" ]; then
|
||||
2026-06-27T12:25:24.8538433Z echo "Deployment is ready for ${EXPECTED_VERSION}"
|
||||
2026-06-27T12:25:24.8538558Z exit 0
|
||||
2026-06-27T12:25:24.8538627Z fi
|
||||
2026-06-27T12:25:24.8538693Z echo "Waiting for deployment ${EXPECTED_VERSION}; blog status=${BLOG_STATUS}; version=${VERSION_BODY}"
|
||||
2026-06-27T12:25:24.8538794Z sleep 10
|
||||
2026-06-27T12:25:24.8538866Z done
|
||||
2026-06-27T12:25:24.8538930Z echo "Deployment did not publish expected version ${EXPECTED_VERSION} in time" >&2
|
||||
2026-06-27T12:25:24.8539017Z exit 1
|
||||
2026-06-27T12:25:24.8539093Z shell: bash --noprofile --norc -e -o pipefail {0}
|
||||
2026-06-27T12:25:24.8539184Z env:
|
||||
2026-06-27T12:25:24.8539255Z DEPLOY_HOST: ***
|
||||
2026-06-27T12:25:24.8539337Z ::endgroup::
|
||||
2026-06-27T12:25:25.0402214Z curl: (22) The requested URL returned error: 502
|
||||
2026-06-27T12:25:25.0579354Z Waiting for deployment 9f7e016; blog status=502; version=
|
||||
2026-06-27T12:25:35.0698027Z curl: (22) The requested URL returned error: 502
|
||||
2026-06-27T12:25:35.0843291Z Waiting for deployment 9f7e016; blog status=502; version=
|
||||
2026-06-27T12:25:45.0997074Z curl: (22) The requested URL returned error: 502
|
||||
2026-06-27T12:25:45.1210899Z Waiting for deployment 9f7e016; blog status=502; version=
|
||||
2026-06-27T12:25:55.1284047Z curl: (22) The requested URL returned error: 502
|
||||
2026-06-27T12:25:55.1377463Z Waiting for deployment 9f7e016; blog status=502; version=
|
||||
2026-06-27T12:26:05.1672550Z Deployment is ready for 9f7e016
|
||||
2026-06-27T12:26:05.2848371Z ::group::Run npm run test:e2e
|
||||
2026-06-27T12:26:05.2848778Z npm run test:e2e
|
||||
2026-06-27T12:26:05.2848904Z shell: bash --noprofile --norc -e -o pipefail {0}
|
||||
2026-06-27T12:26:05.2849089Z env:
|
||||
2026-06-27T12:26:05.2849215Z E2E_BASE_URL: http://***/taxbaik
|
||||
2026-06-27T12:26:05.2849346Z E2E_ADMIN_USERNAME: admin
|
||||
2026-06-27T12:26:05.2849438Z E2E_ADMIN_PASSWORD: ***
|
||||
2026-06-27T12:26:05.2849532Z ::endgroup::
|
||||
2026-06-27T12:26:05.4936839Z
|
||||
2026-06-27T12:26:05.4938525Z > test:e2e
|
||||
2026-06-27T12:26:05.4938795Z > playwright test
|
||||
2026-06-27T12:26:05.4938899Z
|
||||
2026-06-27T12:26:07.0908736Z
|
||||
2026-06-27T12:26:07.0909505Z Running 8 tests using 1 worker
|
||||
2026-06-27T12:26:07.0913297Z
|
||||
2026-06-27T12:26:10.2546952Z ✓ 1 [chromium] › tests/e2e/admin-login.spec.ts:8:7 › admin authentication › logs in through the real browser UI and reaches dashboard (2.0s)
|
||||
2026-06-27T12:26:10.5255600Z - 2 [chromium] › tests/e2e/admin-password-change.spec.ts:10:7 › admin password change › changes password through the real admin UI
|
||||
2026-06-27T12:26:32.6254900Z ✘ 3 [chromium] › tests/e2e/admin-smoke.spec.ts:9:7 › admin smoke › navigates the main admin menus without circuit errors (22.0s)
|
||||
2026-06-27T12:26:55.5960306Z ✘ 4 [chromium] › tests/e2e/admin-smoke.spec.ts:9:7 › admin smoke › navigates the main admin menus without circuit errors (retry #1) (22.1s)
|
||||
2026-06-27T12:26:57.5569909Z ✓ 5 [chromium] › tests/e2e/blog-seo.spec.ts:6:7 › blog seo › exposes title description and canonical on blog detail pages (1.1s)
|
||||
2026-06-27T12:26:57.6187120Z ✓ 6 [chromium] › tests/e2e/contact-submit.spec.ts:9:7 › contact submit › creates an inquiry through the public API (42ms)
|
||||
2026-06-27T12:27:19.7145266Z ✘ 7 [chromium] › tests/e2e/contact-submit.spec.ts:26:7 › contact submit › creates an inquiry and shows it in admin list (22.0s)
|
||||
2026-06-27T12:27:42.8326880Z ✘ 8 [chromium] › tests/e2e/contact-submit.spec.ts:26:7 › contact submit › creates an inquiry and shows it in admin list (retry #1) (22.2s)
|
||||
2026-06-27T12:27:55.0994094Z ✘ 9 [chromium] › tests/e2e/inquiry-detail.spec.ts:9:7 › inquiry detail › shows the created inquiry and admin action links (11.3s)
|
||||
2026-06-27T12:28:07.3933486Z ✘ 10 [chromium] › tests/e2e/inquiry-detail.spec.ts:9:7 › inquiry detail › shows the created inquiry and admin action links (retry #1) (11.3s)
|
||||
2026-06-27T12:28:09.9904674Z ✓ 11 [chromium] › tests/e2e/public-smoke.spec.ts:6:7 › public smoke › loads the main public pages with SEO basics (1.6s)
|
||||
2026-06-27T12:28:10.0454623Z
|
||||
2026-06-27T12:28:10.0460081Z
|
||||
2026-06-27T12:28:10.0473094Z 1) [chromium] › tests/e2e/admin-smoke.spec.ts:9:7 › admin smoke › navigates the main admin menus without circuit errors
|
||||
2026-06-27T12:28:10.0473448Z
|
||||
2026-06-27T12:28:10.0473752Z Error: [2mexpect([22m[31mlocator[39m[2m).[22mtoBeVisible[2m([22m[2m)[22m failed
|
||||
2026-06-27T12:28:10.0473949Z
|
||||
2026-06-27T12:28:10.0474156Z Locator: locator('.mud-main-content').getByText(/이번달 문의/).first()
|
||||
2026-06-27T12:28:10.0474341Z Expected: visible
|
||||
2026-06-27T12:28:10.0474485Z Timeout: 20000ms
|
||||
2026-06-27T12:28:10.0474612Z Error: element(s) not found
|
||||
2026-06-27T12:28:10.0474757Z
|
||||
2026-06-27T12:28:10.0474897Z Call log:
|
||||
2026-06-27T12:28:10.0475054Z [2m - Expect "toBeVisible" with timeout 20000ms[22m
|
||||
2026-06-27T12:28:10.0475243Z [2m - waiting for locator('.mud-main-content').getByText(/이번달 문의/).first()[22m
|
||||
2026-06-27T12:28:10.0475428Z
|
||||
2026-06-27T12:28:10.0475506Z
|
||||
2026-06-27T12:28:10.0475574Z 33 | await page.goto(`${baseUrl}${check.path}`);
|
||||
2026-06-27T12:28:10.0475656Z 34 | await expect(page).toHaveURL(new RegExp(`${check.path}$`));
|
||||
2026-06-27T12:28:10.0475761Z > 35 | await expect(page.locator('.mud-main-content').getByText(check.content).first()).toBeVisible({ timeout: 20_000 });
|
||||
2026-06-27T12:28:10.0475935Z | ^
|
||||
2026-06-27T12:28:10.0476343Z 36 | }
|
||||
2026-06-27T12:28:10.0476521Z 37 |
|
||||
2026-06-27T12:28:10.0476702Z 38 | expect(consoleErrors, 'browser console/page errors').toEqual([]);
|
||||
2026-06-27T12:28:10.0476879Z at /workspace/***/taxbaik/tests/e2e/admin-smoke.spec.ts:35:88
|
||||
2026-06-27T12:28:10.0477048Z
|
||||
2026-06-27T12:28:10.0477202Z attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
|
||||
2026-06-27T12:28:10.0477438Z test-results/admin-smoke-admin-smoke-na-bbce9-enus-without-circuit-errors-chromium/test-failed-1.png
|
||||
2026-06-27T12:28:10.0477635Z ────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:28:10.0477880Z
|
||||
2026-06-27T12:28:10.0478014Z attachment #2: video (video/webm) ──────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:28:10.0478232Z test-results/admin-smoke-admin-smoke-na-bbce9-enus-without-circuit-errors-chromium/video.webm
|
||||
2026-06-27T12:28:10.0478409Z ────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:28:10.0478636Z
|
||||
2026-06-27T12:28:10.0478772Z attachment #3: trace (application/zip) ─────────────────────────────────────────────────────────
|
||||
2026-06-27T12:28:10.0478910Z test-results/admin-smoke-admin-smoke-na-bbce9-enus-without-circuit-errors-chromium/trace.zip
|
||||
2026-06-27T12:28:10.0478997Z Usage:
|
||||
2026-06-27T12:28:10.0479074Z
|
||||
2026-06-27T12:28:10.0479200Z npx playwright show-trace test-results/admin-smoke-admin-smoke-na-bbce9-enus-without-circuit-errors-chromium/trace.zip
|
||||
2026-06-27T12:28:10.0479361Z
|
||||
2026-06-27T12:28:10.0479495Z ────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:28:10.0479715Z
|
||||
2026-06-27T12:28:10.0479888Z Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:28:10.0480088Z
|
||||
2026-06-27T12:28:10.0480218Z Error: [2mexpect([22m[31mlocator[39m[2m).[22mtoBeVisible[2m([22m[2m)[22m failed
|
||||
2026-06-27T12:28:10.0480394Z
|
||||
2026-06-27T12:28:10.0480545Z Locator: locator('.mud-main-content').getByText(/이번달 문의/).first()
|
||||
2026-06-27T12:28:10.0480724Z Expected: visible
|
||||
2026-06-27T12:28:10.0480907Z Timeout: 20000ms
|
||||
2026-06-27T12:28:10.0481044Z Error: element(s) not found
|
||||
2026-06-27T12:28:10.0481138Z
|
||||
2026-06-27T12:28:10.0481207Z Call log:
|
||||
2026-06-27T12:28:10.0481284Z [2m - Expect "toBeVisible" with timeout 20000ms[22m
|
||||
2026-06-27T12:28:10.0481366Z [2m - waiting for locator('.mud-main-content').getByText(/이번달 문의/).first()[22m
|
||||
2026-06-27T12:28:10.0481516Z
|
||||
2026-06-27T12:28:10.0481628Z
|
||||
2026-06-27T12:28:10.0481773Z 33 | await page.goto(`${baseUrl}${check.path}`);
|
||||
2026-06-27T12:28:10.0481952Z 34 | await expect(page).toHaveURL(new RegExp(`${check.path}$`));
|
||||
2026-06-27T12:28:10.0482272Z > 35 | await expect(page.locator('.mud-main-content').getByText(check.content).first()).toBeVisible({ timeout: 20_000 });
|
||||
2026-06-27T12:28:10.0482474Z | ^
|
||||
2026-06-27T12:28:10.0482637Z 36 | }
|
||||
2026-06-27T12:28:10.0482772Z 37 |
|
||||
2026-06-27T12:28:10.0482907Z 38 | expect(consoleErrors, 'browser console/page errors').toEqual([]);
|
||||
2026-06-27T12:28:10.0483100Z at /workspace/***/taxbaik/tests/e2e/admin-smoke.spec.ts:35:88
|
||||
2026-06-27T12:28:10.0483254Z
|
||||
2026-06-27T12:28:10.0483373Z attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
|
||||
2026-06-27T12:28:10.0483571Z test-results/admin-smoke-admin-smoke-na-bbce9-enus-without-circuit-errors-chromium-retry1/test-failed-1.png
|
||||
2026-06-27T12:28:10.0483784Z ────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:28:10.0484013Z
|
||||
2026-06-27T12:28:10.0484140Z attachment #2: video (video/webm) ──────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:28:10.0484297Z test-results/admin-smoke-admin-smoke-na-bbce9-enus-without-circuit-errors-chromium-retry1/video.webm
|
||||
2026-06-27T12:28:10.0484449Z ────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:28:10.0484653Z
|
||||
2026-06-27T12:28:10.0484795Z attachment #3: trace (application/zip) ─────────────────────────────────────────────────────────
|
||||
2026-06-27T12:28:10.0485007Z test-results/admin-smoke-admin-smoke-na-bbce9-enus-without-circuit-errors-chromium-retry1/trace.zip
|
||||
2026-06-27T12:28:10.0485201Z Usage:
|
||||
2026-06-27T12:28:10.0485324Z
|
||||
2026-06-27T12:28:10.0485458Z npx playwright show-trace test-results/admin-smoke-admin-smoke-na-bbce9-enus-without-circuit-errors-chromium-retry1/trace.zip
|
||||
2026-06-27T12:28:10.0485633Z
|
||||
2026-06-27T12:28:10.0485776Z ────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:28:10.0486006Z
|
||||
2026-06-27T12:28:10.0489412Z 2) [chromium] › tests/e2e/contact-submit.spec.ts:26:7 › contact submit › creates an inquiry and shows it in admin list
|
||||
2026-06-27T12:28:10.0490271Z
|
||||
2026-06-27T12:28:10.0490398Z Error: [2mexpect([22m[31mlocator[39m[2m).[22mtoBeVisible[2m([22m[2m)[22m failed
|
||||
2026-06-27T12:28:10.0490509Z
|
||||
2026-06-27T12:28:10.0490831Z Locator: locator('.mud-main-content').getByText('문의 관리').first()
|
||||
2026-06-27T12:28:10.0491000Z Expected: visible
|
||||
2026-06-27T12:28:10.0491151Z Timeout: 20000ms
|
||||
2026-06-27T12:28:10.0491297Z Error: element(s) not found
|
||||
2026-06-27T12:28:10.0491438Z
|
||||
2026-06-27T12:28:10.0491569Z Call log:
|
||||
2026-06-27T12:28:10.0491724Z [2m - Expect "toBeVisible" with timeout 20000ms[22m
|
||||
2026-06-27T12:28:10.0491891Z [2m - waiting for locator('.mud-main-content').getByText('문의 관리').first()[22m
|
||||
2026-06-27T12:28:10.0492213Z
|
||||
2026-06-27T12:28:10.0492335Z
|
||||
2026-06-27T12:28:10.0492446Z 51 | await installAdminToken(page, token);
|
||||
2026-06-27T12:28:10.0492616Z 52 | await page.goto(`${baseUrl}/admin/inquiries`);
|
||||
2026-06-27T12:28:10.0492785Z > 53 | await expect(page.locator('.mud-main-content').getByText('문의 관리').first()).toBeVisible({ timeout: 20_000 });
|
||||
2026-06-27T12:28:10.0492997Z | ^
|
||||
2026-06-27T12:28:10.0493163Z 54 | });
|
||||
2026-06-27T12:28:10.0493427Z 55 | });
|
||||
2026-06-27T12:28:10.0493507Z 56 |
|
||||
2026-06-27T12:28:10.0493581Z at /workspace/***/taxbaik/tests/e2e/contact-submit.spec.ts:53:80
|
||||
2026-06-27T12:28:10.0493710Z
|
||||
2026-06-27T12:28:10.0493839Z attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
|
||||
2026-06-27T12:28:10.0494121Z test-results/contact-submit-contact-sub-0fd92--and-shows-it-in-admin-list-chromium/test-failed-1.png
|
||||
2026-06-27T12:28:10.0494321Z ────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:28:10.0494637Z
|
||||
2026-06-27T12:28:10.0494824Z attachment #2: video (video/webm) ──────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:28:10.0495068Z test-results/contact-submit-contact-sub-0fd92--and-shows-it-in-admin-list-chromium/video.webm
|
||||
2026-06-27T12:28:10.0495238Z ────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:28:10.0495445Z
|
||||
2026-06-27T12:28:10.0495645Z attachment #3: trace (application/zip) ─────────────────────────────────────────────────────────
|
||||
2026-06-27T12:28:10.0495842Z test-results/contact-submit-contact-sub-0fd92--and-shows-it-in-admin-list-chromium/trace.zip
|
||||
2026-06-27T12:28:10.0495995Z Usage:
|
||||
2026-06-27T12:28:10.0496503Z
|
||||
2026-06-27T12:28:10.0496657Z npx playwright show-trace test-results/contact-submit-contact-sub-0fd92--and-shows-it-in-admin-list-chromium/trace.zip
|
||||
2026-06-27T12:28:10.0496768Z
|
||||
2026-06-27T12:28:10.0496861Z ────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:28:10.0497001Z
|
||||
2026-06-27T12:28:10.0497092Z Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:28:10.0497290Z
|
||||
2026-06-27T12:28:10.0497458Z Error: [2mexpect([22m[31mlocator[39m[2m).[22mtoBeVisible[2m([22m[2m)[22m failed
|
||||
2026-06-27T12:28:10.0497624Z
|
||||
2026-06-27T12:28:10.0497749Z Locator: locator('.mud-main-content').getByText('문의 관리').first()
|
||||
2026-06-27T12:28:10.0497901Z Expected: visible
|
||||
2026-06-27T12:28:10.0498098Z Timeout: 20000ms
|
||||
2026-06-27T12:28:10.0498303Z Error: element(s) not found
|
||||
2026-06-27T12:28:10.0498452Z
|
||||
2026-06-27T12:28:10.0498628Z Call log:
|
||||
2026-06-27T12:28:10.0498795Z [2m - Expect "toBeVisible" with timeout 20000ms[22m
|
||||
2026-06-27T12:28:10.0498953Z [2m - waiting for locator('.mud-main-content').getByText('문의 관리').first()[22m
|
||||
2026-06-27T12:28:10.0499066Z
|
||||
2026-06-27T12:28:10.0499173Z
|
||||
2026-06-27T12:28:10.0499241Z 51 | await installAdminToken(page, token);
|
||||
2026-06-27T12:28:10.0499338Z 52 | await page.goto(`${baseUrl}/admin/inquiries`);
|
||||
2026-06-27T12:28:10.0499442Z > 53 | await expect(page.locator('.mud-main-content').getByText('문의 관리').first()).toBeVisible({ timeout: 20_000 });
|
||||
2026-06-27T12:28:10.0499649Z | ^
|
||||
2026-06-27T12:28:10.0499814Z 54 | });
|
||||
2026-06-27T12:28:10.0499962Z 55 | });
|
||||
2026-06-27T12:28:10.0500164Z 56 |
|
||||
2026-06-27T12:28:10.0500308Z at /workspace/***/taxbaik/tests/e2e/contact-submit.spec.ts:53:80
|
||||
2026-06-27T12:28:10.0500477Z
|
||||
2026-06-27T12:28:10.0500662Z attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
|
||||
2026-06-27T12:28:10.0500870Z test-results/contact-submit-contact-sub-0fd92--and-shows-it-in-admin-list-chromium-retry1/test-failed-1.png
|
||||
2026-06-27T12:28:10.0501047Z ────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:28:10.0501249Z
|
||||
2026-06-27T12:28:10.0501420Z attachment #2: video (video/webm) ──────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:28:10.0501635Z test-results/contact-submit-contact-sub-0fd92--and-shows-it-in-admin-list-chromium-retry1/video.webm
|
||||
2026-06-27T12:28:10.0501890Z ────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:28:10.0502498Z
|
||||
2026-06-27T12:28:10.0502640Z attachment #3: trace (application/zip) ─────────────────────────────────────────────────────────
|
||||
2026-06-27T12:28:10.0502892Z test-results/contact-submit-contact-sub-0fd92--and-shows-it-in-admin-list-chromium-retry1/trace.zip
|
||||
2026-06-27T12:28:10.0503047Z Usage:
|
||||
2026-06-27T12:28:10.0503213Z
|
||||
2026-06-27T12:28:10.0503387Z npx playwright show-trace test-results/contact-submit-contact-sub-0fd92--and-shows-it-in-admin-list-chromium-retry1/trace.zip
|
||||
2026-06-27T12:28:10.0503567Z
|
||||
2026-06-27T12:28:10.0503745Z ────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:28:10.0503960Z
|
||||
2026-06-27T12:28:10.0504098Z 3) [chromium] › tests/e2e/inquiry-detail.spec.ts:9:7 › inquiry detail › shows the created inquiry and admin action links
|
||||
2026-06-27T12:28:10.0504262Z
|
||||
2026-06-27T12:28:10.0504564Z Error: [2mexpect([22m[31mlocator[39m[2m).[22mtoBeVisible[2m([22m[2m)[22m failed
|
||||
2026-06-27T12:28:10.0504714Z
|
||||
2026-06-27T12:28:10.0504866Z Locator: getByText('Detail-1782563263796')
|
||||
2026-06-27T12:28:10.0505081Z Expected: visible
|
||||
2026-06-27T12:28:10.0505231Z Timeout: 10000ms
|
||||
2026-06-27T12:28:10.0505381Z Error: element(s) not found
|
||||
2026-06-27T12:28:10.0505528Z
|
||||
2026-06-27T12:28:10.0505645Z Call log:
|
||||
2026-06-27T12:28:10.0505719Z [2m - Expect "toBeVisible" with timeout 10000ms[22m
|
||||
2026-06-27T12:28:10.0505800Z [2m - waiting for getByText('Detail-1782563263796')[22m
|
||||
2026-06-27T12:28:10.0505923Z
|
||||
2026-06-27T12:28:10.0505984Z
|
||||
2026-06-27T12:28:10.0506049Z 36 |
|
||||
2026-06-27T12:28:10.0506702Z 37 | await expect(page).toHaveURL(/\/taxbaik\/admin\/inquiries\/\d+$/);
|
||||
2026-06-27T12:28:10.0506989Z > 38 | await expect(page.getByText(name)).toBeVisible();
|
||||
2026-06-27T12:28:10.0510507Z | ^
|
||||
2026-06-27T12:28:10.0510666Z 39 | await expect(page.getByText(phone)).toBeVisible();
|
||||
2026-06-27T12:28:10.0510874Z 40 | await expect(page.getByText(message)).toBeVisible();
|
||||
2026-06-27T12:28:10.0511030Z 41 | await expect(page.getByRole('button', { name: '신규' })).toBeVisible();
|
||||
2026-06-27T12:28:10.0511191Z at /workspace/***/taxbaik/tests/e2e/inquiry-detail.spec.ts:38:40
|
||||
2026-06-27T12:28:10.0511334Z
|
||||
2026-06-27T12:28:10.0511532Z attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
|
||||
2026-06-27T12:28:10.0511761Z test-results/inquiry-detail-inquiry-det-43d69-uiry-and-admin-action-links-chromium/test-failed-1.png
|
||||
2026-06-27T12:28:10.0511946Z ────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:28:10.0512343Z
|
||||
2026-06-27T12:28:10.0512455Z attachment #2: video (video/webm) ──────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:28:10.0512564Z test-results/inquiry-detail-inquiry-det-43d69-uiry-and-admin-action-links-chromium/video.webm
|
||||
2026-06-27T12:28:10.0512646Z ────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:28:10.0512938Z
|
||||
2026-06-27T12:28:10.0513083Z attachment #3: trace (application/zip) ─────────────────────────────────────────────────────────
|
||||
2026-06-27T12:28:10.0513271Z test-results/inquiry-detail-inquiry-det-43d69-uiry-and-admin-action-links-chromium/trace.zip
|
||||
2026-06-27T12:28:10.0513521Z Usage:
|
||||
2026-06-27T12:28:10.0513669Z
|
||||
2026-06-27T12:28:10.0513795Z npx playwright show-trace test-results/inquiry-detail-inquiry-det-43d69-uiry-and-admin-action-links-chromium/trace.zip
|
||||
2026-06-27T12:28:10.0513964Z
|
||||
2026-06-27T12:28:10.0514159Z ────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:28:10.0514373Z
|
||||
2026-06-27T12:28:10.0514497Z Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:28:10.0514753Z
|
||||
2026-06-27T12:28:10.0514878Z Error: [2mexpect([22m[31mlocator[39m[2m).[22mtoBeVisible[2m([22m[2m)[22m failed
|
||||
2026-06-27T12:28:10.0515020Z
|
||||
2026-06-27T12:28:10.0515134Z Locator: getByText('Detail-1782563276056')
|
||||
2026-06-27T12:28:10.0515379Z Expected: visible
|
||||
2026-06-27T12:28:10.0515530Z Timeout: 10000ms
|
||||
2026-06-27T12:28:10.0515683Z Error: element(s) not found
|
||||
2026-06-27T12:28:10.0515867Z
|
||||
2026-06-27T12:28:10.0515964Z Call log:
|
||||
2026-06-27T12:28:10.0516037Z [2m - Expect "toBeVisible" with timeout 10000ms[22m
|
||||
2026-06-27T12:28:10.0516373Z [2m - waiting for getByText('Detail-1782563276056')[22m
|
||||
2026-06-27T12:28:10.0516612Z
|
||||
2026-06-27T12:28:10.0516748Z
|
||||
2026-06-27T12:28:10.0516877Z 36 |
|
||||
2026-06-27T12:28:10.0517056Z 37 | await expect(page).toHaveURL(/\/taxbaik\/admin\/inquiries\/\d+$/);
|
||||
2026-06-27T12:28:10.0517235Z > 38 | await expect(page.getByText(name)).toBeVisible();
|
||||
2026-06-27T12:28:10.0517379Z | ^
|
||||
2026-06-27T12:28:10.0517518Z 39 | await expect(page.getByText(phone)).toBeVisible();
|
||||
2026-06-27T12:28:10.0517706Z 40 | await expect(page.getByText(message)).toBeVisible();
|
||||
2026-06-27T12:28:10.0517890Z 41 | await expect(page.getByRole('button', { name: '신규' })).toBeVisible();
|
||||
2026-06-27T12:28:10.0518072Z at /workspace/***/taxbaik/tests/e2e/inquiry-detail.spec.ts:38:40
|
||||
2026-06-27T12:28:10.0518298Z
|
||||
2026-06-27T12:28:10.0518452Z attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
|
||||
2026-06-27T12:28:10.0518575Z test-results/inquiry-detail-inquiry-det-43d69-uiry-and-admin-action-links-chromium-retry1/test-failed-1.png
|
||||
2026-06-27T12:28:10.0518668Z ────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:28:10.0518810Z
|
||||
2026-06-27T12:28:10.0518894Z attachment #2: video (video/webm) ──────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:28:10.0519174Z test-results/inquiry-detail-inquiry-det-43d69-uiry-and-admin-action-links-chromium-retry1/video.webm
|
||||
2026-06-27T12:28:10.0519394Z ────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:28:10.0519618Z
|
||||
2026-06-27T12:28:10.0519759Z attachment #3: trace (application/zip) ─────────────────────────────────────────────────────────
|
||||
2026-06-27T12:28:10.0520059Z test-results/inquiry-detail-inquiry-det-43d69-uiry-and-admin-action-links-chromium-retry1/trace.zip
|
||||
2026-06-27T12:28:10.0520271Z Usage:
|
||||
2026-06-27T12:28:10.0520412Z
|
||||
2026-06-27T12:28:10.0520535Z npx playwright show-trace test-results/inquiry-detail-inquiry-det-43d69-uiry-and-admin-action-links-chromium-retry1/trace.zip
|
||||
2026-06-27T12:28:10.0520722Z
|
||||
2026-06-27T12:28:10.0520896Z ────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:28:10.0521120Z
|
||||
2026-06-27T12:28:10.0521253Z 3 failed
|
||||
2026-06-27T12:28:10.0521464Z [chromium] › tests/e2e/admin-smoke.spec.ts:9:7 › admin smoke › navigates the main admin menus without circuit errors
|
||||
2026-06-27T12:28:10.0521637Z [chromium] › tests/e2e/contact-submit.spec.ts:26:7 › contact submit › creates an inquiry and shows it in admin list
|
||||
2026-06-27T12:28:10.0521739Z [chromium] › tests/e2e/inquiry-detail.spec.ts:9:7 › inquiry detail › shows the created inquiry and admin action links
|
||||
2026-06-27T12:28:10.0521851Z 1 skipped
|
||||
2026-06-27T12:28:10.0521946Z 4 passed (2.1m)
|
||||
2026-06-27T12:28:10.1213717Z ❌ Failure - Main Browser E2E verification
|
||||
2026-06-27T12:28:10.1330889Z exitcode '1': failure
|
||||
2026-06-27T12:28:10.2333635Z ::group::Run echo "Executed tests:"
|
||||
2026-06-27T12:28:10.2334218Z echo "Executed tests:"
|
||||
2026-06-27T12:28:10.2334334Z echo "- admin-login"
|
||||
2026-06-27T12:28:10.2334414Z echo "- admin-smoke"
|
||||
2026-06-27T12:28:10.2334506Z echo "- public-smoke"
|
||||
2026-06-27T12:28:10.2334583Z echo "- blog-seo"
|
||||
2026-06-27T12:28:10.2334902Z echo "- contact-submit"
|
||||
2026-06-27T12:28:10.2335042Z echo "- inquiry-detail"
|
||||
2026-06-27T12:28:10.2335155Z echo "- admin-password-change"
|
||||
2026-06-27T12:28:10.2335236Z shell: bash --noprofile --norc -e -o pipefail {0}
|
||||
2026-06-27T12:28:10.2335329Z ::endgroup::
|
||||
2026-06-27T12:28:10.2801370Z Executed tests:
|
||||
2026-06-27T12:28:10.2802324Z - admin-login
|
||||
2026-06-27T12:28:10.2804066Z - admin-smoke
|
||||
2026-06-27T12:28:10.2804181Z - public-smoke
|
||||
2026-06-27T12:28:10.2804500Z - blog-seo
|
||||
2026-06-27T12:28:10.2804597Z - contact-submit
|
||||
2026-06-27T12:28:10.2804673Z - inquiry-detail
|
||||
2026-06-27T12:28:10.2804767Z - admin-password-change
|
||||
2026-06-27T12:28:10.3160536Z expression '${{ runner.os }}-playwright-${{ hashFiles('package-lock.json') }}' rewritten to 'format('{0}-playwright-{1}', runner.os, hashFiles('package-lock.json'))'
|
||||
2026-06-27T12:28:10.3160888Z evaluating expression 'format('{0}-playwright-{1}', runner.os, hashFiles('package-lock.json'))'
|
||||
2026-06-27T12:28:10.3161546Z Writing entry to tarball workflow/hashfiles/index.js len:168437
|
||||
2026-06-27T12:28:10.3163198Z Extracting content to '/var/run/act'
|
||||
2026-06-27T12:28:10.3205358Z 🐳 docker exec cmd=[node /var/run/act/workflow/hashfiles/index.js] user= workdir=
|
||||
2026-06-27T12:28:10.3205701Z Exec command '[node /var/run/act/workflow/hashfiles/index.js]'
|
||||
2026-06-27T12:28:10.3205967Z Working directory '/workspace/***/taxbaik'
|
||||
2026-06-27T12:28:10.4459391Z expression 'format('{0}-playwright-{1}', runner.os, hashFiles('package-lock.json'))' evaluated to '%!t(string=Linux-playwright-da5b0f170046fc2084d2c68f83e739454760e58eda8b88046a83cc8256c7af8f)'
|
||||
2026-06-27T12:28:10.4460222Z expression '${{ runner.os }}-playwright-\n' rewritten to 'format('{0}-playwright-\n', runner.os)'
|
||||
2026-06-27T12:28:10.4460368Z evaluating expression 'format('{0}-playwright-\n', runner.os)'
|
||||
2026-06-27T12:28:10.4461512Z expression 'format('{0}-playwright-\n', runner.os)' evaluated to '%!t(string=Linux-playwright-\n)'
|
||||
2026-06-27T12:28:10.4551474Z evaluating expression 'success()'
|
||||
2026-06-27T12:28:10.4551820Z expression 'success()' evaluated to 'false'
|
||||
2026-06-27T12:28:10.4552213Z Skipping step 'Cache Playwright browsers' due to 'success()'
|
||||
2026-06-27T12:28:10.4779722Z evaluating expression 'success()'
|
||||
2026-06-27T12:28:10.4780359Z expression 'success()' evaluated to 'false'
|
||||
2026-06-27T12:28:10.4780556Z Skipping step 'Setup Node.js' due to 'success()'
|
||||
2026-06-27T12:28:10.5070552Z evaluating expression 'always()'
|
||||
2026-06-27T12:28:10.5071084Z expression 'always()' evaluated to 'true'
|
||||
2026-06-27T12:28:10.5071211Z ⭐ Run Post Checkout code
|
||||
2026-06-27T12:28:10.5071405Z Writing entry to tarball workflow/outputcmd.txt len:0
|
||||
2026-06-27T12:28:10.5071582Z Writing entry to tarball workflow/statecmd.txt len:0
|
||||
2026-06-27T12:28:10.5071716Z Writing entry to tarball workflow/pathcmd.txt len:0
|
||||
2026-06-27T12:28:10.5073310Z Writing entry to tarball workflow/envs.txt len:0
|
||||
2026-06-27T12:28:10.5074192Z Writing entry to tarball workflow/SUMMARY.md len:0
|
||||
2026-06-27T12:28:10.5074466Z Extracting content to '/var/run/act'
|
||||
2026-06-27T12:28:10.5114732Z run post step for 'Checkout code'
|
||||
2026-06-27T12:28:10.5115552Z executing remote job container: [node /var/run/act/actions/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab/dist/index.js]
|
||||
2026-06-27T12:28:10.5400613Z 🐳 docker exec cmd=[node /var/run/act/actions/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab/dist/index.js] user= workdir=
|
||||
2026-06-27T12:28:10.5401169Z Exec command '[node /var/run/act/actions/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab/dist/index.js]'
|
||||
2026-06-27T12:28:10.5401663Z Working directory '/workspace/***/taxbaik'
|
||||
2026-06-27T12:28:10.7031956Z [command]/usr/bin/git version
|
||||
2026-06-27T12:28:10.7088988Z git version 2.54.0
|
||||
2026-06-27T12:28:10.7117822Z ***
|
||||
2026-06-27T12:28:10.7150869Z Temporarily overriding HOME='/tmp/1df097f1-1f9c-407d-9809-65fbea60adc1' before making global git config changes
|
||||
2026-06-27T12:28:10.7152884Z Adding repository directory to the temporary git global config as a safe directory
|
||||
2026-06-27T12:28:10.7158131Z [command]/usr/bin/git config --global --add safe.directory /workspace/***/taxbaik
|
||||
2026-06-27T12:28:10.7197881Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
|
||||
2026-06-27T12:28:10.7233128Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
|
||||
2026-06-27T12:28:10.7479269Z [command]/usr/bin/git config --local --name-only --get-regexp http\.http\:\/\/gitea\:3000\/\.extraheader
|
||||
2026-06-27T12:28:10.7502929Z http.http://gitea:3000/.extraheader
|
||||
2026-06-27T12:28:10.7513344Z [command]/usr/bin/git config --local --unset-all http.http://gitea:3000/.extraheader
|
||||
2026-06-27T12:28:10.7543127Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.http\:\/\/gitea\:3000\/\.extraheader' && git config --local --unset-all 'http.http://gitea:3000/.extraheader' || :"
|
||||
2026-06-27T12:28:10.7776949Z [command]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir:
|
||||
2026-06-27T12:28:10.7814014Z [command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
|
||||
2026-06-27T12:28:10.8152502Z ✅ Success - Post Checkout code
|
||||
2026-06-27T12:28:10.8313130Z Cleaning up container for job browser-e2e
|
||||
2026-06-27T12:28:11.0247351Z Removed container: 6a96f281e4aae9be735d17fb93794315e3bc2b5ea755f51629ceeff0d2fa4945
|
||||
2026-06-27T12:28:11.0257337Z 🐳 docker volume rm GITEA-ACTIONS-TASK-262-WORKFLOW-TaxBaik-Browser-E2E-JOB-browser-f5d6a3311b3836e51d8fb585a7d6b2a913d48f0455a2a7191285e8b859148f2b
|
||||
2026-06-27T12:28:11.0411812Z 🐳 docker volume rm GITEA-ACTIONS-TASK-262-WORKFLOW-TaxBaik-Browser-E2E-JOB-browser-f5d6a3311b3836e51d8fb585a7d6b2a913d48f0455a2a7191285e8b859148f2b-env
|
||||
2026-06-27T12:28:11.1693131Z 🏁 Job failed
|
||||
2026-06-27T12:28:11.1872783Z Job 'browser-e2e' failed
|
||||
-933
@@ -1,933 +0,0 @@
|
||||
2026-06-27T12:29:36.7691336Z hz-prod-runner-2(version:v0.6.1) received task 264 of job browser-e2e, be triggered by event: push
|
||||
2026-06-27T12:29:36.7694477Z workflow prepared
|
||||
2026-06-27T12:29:36.7695116Z evaluating expression 'success()'
|
||||
2026-06-27T12:29:36.7695738Z expression 'success()' evaluated to 'true'
|
||||
2026-06-27T12:29:36.7695921Z 🚀 Start image=docker.gitea.com/runner-images:ubuntu-latest
|
||||
2026-06-27T12:29:36.7777328Z 🐳 docker pull image=docker.gitea.com/runner-images:ubuntu-latest platform= username= forcePull=false
|
||||
2026-06-27T12:29:36.7777566Z 🐳 docker pull docker.gitea.com/runner-images:ubuntu-latest
|
||||
2026-06-27T12:29:36.8108282Z Image exists? true
|
||||
2026-06-27T12:29:36.8567663Z 🐳 docker create image=docker.gitea.com/runner-images:ubuntu-latest platform= entrypoint=["/bin/sleep" "10800"] cmd=[] network="gitea_default"
|
||||
2026-06-27T12:29:36.9505056Z Created container name=GITEA-ACTIONS-TASK-264-WORKFLOW-TaxBaik-Browser-E2E-JOB-browser-45217cc8acb25ecbd03632e1a46b98ea77846cb6699a891987ecb2828106b2a7 id=e1e09f1492c3e0bf142559a016c77c16635d610fdfdf3bf41c6ccaa753041b9f from image docker.gitea.com/runner-images:ubuntu-latest (platform: )
|
||||
2026-06-27T12:29:36.9505534Z ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_ARCH=X64 RUNNER_TEMP=/tmp LANG=C.UTF-8]
|
||||
2026-06-27T12:29:36.9505676Z 🐳 docker run image=docker.gitea.com/runner-images:ubuntu-latest platform= entrypoint=["/bin/sleep" "10800"] cmd=[] network="gitea_default"
|
||||
2026-06-27T12:29:36.9505846Z Starting container: e1e09f1492c3e0bf142559a016c77c16635d610fdfdf3bf41c6ccaa753041b9f
|
||||
2026-06-27T12:29:37.0765396Z Started container: e1e09f1492c3e0bf142559a016c77c16635d610fdfdf3bf41c6ccaa753041b9f
|
||||
2026-06-27T12:29:37.1960199Z Writing entry to tarball workflow/event.json len:4956
|
||||
2026-06-27T12:29:37.1960938Z Writing entry to tarball workflow/envs.txt len:0
|
||||
2026-06-27T12:29:37.1961528Z Extracting content to '/var/run/act/'
|
||||
2026-06-27T12:29:37.2189331Z ☁ git clone 'https://github.com/actions/checkout' # ref=v4
|
||||
2026-06-27T12:29:37.2189664Z cloning https://github.com/actions/checkout to /root/.cache/act/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab
|
||||
2026-06-27T12:29:37.8321356Z Unable to pull refs/heads/v4: non-fast-forward update
|
||||
2026-06-27T12:29:37.8321984Z Cloned https://github.com/actions/checkout to /root/.cache/act/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab
|
||||
2026-06-27T12:29:37.8437329Z Checked out v4
|
||||
2026-06-27T12:29:37.8542967Z ☁ git clone 'https://github.com/actions/setup-node' # ref=v4
|
||||
2026-06-27T12:29:37.8543514Z cloning https://github.com/actions/setup-node to /root/.cache/act/e5877e7fc2f7e5000a2f22526584a2565cc2ae38cd26a9b1938dbca653b056cc
|
||||
2026-06-27T12:29:38.4811451Z Unable to pull refs/heads/v4: worktree contains unstaged changes
|
||||
2026-06-27T12:29:38.4811901Z Cloned https://github.com/actions/setup-node to /root/.cache/act/e5877e7fc2f7e5000a2f22526584a2565cc2ae38cd26a9b1938dbca653b056cc
|
||||
2026-06-27T12:29:38.4969109Z Checked out v4
|
||||
2026-06-27T12:29:38.5073104Z ☁ git clone 'https://github.com/actions/cache' # ref=v4
|
||||
2026-06-27T12:29:38.5073443Z cloning https://github.com/actions/cache to /root/.cache/act/6b4e4eb40e21c1bd02cb00a273f4d79af7c42205c1390e4e65c594ecd7a3696e
|
||||
2026-06-27T12:29:39.1225618Z Unable to pull refs/heads/v4: worktree contains unstaged changes
|
||||
2026-06-27T12:29:39.1226299Z Cloned https://github.com/actions/cache to /root/.cache/act/6b4e4eb40e21c1bd02cb00a273f4d79af7c42205c1390e4e65c594ecd7a3696e
|
||||
2026-06-27T12:29:39.1456052Z Checked out v4
|
||||
2026-06-27T12:29:39.1824973Z evaluating expression ''
|
||||
2026-06-27T12:29:39.1825523Z expression '' evaluated to 'true'
|
||||
2026-06-27T12:29:39.1825732Z ⭐ Run Main Checkout code
|
||||
2026-06-27T12:29:39.1825937Z Writing entry to tarball workflow/outputcmd.txt len:0
|
||||
2026-06-27T12:29:39.1826290Z Writing entry to tarball workflow/statecmd.txt len:0
|
||||
2026-06-27T12:29:39.1826431Z Writing entry to tarball workflow/pathcmd.txt len:0
|
||||
2026-06-27T12:29:39.1826531Z Writing entry to tarball workflow/envs.txt len:0
|
||||
2026-06-27T12:29:39.1826614Z Writing entry to tarball workflow/SUMMARY.md len:0
|
||||
2026-06-27T12:29:39.1826716Z Extracting content to '/var/run/act'
|
||||
2026-06-27T12:29:39.1883145Z ::group::Run Checkout code
|
||||
2026-06-27T12:29:39.7220469Z ::add-matcher::/run/act/actions/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab/dist/problem-matcher.json
|
||||
2026-06-27T12:29:39.7225558Z Syncing repository: ***/taxbaik
|
||||
2026-06-27T12:29:39.7230074Z ::group::Getting Git version info
|
||||
2026-06-27T12:29:39.7231108Z Working directory is '/workspace/***/taxbaik'
|
||||
2026-06-27T12:29:39.7275152Z [command]/usr/bin/git version
|
||||
2026-06-27T12:29:39.7325681Z git version 2.54.0
|
||||
2026-06-27T12:29:39.7354354Z ::endgroup::
|
||||
2026-06-27T12:29:39.7386306Z Temporarily overriding HOME='/tmp/f4bb7af9-eda2-4252-ab12-f87249c5c5d5' before making global git config changes
|
||||
2026-06-27T12:29:39.7387489Z Adding repository directory to the temporary git global config as a safe directory
|
||||
2026-06-27T12:29:39.7393456Z [command]/usr/bin/git config --global --add safe.directory /workspace/***/taxbaik
|
||||
2026-06-27T12:29:39.7436842Z Deleting the contents of '/workspace/***/taxbaik'
|
||||
2026-06-27T12:29:39.7438398Z ::group::Initializing the repository
|
||||
2026-06-27T12:29:39.7449605Z [command]/usr/bin/git init /workspace/***/taxbaik
|
||||
2026-06-27T12:29:39.7487226Z hint: Using 'master' as the name for the initial branch. This default branch name
|
||||
2026-06-27T12:29:39.7487537Z hint: will change to "main" in Git 3.0. To configure the initial branch name
|
||||
2026-06-27T12:29:39.7487662Z hint: to use in all of your new repositories, which will suppress this warning,
|
||||
2026-06-27T12:29:39.7488148Z hint: call:
|
||||
2026-06-27T12:29:39.7488339Z hint:
|
||||
2026-06-27T12:29:39.7488420Z hint: git config --global init.defaultBranch <name>
|
||||
2026-06-27T12:29:39.7488504Z hint:
|
||||
2026-06-27T12:29:39.7488574Z hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
|
||||
2026-06-27T12:29:39.7491160Z hint: 'development'. The just-created branch can be renamed via this command:
|
||||
2026-06-27T12:29:39.7491362Z hint:
|
||||
2026-06-27T12:29:39.7491856Z hint: git branch -m <name>
|
||||
2026-06-27T12:29:39.7492109Z hint:
|
||||
2026-06-27T12:29:39.7492642Z hint: Disable this message with "git config set advice.defaultBranchName false"
|
||||
2026-06-27T12:29:39.7493529Z Initialized empty Git repository in /workspace/***/taxbaik/.git/
|
||||
2026-06-27T12:29:39.7505742Z [command]/usr/bin/git remote add origin http://gitea:3000/***/taxbaik
|
||||
2026-06-27T12:29:39.7538494Z ::endgroup::
|
||||
2026-06-27T12:29:39.7539121Z ::group::Disabling automatic garbage collection
|
||||
2026-06-27T12:29:39.7548311Z [command]/usr/bin/git config --local gc.auto 0
|
||||
2026-06-27T12:29:39.7579335Z ::endgroup::
|
||||
2026-06-27T12:29:39.7579569Z ::group::Setting up auth
|
||||
2026-06-27T12:29:39.7587386Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
|
||||
2026-06-27T12:29:39.7621238Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
|
||||
2026-06-27T12:29:39.7873395Z [command]/usr/bin/git config --local --name-only --get-regexp http\.http\:\/\/gitea\:3000\/\.extraheader
|
||||
2026-06-27T12:29:39.7909998Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.http\:\/\/gitea\:3000\/\.extraheader' && git config --local --unset-all 'http.http://gitea:3000/.extraheader' || :"
|
||||
2026-06-27T12:29:39.8254665Z [command]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir:
|
||||
2026-06-27T12:29:39.8293224Z [command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
|
||||
2026-06-27T12:29:39.8556850Z [command]/usr/bin/git config --local http.http://gitea:3000/.extraheader AUTHORIZATION: basic ***
|
||||
2026-06-27T12:29:39.8602988Z ::endgroup::
|
||||
2026-06-27T12:29:39.8605503Z ::group::Fetching the repository
|
||||
2026-06-27T12:29:39.8616826Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +a58aa7efe0c15e08b1b44bd2a346c1e396d95d0d:refs/remotes/origin/master
|
||||
2026-06-27T12:29:39.9599596Z From http://gitea:3000/***/taxbaik
|
||||
2026-06-27T12:29:39.9599936Z * [new ref] a58aa7efe0c15e08b1b44bd2a346c1e396d95d0d -> origin/master
|
||||
2026-06-27T12:29:39.9642493Z ::endgroup::
|
||||
2026-06-27T12:29:39.9642737Z ::group::Determining the checkout info
|
||||
2026-06-27T12:29:39.9644555Z ::endgroup::
|
||||
2026-06-27T12:29:39.9650560Z [command]/usr/bin/git sparse-checkout disable
|
||||
2026-06-27T12:29:39.9694614Z [command]/usr/bin/git config --local --unset-all extensions.worktreeConfig
|
||||
2026-06-27T12:29:39.9720917Z ::group::Checking out the ref
|
||||
2026-06-27T12:29:39.9729039Z [command]/usr/bin/git checkout --progress --force -B master refs/remotes/origin/master
|
||||
2026-06-27T12:29:39.9854670Z Reset branch 'master'
|
||||
2026-06-27T12:29:39.9859808Z branch 'master' set up to track 'origin/master'.
|
||||
2026-06-27T12:29:39.9869462Z ::endgroup::
|
||||
2026-06-27T12:29:39.9914900Z [command]/usr/bin/git log -1 --format=%H
|
||||
2026-06-27T12:29:39.9938854Z a58aa7efe0c15e08b1b44bd2a346c1e396d95d0d
|
||||
2026-06-27T12:29:39.9961258Z ::remove-matcher owner=checkout-git::
|
||||
2026-06-27T12:29:40.0064399Z ::endgroup::
|
||||
2026-06-27T12:29:40.0891731Z ::group::Run Setup Node.js
|
||||
2026-06-27T12:29:40.0892076Z with:
|
||||
2026-06-27T12:29:40.0892295Z cache: npm
|
||||
2026-06-27T12:29:40.0892404Z node-version: 22
|
||||
2026-06-27T12:29:40.8936568Z Found in cache @ /opt/hostedtoolcache/node/22.23.1/x64
|
||||
2026-06-27T12:29:40.8941998Z (node:142) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
|
||||
2026-06-27T12:29:40.8942471Z (Use `node --trace-deprecation ...` to show where the warning was created)
|
||||
2026-06-27T12:29:40.8949121Z ::group::Environment details
|
||||
2026-06-27T12:29:41.0292379Z node: v22.23.1
|
||||
2026-06-27T12:29:41.0294290Z npm: 10.9.8
|
||||
2026-06-27T12:29:41.0295741Z yarn:
|
||||
2026-06-27T12:29:41.0300045Z ::endgroup::
|
||||
2026-06-27T12:29:41.0329176Z [command]/opt/hostedtoolcache/node/22.23.1/x64/bin/npm config get cache
|
||||
2026-06-27T12:29:41.1626400Z /root/.npm
|
||||
2026-06-27T12:29:41.2556563Z Cache Size: ~3 MB (2871339 B)
|
||||
2026-06-27T12:29:41.2586533Z [command]/usr/bin/tar -xf /tmp/5d869462-19ad-4a95-88dc-c430536e25e7/cache.tzst -P -C /workspace/***/taxbaik --use-compress-program unzstd
|
||||
2026-06-27T12:29:41.2730544Z Cache restored successfully
|
||||
2026-06-27T12:29:41.2756629Z Cache restored from key: node-cache-linux-x64-npm-da5b0f170046fc2084d2c68f83e739454760e58eda8b88046a83cc8256c7af8f
|
||||
2026-06-27T12:29:41.2757531Z ##[add-matcher]/run/act/actions/e5877e7fc2f7e5000a2f22526584a2565cc2ae38cd26a9b1938dbca653b056cc/.github/tsc.json
|
||||
2026-06-27T12:29:41.2757882Z ##[add-matcher]/run/act/actions/e5877e7fc2f7e5000a2f22526584a2565cc2ae38cd26a9b1938dbca653b056cc/.github/eslint-stylish.json
|
||||
2026-06-27T12:29:41.2758133Z ##[add-matcher]/run/act/actions/e5877e7fc2f7e5000a2f22526584a2565cc2ae38cd26a9b1938dbca653b056cc/.github/eslint-compact.json
|
||||
2026-06-27T12:29:41.2859242Z ::endgroup::
|
||||
2026-06-27T12:29:41.5247096Z ::group::Run Cache Playwright browsers
|
||||
2026-06-27T12:29:41.5247489Z with:
|
||||
2026-06-27T12:29:41.5247649Z key: ${{ runner.os }}-playwright-${{ hashFiles('package-lock.json') }}
|
||||
2026-06-27T12:29:41.5247797Z path: ~/.cache/ms-playwright
|
||||
2026-06-27T12:29:41.5247918Z restore-keys: ${{ runner.os }}-playwright-
|
||||
2026-06-27T12:29:42.3531176Z (node:203) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
|
||||
2026-06-27T12:29:42.3531512Z (Use `node --trace-deprecation ...` to show where the warning was created)
|
||||
2026-06-27T12:29:43.6146807Z Cache Size: ~247 MB (259214535 B)
|
||||
2026-06-27T12:29:43.6147723Z [command]/usr/bin/tar -xf /tmp/fb50196f-beb8-460f-9b32-c23060625c9f/cache.tzst -P -C /workspace/***/taxbaik --use-compress-program unzstd
|
||||
2026-06-27T12:29:45.3513116Z Cache restored successfully
|
||||
2026-06-27T12:29:45.3879843Z Cache restored from key: linux-playwright-da5b0f170046fc2084d2c68f83e739454760e58eda8b88046a83cc8256c7af8f
|
||||
2026-06-27T12:29:45.4007468Z ::endgroup::
|
||||
2026-06-27T12:29:45.5403253Z ::group::Run set -e
|
||||
2026-06-27T12:29:45.5403717Z set -e
|
||||
2026-06-27T12:29:45.5403828Z npm ci
|
||||
2026-06-27T12:29:45.5403937Z npx playwright install chromium --with-deps
|
||||
2026-06-27T12:29:45.5404276Z shell: bash --noprofile --norc -e -o pipefail {0}
|
||||
2026-06-27T12:29:45.5404471Z ::endgroup::
|
||||
2026-06-27T12:29:46.9344675Z
|
||||
2026-06-27T12:29:46.9345427Z added 3 packages, and audited 4 packages in 1s
|
||||
2026-06-27T12:29:46.9356622Z
|
||||
2026-06-27T12:29:46.9356828Z found 0 vulnerabilities
|
||||
2026-06-27T12:29:48.1251425Z Installing dependencies...
|
||||
2026-06-27T12:29:48.2506189Z Get:1 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
|
||||
2026-06-27T12:29:48.2506700Z Get:2 http://archive.ubuntu.com/ubuntu noble InRelease [256 kB]
|
||||
2026-06-27T12:29:48.2788540Z Get:3 https://packages.microsoft.com/ubuntu/24.04/prod noble InRelease [3600 B]
|
||||
2026-06-27T12:29:48.3326485Z Get:4 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
|
||||
2026-06-27T12:29:48.3573970Z Get:5 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Packages [43.8 kB]
|
||||
2026-06-27T12:29:48.3663352Z Get:6 https://ppa.launchpadcontent.net/git-core/ppa/ubuntu noble InRelease [24.3 kB]
|
||||
2026-06-27T12:29:48.3861838Z Get:7 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [1339 kB]
|
||||
2026-06-27T12:29:48.3886937Z Get:8 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
|
||||
2026-06-27T12:29:48.4378908Z Get:9 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1487 kB]
|
||||
2026-06-27T12:29:48.4530261Z Get:10 https://packages.microsoft.com/ubuntu/24.04/prod noble/main all Packages [643 B]
|
||||
2026-06-27T12:29:48.5232927Z Get:11 https://packages.microsoft.com/ubuntu/24.04/prod noble/main amd64 Packages [187 kB]
|
||||
2026-06-27T12:29:48.5233575Z Get:12 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [976 kB]
|
||||
2026-06-27T12:29:48.6284935Z Get:13 http://archive.ubuntu.com/ubuntu noble/multiverse amd64 Packages [331 kB]
|
||||
2026-06-27T12:29:48.6685855Z Get:14 http://archive.ubuntu.com/ubuntu noble/universe amd64 Packages [19.3 MB]
|
||||
2026-06-27T12:29:48.8410616Z Get:15 http://archive.ubuntu.com/ubuntu noble/restricted amd64 Packages [117 kB]
|
||||
2026-06-27T12:29:48.8427854Z Get:16 http://archive.ubuntu.com/ubuntu noble/main amd64 Packages [1808 kB]
|
||||
2026-06-27T12:29:48.8629712Z Get:17 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Packages [49.5 kB]
|
||||
2026-06-27T12:29:48.8671181Z Get:18 https://ppa.launchpadcontent.net/git-core/ppa/ubuntu noble/main amd64 Packages [2988 B]
|
||||
2026-06-27T12:29:48.8698245Z Get:19 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [1296 kB]
|
||||
2026-06-27T12:29:48.8850929Z Get:20 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [2108 kB]
|
||||
2026-06-27T12:29:48.9123133Z Get:22 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [1412 kB]
|
||||
2026-06-27T12:29:48.9914183Z Get:23 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Packages [35.9 kB]
|
||||
2026-06-27T12:29:49.0132999Z Get:24 http://archive.ubuntu.com/ubuntu noble-backports/multiverse amd64 Packages [671 B]
|
||||
2026-06-27T12:29:49.0177030Z Get:25 http://archive.ubuntu.com/ubuntu noble-backports/main amd64 Packages [48.9 kB]
|
||||
2026-06-27T12:29:49.4290157Z Get:21 https://packagecloud.io/github/git-lfs/ubuntu noble InRelease [29.2 kB]
|
||||
2026-06-27T12:29:49.6712805Z Get:26 https://packagecloud.io/github/git-lfs/ubuntu noble/main amd64 Packages [1273 B]
|
||||
2026-06-27T12:29:49.9781203Z Fetched 31.3 MB in 2s (17.4 MB/s)
|
||||
2026-06-27T12:29:51.1160280Z Reading package lists...
|
||||
2026-06-27T12:29:52.2127226Z Reading package lists...
|
||||
2026-06-27T12:29:52.4888169Z Building dependency tree...
|
||||
2026-06-27T12:29:52.4897505Z Reading state information...
|
||||
2026-06-27T12:29:52.8171581Z libcairo2 is already the newest version (1.18.0-3build1).
|
||||
2026-06-27T12:29:52.8172975Z libcairo2 set to manually installed.
|
||||
2026-06-27T12:29:52.8173274Z libdbus-1-3 is already the newest version (1.14.10-4ubuntu4.1).
|
||||
2026-06-27T12:29:52.8173452Z libdbus-1-3 set to manually installed.
|
||||
2026-06-27T12:29:52.8174021Z libglib2.0-0t64 is already the newest version (2.80.0-6ubuntu3.8).
|
||||
2026-06-27T12:29:52.8174164Z libglib2.0-0t64 set to manually installed.
|
||||
2026-06-27T12:29:52.8174253Z libpango-1.0-0 is already the newest version (1.52.1+ds-1build1).
|
||||
2026-06-27T12:29:52.8174658Z libpango-1.0-0 set to manually installed.
|
||||
2026-06-27T12:29:52.8174829Z libx11-6 is already the newest version (2:1.8.7-1build1).
|
||||
2026-06-27T12:29:52.8174926Z libx11-6 set to manually installed.
|
||||
2026-06-27T12:29:52.8175002Z libxcb1 is already the newest version (1.15-1ubuntu2).
|
||||
2026-06-27T12:29:52.8175117Z libxcb1 set to manually installed.
|
||||
2026-06-27T12:29:52.8175192Z libxext6 is already the newest version (2:1.3.4-1build2).
|
||||
2026-06-27T12:29:52.8175579Z libxext6 set to manually installed.
|
||||
2026-06-27T12:29:52.8175707Z libfontconfig1 is already the newest version (2.15.0-1.1ubuntu2).
|
||||
2026-06-27T12:29:52.8175795Z libfontconfig1 set to manually installed.
|
||||
2026-06-27T12:29:52.8175873Z libfreetype6 is already the newest version (2.13.2+dfsg-1ubuntu0.1).
|
||||
2026-06-27T12:29:52.8175955Z libfreetype6 set to manually installed.
|
||||
2026-06-27T12:29:52.8176539Z The following additional packages will be installed:
|
||||
2026-06-27T12:29:52.8177593Z at-spi2-common libasound2-data libavahi-client3 libavahi-common-data
|
||||
2026-06-27T12:29:52.8183119Z libavahi-common3 libdrm-amdgpu1 libdrm-common libdrm-intel1 libfontenc1
|
||||
2026-06-27T12:29:52.8190965Z libgl1 libgl1-mesa-dri libglvnd0 libglx-mesa0 libglx0 libllvm20
|
||||
2026-06-27T12:29:52.8191332Z libpciaccess0 libsensors-config libsensors5 libvulkan1 libx11-xcb1 libxaw7
|
||||
2026-06-27T12:29:52.8207849Z libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-sync1
|
||||
2026-06-27T12:29:52.8208612Z libxcb-xfixes0 libxfont2 libxi6 libxkbfile1 libxmu6 libxmuu1 libxpm4
|
||||
2026-06-27T12:29:52.8208800Z libxshmfence1 libxxf86vm1 mesa-libgallium x11-xkb-utils xauth
|
||||
2026-06-27T12:29:52.8208952Z xfonts-encodings xfonts-utils xkb-data xserver-common
|
||||
2026-06-27T12:29:52.8215870Z Suggested packages:
|
||||
2026-06-27T12:29:52.8216800Z alsa-utils libasound2-plugins cups-common pciutils lm-sensors
|
||||
2026-06-27T12:29:52.8217268Z Recommended packages:
|
||||
2026-06-27T12:29:52.8217512Z fonts-ipafont-mincho fonts-liberation-sans-narrow fonts-tlwg-loma
|
||||
2026-06-27T12:29:52.8217656Z alsa-ucm-conf alsa-topology-conf at-spi2-core mesa-vulkan-drivers
|
||||
2026-06-27T12:29:52.8217803Z | vulkan-icd xfonts-base
|
||||
2026-06-27T12:29:52.9516943Z The following NEW packages will be installed:
|
||||
2026-06-27T12:29:52.9517535Z at-spi2-common fonts-freefont-ttf fonts-ipafont-gothic fonts-liberation
|
||||
2026-06-27T12:29:52.9525521Z fonts-noto-color-emoji fonts-tlwg-loma-otf fonts-unifont fonts-wqy-zenhei
|
||||
2026-06-27T12:29:52.9525929Z libasound2-data libasound2t64 libatk-bridge2.0-0t64 libatk1.0-0t64
|
||||
2026-06-27T12:29:52.9526055Z libatspi2.0-0t64 libavahi-client3 libavahi-common-data libavahi-common3
|
||||
2026-06-27T12:29:52.9526656Z libcups2t64 libdrm-amdgpu1 libdrm-common libdrm-intel1 libdrm2 libfontenc1
|
||||
2026-06-27T12:29:52.9529001Z libgbm1 libgl1 libgl1-mesa-dri libglvnd0 libglx-mesa0 libglx0 libllvm20
|
||||
2026-06-27T12:29:52.9533391Z libnspr4 libnss3 libpciaccess0 libsensors-config libsensors5 libvulkan1
|
||||
2026-06-27T12:29:52.9533730Z libx11-xcb1 libxaw7 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0
|
||||
2026-06-27T12:29:52.9533957Z libxcb-sync1 libxcb-xfixes0 libxcomposite1 libxdamage1 libxfixes3 libxfont2
|
||||
2026-06-27T12:29:52.9535675Z libxi6 libxkbcommon0 libxkbfile1 libxmu6 libxmuu1 libxpm4 libxrandr2
|
||||
2026-06-27T12:29:52.9547165Z libxshmfence1 libxxf86vm1 mesa-libgallium x11-xkb-utils xauth
|
||||
2026-06-27T12:29:52.9547497Z xfonts-cyrillic xfonts-encodings xfonts-scalable xfonts-utils xkb-data
|
||||
2026-06-27T12:29:52.9547633Z xserver-common xvfb
|
||||
2026-06-27T12:29:53.0373995Z 0 upgraded, 66 newly installed, 0 to remove and 52 not upgraded.
|
||||
2026-06-27T12:29:53.0374517Z Need to get 79.3 MB of archives.
|
||||
2026-06-27T12:29:53.0374708Z After this operation, 303 MB of additional disk space will be used.
|
||||
2026-06-27T12:29:53.0374826Z Get:1 http://archive.ubuntu.com/ubuntu noble/universe amd64 fonts-ipafont-gothic all 00303-21ubuntu1 [3513 kB]
|
||||
2026-06-27T12:29:53.1513498Z Get:2 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 xkb-data all 2.41-2ubuntu1.1 [397 kB]
|
||||
2026-06-27T12:29:53.1573982Z Get:3 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libdrm-common all 2.4.125-1ubuntu0.1~24.04.2 [9250 B]
|
||||
2026-06-27T12:29:53.1645112Z Get:4 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libdrm2 amd64 2.4.125-1ubuntu0.1~24.04.2 [41.4 kB]
|
||||
2026-06-27T12:29:53.1707412Z Get:5 http://archive.ubuntu.com/ubuntu noble/main amd64 libsensors-config all 1:3.6.0-9build1 [5546 B]
|
||||
2026-06-27T12:29:53.1770886Z Get:6 http://archive.ubuntu.com/ubuntu noble/main amd64 libsensors5 amd64 1:3.6.0-9build1 [26.6 kB]
|
||||
2026-06-27T12:29:53.1834263Z Get:7 http://archive.ubuntu.com/ubuntu noble/main amd64 libxkbcommon0 amd64 1.6.0-1build1 [122 kB]
|
||||
2026-06-27T12:29:53.1906696Z Get:8 http://archive.ubuntu.com/ubuntu noble/main amd64 libxmuu1 amd64 2:1.1.3-3build2 [8958 B]
|
||||
2026-06-27T12:29:53.1977009Z Get:9 http://archive.ubuntu.com/ubuntu noble/main amd64 xauth amd64 1:1.1.2-1build1 [25.6 kB]
|
||||
2026-06-27T12:29:53.2036591Z Get:10 http://archive.ubuntu.com/ubuntu noble/main amd64 at-spi2-common all 2.52.0-1build1 [8674 B]
|
||||
2026-06-27T12:29:53.2100594Z Get:11 http://archive.ubuntu.com/ubuntu noble/main amd64 fonts-freefont-ttf all 20211204+svn4273-2 [5641 kB]
|
||||
2026-06-27T12:29:53.2682487Z Get:12 http://archive.ubuntu.com/ubuntu noble/main amd64 fonts-liberation all 1:2.1.5-3 [1603 kB]
|
||||
2026-06-27T12:29:53.2815879Z Get:13 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 fonts-noto-color-emoji all 2.047-0ubuntu0.24.04.1 [9764 kB]
|
||||
2026-06-27T12:29:53.3750188Z Get:14 http://archive.ubuntu.com/ubuntu noble/universe amd64 fonts-tlwg-loma-otf all 1:0.7.3-1 [107 kB]
|
||||
2026-06-27T12:29:53.3767166Z Get:15 http://archive.ubuntu.com/ubuntu noble/universe amd64 fonts-unifont all 1:15.1.01-1build1 [2993 kB]
|
||||
2026-06-27T12:29:53.4049421Z Get:16 http://archive.ubuntu.com/ubuntu noble/universe amd64 fonts-wqy-zenhei all 0.9.45-8 [7472 kB]
|
||||
2026-06-27T12:29:53.4441929Z Get:17 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libasound2-data all 1.2.11-1ubuntu0.2 [21.3 kB]
|
||||
2026-06-27T12:29:53.4446837Z Get:18 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libasound2t64 amd64 1.2.11-1ubuntu0.2 [398 kB]
|
||||
2026-06-27T12:29:53.4472919Z Get:19 http://archive.ubuntu.com/ubuntu noble/main amd64 libatk1.0-0t64 amd64 2.52.0-1build1 [55.3 kB]
|
||||
2026-06-27T12:29:53.4509500Z Get:20 http://archive.ubuntu.com/ubuntu noble/main amd64 libxi6 amd64 2:1.8.1-1build1 [32.4 kB]
|
||||
2026-06-27T12:29:53.4780264Z Get:21 http://archive.ubuntu.com/ubuntu noble/main amd64 libatspi2.0-0t64 amd64 2.52.0-1build1 [80.5 kB]
|
||||
2026-06-27T12:29:53.4829146Z Get:22 http://archive.ubuntu.com/ubuntu noble/main amd64 libatk-bridge2.0-0t64 amd64 2.52.0-1build1 [66.0 kB]
|
||||
2026-06-27T12:29:53.4894417Z Get:23 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libavahi-common-data amd64 0.8-13ubuntu6.2 [30.1 kB]
|
||||
2026-06-27T12:29:53.4972529Z Get:24 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libavahi-common3 amd64 0.8-13ubuntu6.2 [23.4 kB]
|
||||
2026-06-27T12:29:53.5039534Z Get:25 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libavahi-client3 amd64 0.8-13ubuntu6.2 [26.8 kB]
|
||||
2026-06-27T12:29:53.5102014Z Get:26 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libcups2t64 amd64 2.4.7-1.2ubuntu7.14 [274 kB]
|
||||
2026-06-27T12:29:53.5204236Z Get:27 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libdrm-amdgpu1 amd64 2.4.125-1ubuntu0.1~24.04.2 [21.4 kB]
|
||||
2026-06-27T12:29:53.5261626Z Get:28 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libpciaccess0 amd64 0.17-3ubuntu0.24.04.2 [18.9 kB]
|
||||
2026-06-27T12:29:53.5328530Z Get:29 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libdrm-intel1 amd64 2.4.125-1ubuntu0.1~24.04.2 [63.9 kB]
|
||||
2026-06-27T12:29:53.5386245Z Get:30 http://archive.ubuntu.com/ubuntu noble/main amd64 libfontenc1 amd64 1:1.1.8-1build1 [14.0 kB]
|
||||
2026-06-27T12:29:53.5508051Z Get:31 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libllvm20 amd64 1:20.1.2-0ubuntu1~24.04.3 [30.6 MB]
|
||||
2026-06-27T12:29:53.7675321Z Get:32 http://archive.ubuntu.com/ubuntu noble/main amd64 libx11-xcb1 amd64 2:1.8.7-1build1 [7800 B]
|
||||
2026-06-27T12:29:53.7678635Z Get:33 http://archive.ubuntu.com/ubuntu noble/main amd64 libxcb-dri3-0 amd64 1.15-1ubuntu2 [7142 B]
|
||||
2026-06-27T12:29:53.7681087Z Get:34 http://archive.ubuntu.com/ubuntu noble/main amd64 libxcb-present0 amd64 1.15-1ubuntu2 [5676 B]
|
||||
2026-06-27T12:29:53.7683582Z Get:35 http://archive.ubuntu.com/ubuntu noble/main amd64 libxcb-randr0 amd64 1.15-1ubuntu2 [17.9 kB]
|
||||
2026-06-27T12:29:53.7686011Z Get:36 http://archive.ubuntu.com/ubuntu noble/main amd64 libxcb-sync1 amd64 1.15-1ubuntu2 [9312 B]
|
||||
2026-06-27T12:29:53.7688522Z Get:37 http://archive.ubuntu.com/ubuntu noble/main amd64 libxcb-xfixes0 amd64 1.15-1ubuntu2 [10.2 kB]
|
||||
2026-06-27T12:29:53.7691274Z Get:38 http://archive.ubuntu.com/ubuntu noble/main amd64 libxshmfence1 amd64 1.3-1build5 [4764 B]
|
||||
2026-06-27T12:29:53.7709108Z Get:39 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 mesa-libgallium amd64 25.2.8-0ubuntu0.24.04.2 [10.8 MB]
|
||||
2026-06-27T12:29:53.8458351Z Get:40 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libgbm1 amd64 25.2.8-0ubuntu0.24.04.2 [34.2 kB]
|
||||
2026-06-27T12:29:53.8467058Z Get:41 http://archive.ubuntu.com/ubuntu noble/main amd64 libvulkan1 amd64 1.3.275.0-1build1 [142 kB]
|
||||
2026-06-27T12:29:53.8481660Z Get:42 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libgl1-mesa-dri amd64 25.2.8-0ubuntu0.24.04.2 [37.9 kB]
|
||||
2026-06-27T12:29:53.8489547Z Get:43 http://archive.ubuntu.com/ubuntu noble/main amd64 libxcb-glx0 amd64 1.15-1ubuntu2 [24.8 kB]
|
||||
2026-06-27T12:29:53.8496627Z Get:44 http://archive.ubuntu.com/ubuntu noble/main amd64 libxxf86vm1 amd64 1:1.1.4-1build4 [9282 B]
|
||||
2026-06-27T12:29:53.8511134Z Get:45 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libglx-mesa0 amd64 25.2.8-0ubuntu0.24.04.2 [110 kB]
|
||||
2026-06-27T12:29:53.8581593Z Get:46 http://archive.ubuntu.com/ubuntu noble/main amd64 libnspr4 amd64 2:4.35-1.1build1 [117 kB]
|
||||
2026-06-27T12:29:53.8649924Z Get:47 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libnss3 amd64 2:3.98-1ubuntu0.1 [1445 kB]
|
||||
2026-06-27T12:29:53.8827832Z Get:48 http://archive.ubuntu.com/ubuntu noble/main amd64 libxmu6 amd64 2:1.1.3-3build2 [47.6 kB]
|
||||
2026-06-27T12:29:53.8847347Z Get:49 http://archive.ubuntu.com/ubuntu noble/main amd64 libxpm4 amd64 1:3.5.17-1build2 [36.5 kB]
|
||||
2026-06-27T12:29:53.8894999Z Get:50 http://archive.ubuntu.com/ubuntu noble/main amd64 libxaw7 amd64 2:1.0.14-1build2 [187 kB]
|
||||
2026-06-27T12:29:53.8986710Z Get:51 http://archive.ubuntu.com/ubuntu noble/main amd64 libxcomposite1 amd64 1:0.4.5-1build3 [6320 B]
|
||||
2026-06-27T12:29:53.9048187Z Get:52 http://archive.ubuntu.com/ubuntu noble/main amd64 libxdamage1 amd64 1:1.1.6-1build1 [6150 B]
|
||||
2026-06-27T12:29:53.9112911Z Get:53 http://archive.ubuntu.com/ubuntu noble/main amd64 libxfixes3 amd64 1:6.0.0-2build1 [10.8 kB]
|
||||
2026-06-27T12:29:53.9186651Z Get:54 http://archive.ubuntu.com/ubuntu noble/main amd64 libxfont2 amd64 1:2.0.6-1build1 [93.0 kB]
|
||||
2026-06-27T12:29:53.9241391Z Get:55 http://archive.ubuntu.com/ubuntu noble/main amd64 libxkbfile1 amd64 1:1.1.0-1build4 [70.0 kB]
|
||||
2026-06-27T12:29:53.9299425Z Get:56 http://archive.ubuntu.com/ubuntu noble/main amd64 libxrandr2 amd64 2:1.5.2-2build1 [19.7 kB]
|
||||
2026-06-27T12:29:53.9350812Z Get:57 http://archive.ubuntu.com/ubuntu noble/main amd64 x11-xkb-utils amd64 7.7+8build2 [170 kB]
|
||||
2026-06-27T12:29:53.9428679Z Get:58 http://archive.ubuntu.com/ubuntu noble/main amd64 xfonts-encodings all 1:1.0.5-0ubuntu2 [578 kB]
|
||||
2026-06-27T12:29:53.9504947Z Get:59 http://archive.ubuntu.com/ubuntu noble/main amd64 xfonts-utils amd64 1:7.7+6build3 [94.4 kB]
|
||||
2026-06-27T12:29:53.9561031Z Get:60 http://archive.ubuntu.com/ubuntu noble/universe amd64 xfonts-cyrillic all 1:1.0.5+nmu1 [384 kB]
|
||||
2026-06-27T12:29:53.9646525Z Get:61 http://archive.ubuntu.com/ubuntu noble/main amd64 xfonts-scalable all 1:1.0.3-1.3 [304 kB]
|
||||
2026-06-27T12:29:53.9730776Z Get:62 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 xserver-common all 2:21.1.12-1ubuntu1.6 [34.7 kB]
|
||||
2026-06-27T12:29:53.9800405Z Get:63 http://archive.ubuntu.com/ubuntu noble/main amd64 libglvnd0 amd64 1.7.0-1build1 [69.6 kB]
|
||||
2026-06-27T12:29:54.0066025Z Get:64 http://archive.ubuntu.com/ubuntu noble/main amd64 libglx0 amd64 1.7.0-1build1 [38.6 kB]
|
||||
2026-06-27T12:29:54.0071830Z Get:65 http://archive.ubuntu.com/ubuntu noble/main amd64 libgl1 amd64 1.7.0-1build1 [102 kB]
|
||||
2026-06-27T12:29:54.0086721Z Get:66 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 xvfb amd64 2:21.1.12-1ubuntu1.6 [877 kB]
|
||||
2026-06-27T12:29:54.2362385Z debconf: delaying package configuration, since apt-utils is not installed
|
||||
2026-06-27T12:29:54.2759835Z Fetched 79.3 MB in 1s (76.6 MB/s)
|
||||
2026-06-27T12:29:54.3038337Z Selecting previously unselected package fonts-ipafont-gothic.
|
||||
2026-06-27T12:29:54.4436850Z (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 26518 files and directories currently installed.)
|
||||
2026-06-27T12:29:54.4453872Z Preparing to unpack .../00-fonts-ipafont-gothic_00303-21ubuntu1_all.deb ...
|
||||
2026-06-27T12:29:54.4547701Z Unpacking fonts-ipafont-gothic (00303-21ubuntu1) ...
|
||||
2026-06-27T12:29:54.7502498Z Selecting previously unselected package xkb-data.
|
||||
2026-06-27T12:29:54.7531013Z Preparing to unpack .../01-xkb-data_2.41-2ubuntu1.1_all.deb ...
|
||||
2026-06-27T12:29:54.7549713Z Unpacking xkb-data (2.41-2ubuntu1.1) ...
|
||||
2026-06-27T12:29:54.8278776Z Selecting previously unselected package libdrm-common.
|
||||
2026-06-27T12:29:54.8307383Z Preparing to unpack .../02-libdrm-common_2.4.125-1ubuntu0.1~24.04.2_all.deb ...
|
||||
2026-06-27T12:29:54.8325886Z Unpacking libdrm-common (2.4.125-1ubuntu0.1~24.04.2) ...
|
||||
2026-06-27T12:29:54.8589268Z Selecting previously unselected package libdrm2:amd64.
|
||||
2026-06-27T12:29:54.8589718Z Preparing to unpack .../03-libdrm2_2.4.125-1ubuntu0.1~24.04.2_amd64.deb ...
|
||||
2026-06-27T12:29:54.8647120Z Unpacking libdrm2:amd64 (2.4.125-1ubuntu0.1~24.04.2) ...
|
||||
2026-06-27T12:29:54.8871350Z Selecting previously unselected package libsensors-config.
|
||||
2026-06-27T12:29:54.8877443Z Preparing to unpack .../04-libsensors-config_1%3a3.6.0-9build1_all.deb ...
|
||||
2026-06-27T12:29:54.8906021Z Unpacking libsensors-config (1:3.6.0-9build1) ...
|
||||
2026-06-27T12:29:54.9113765Z Selecting previously unselected package libsensors5:amd64.
|
||||
2026-06-27T12:29:54.9142070Z Preparing to unpack .../05-libsensors5_1%3a3.6.0-9build1_amd64.deb ...
|
||||
2026-06-27T12:29:54.9490446Z Unpacking libsensors5:amd64 (1:3.6.0-9build1) ...
|
||||
2026-06-27T12:29:54.9749152Z Selecting previously unselected package libxkbcommon0:amd64.
|
||||
2026-06-27T12:29:54.9758453Z Preparing to unpack .../06-libxkbcommon0_1.6.0-1build1_amd64.deb ...
|
||||
2026-06-27T12:29:54.9799072Z Unpacking libxkbcommon0:amd64 (1.6.0-1build1) ...
|
||||
2026-06-27T12:29:55.0115639Z Selecting previously unselected package libxmuu1:amd64.
|
||||
2026-06-27T12:29:55.0143317Z Preparing to unpack .../07-libxmuu1_2%3a1.1.3-3build2_amd64.deb ...
|
||||
2026-06-27T12:29:55.0172030Z Unpacking libxmuu1:amd64 (2:1.1.3-3build2) ...
|
||||
2026-06-27T12:29:55.0414724Z Selecting previously unselected package xauth.
|
||||
2026-06-27T12:29:55.0442615Z Preparing to unpack .../08-xauth_1%3a1.1.2-1build1_amd64.deb ...
|
||||
2026-06-27T12:29:55.0465444Z Unpacking xauth (1:1.1.2-1build1) ...
|
||||
2026-06-27T12:29:55.0714732Z Selecting previously unselected package at-spi2-common.
|
||||
2026-06-27T12:29:55.0754268Z Preparing to unpack .../09-at-spi2-common_2.52.0-1build1_all.deb ...
|
||||
2026-06-27T12:29:55.0778632Z Unpacking at-spi2-common (2.52.0-1build1) ...
|
||||
2026-06-27T12:29:55.1049265Z Selecting previously unselected package fonts-freefont-ttf.
|
||||
2026-06-27T12:29:55.1097884Z Preparing to unpack .../10-fonts-freefont-ttf_20211204+svn4273-2_all.deb ...
|
||||
2026-06-27T12:29:55.1123366Z Unpacking fonts-freefont-ttf (20211204+svn4273-2) ...
|
||||
2026-06-27T12:29:55.2872918Z Selecting previously unselected package fonts-liberation.
|
||||
2026-06-27T12:29:55.2899008Z Preparing to unpack .../11-fonts-liberation_1%3a2.1.5-3_all.deb ...
|
||||
2026-06-27T12:29:55.2927974Z Unpacking fonts-liberation (1:2.1.5-3) ...
|
||||
2026-06-27T12:29:55.3568970Z Selecting previously unselected package fonts-noto-color-emoji.
|
||||
2026-06-27T12:29:55.3646821Z Preparing to unpack .../12-fonts-noto-color-emoji_2.047-0ubuntu0.24.04.1_all.deb ...
|
||||
2026-06-27T12:29:55.3724781Z Unpacking fonts-noto-color-emoji (2.047-0ubuntu0.24.04.1) ...
|
||||
2026-06-27T12:29:55.4854579Z Selecting previously unselected package fonts-tlwg-loma-otf.
|
||||
2026-06-27T12:29:55.4889562Z Preparing to unpack .../13-fonts-tlwg-loma-otf_1%3a0.7.3-1_all.deb ...
|
||||
2026-06-27T12:29:55.4913793Z Unpacking fonts-tlwg-loma-otf (1:0.7.3-1) ...
|
||||
2026-06-27T12:29:55.5254192Z Selecting previously unselected package fonts-unifont.
|
||||
2026-06-27T12:29:55.5287898Z Preparing to unpack .../14-fonts-unifont_1%3a15.1.01-1build1_all.deb ...
|
||||
2026-06-27T12:29:55.5304102Z Unpacking fonts-unifont (1:15.1.01-1build1) ...
|
||||
2026-06-27T12:29:55.6708411Z Selecting previously unselected package fonts-wqy-zenhei.
|
||||
2026-06-27T12:29:55.6738944Z Preparing to unpack .../15-fonts-wqy-zenhei_0.9.45-8_all.deb ...
|
||||
2026-06-27T12:29:55.6859814Z Unpacking fonts-wqy-zenhei (0.9.45-8) ...
|
||||
2026-06-27T12:29:56.2792688Z Selecting previously unselected package libasound2-data.
|
||||
2026-06-27T12:29:56.2940002Z Preparing to unpack .../16-libasound2-data_1.2.11-1ubuntu0.2_all.deb ...
|
||||
2026-06-27T12:29:56.3011544Z Unpacking libasound2-data (1.2.11-1ubuntu0.2) ...
|
||||
2026-06-27T12:29:56.3930164Z Selecting previously unselected package libasound2t64:amd64.
|
||||
2026-06-27T12:29:56.3997965Z Preparing to unpack .../17-libasound2t64_1.2.11-1ubuntu0.2_amd64.deb ...
|
||||
2026-06-27T12:29:56.4048917Z Unpacking libasound2t64:amd64 (1.2.11-1ubuntu0.2) ...
|
||||
2026-06-27T12:29:56.4573839Z Selecting previously unselected package libatk1.0-0t64:amd64.
|
||||
2026-06-27T12:29:56.4598997Z Preparing to unpack .../18-libatk1.0-0t64_2.52.0-1build1_amd64.deb ...
|
||||
2026-06-27T12:29:56.4637724Z Unpacking libatk1.0-0t64:amd64 (2.52.0-1build1) ...
|
||||
2026-06-27T12:29:56.5098277Z Selecting previously unselected package libxi6:amd64.
|
||||
2026-06-27T12:29:56.5124858Z Preparing to unpack .../19-libxi6_2%3a1.8.1-1build1_amd64.deb ...
|
||||
2026-06-27T12:29:56.5188290Z Unpacking libxi6:amd64 (2:1.8.1-1build1) ...
|
||||
2026-06-27T12:29:56.5518533Z Selecting previously unselected package libatspi2.0-0t64:amd64.
|
||||
2026-06-27T12:29:56.5567874Z Preparing to unpack .../20-libatspi2.0-0t64_2.52.0-1build1_amd64.deb ...
|
||||
2026-06-27T12:29:56.5699758Z Unpacking libatspi2.0-0t64:amd64 (2.52.0-1build1) ...
|
||||
2026-06-27T12:29:56.6391376Z Selecting previously unselected package libatk-bridge2.0-0t64:amd64.
|
||||
2026-06-27T12:29:56.6457696Z Preparing to unpack .../21-libatk-bridge2.0-0t64_2.52.0-1build1_amd64.deb ...
|
||||
2026-06-27T12:29:56.6509497Z Unpacking libatk-bridge2.0-0t64:amd64 (2.52.0-1build1) ...
|
||||
2026-06-27T12:29:56.7348340Z Selecting previously unselected package libavahi-common-data:amd64.
|
||||
2026-06-27T12:29:56.7365329Z Preparing to unpack .../22-libavahi-common-data_0.8-13ubuntu6.2_amd64.deb ...
|
||||
2026-06-27T12:29:56.7413367Z Unpacking libavahi-common-data:amd64 (0.8-13ubuntu6.2) ...
|
||||
2026-06-27T12:29:56.8118498Z Selecting previously unselected package libavahi-common3:amd64.
|
||||
2026-06-27T12:29:56.8144825Z Preparing to unpack .../23-libavahi-common3_0.8-13ubuntu6.2_amd64.deb ...
|
||||
2026-06-27T12:29:56.8180402Z Unpacking libavahi-common3:amd64 (0.8-13ubuntu6.2) ...
|
||||
2026-06-27T12:29:56.8481364Z Selecting previously unselected package libavahi-client3:amd64.
|
||||
2026-06-27T12:29:56.8504185Z Preparing to unpack .../24-libavahi-client3_0.8-13ubuntu6.2_amd64.deb ...
|
||||
2026-06-27T12:29:56.8527325Z Unpacking libavahi-client3:amd64 (0.8-13ubuntu6.2) ...
|
||||
2026-06-27T12:29:56.8768636Z Selecting previously unselected package libcups2t64:amd64.
|
||||
2026-06-27T12:29:56.8786491Z Preparing to unpack .../25-libcups2t64_2.4.7-1.2ubuntu7.14_amd64.deb ...
|
||||
2026-06-27T12:29:56.8808431Z Unpacking libcups2t64:amd64 (2.4.7-1.2ubuntu7.14) ...
|
||||
2026-06-27T12:29:56.9096960Z Selecting previously unselected package libdrm-amdgpu1:amd64.
|
||||
2026-06-27T12:29:56.9100617Z Preparing to unpack .../26-libdrm-amdgpu1_2.4.125-1ubuntu0.1~24.04.2_amd64.deb ...
|
||||
2026-06-27T12:29:56.9134511Z Unpacking libdrm-amdgpu1:amd64 (2.4.125-1ubuntu0.1~24.04.2) ...
|
||||
2026-06-27T12:29:56.9636914Z Selecting previously unselected package libpciaccess0:amd64.
|
||||
2026-06-27T12:29:56.9697603Z Preparing to unpack .../27-libpciaccess0_0.17-3ubuntu0.24.04.2_amd64.deb ...
|
||||
2026-06-27T12:29:56.9876579Z Unpacking libpciaccess0:amd64 (0.17-3ubuntu0.24.04.2) ...
|
||||
2026-06-27T12:29:57.0211879Z Selecting previously unselected package libdrm-intel1:amd64.
|
||||
2026-06-27T12:29:57.0307871Z Preparing to unpack .../28-libdrm-intel1_2.4.125-1ubuntu0.1~24.04.2_amd64.deb ...
|
||||
2026-06-27T12:29:57.0351988Z Unpacking libdrm-intel1:amd64 (2.4.125-1ubuntu0.1~24.04.2) ...
|
||||
2026-06-27T12:29:57.0748134Z Selecting previously unselected package libfontenc1:amd64.
|
||||
2026-06-27T12:29:57.0777424Z Preparing to unpack .../29-libfontenc1_1%3a1.1.8-1build1_amd64.deb ...
|
||||
2026-06-27T12:29:57.0825973Z Unpacking libfontenc1:amd64 (1:1.1.8-1build1) ...
|
||||
2026-06-27T12:29:57.1267005Z Selecting previously unselected package libllvm20:amd64.
|
||||
2026-06-27T12:29:57.1293565Z Preparing to unpack .../30-libllvm20_1%3a20.1.2-0ubuntu1~24.04.3_amd64.deb ...
|
||||
2026-06-27T12:29:57.1334840Z Unpacking libllvm20:amd64 (1:20.1.2-0ubuntu1~24.04.3) ...
|
||||
2026-06-27T12:29:57.8980898Z Selecting previously unselected package libx11-xcb1:amd64.
|
||||
2026-06-27T12:29:57.9057528Z Preparing to unpack .../31-libx11-xcb1_2%3a1.8.7-1build1_amd64.deb ...
|
||||
2026-06-27T12:29:57.9083148Z Unpacking libx11-xcb1:amd64 (2:1.8.7-1build1) ...
|
||||
2026-06-27T12:29:57.9349231Z Selecting previously unselected package libxcb-dri3-0:amd64.
|
||||
2026-06-27T12:29:57.9385913Z Preparing to unpack .../32-libxcb-dri3-0_1.15-1ubuntu2_amd64.deb ...
|
||||
2026-06-27T12:29:57.9417344Z Unpacking libxcb-dri3-0:amd64 (1.15-1ubuntu2) ...
|
||||
2026-06-27T12:29:57.9715654Z Selecting previously unselected package libxcb-present0:amd64.
|
||||
2026-06-27T12:29:57.9716511Z Preparing to unpack .../33-libxcb-present0_1.15-1ubuntu2_amd64.deb ...
|
||||
2026-06-27T12:29:57.9734621Z Unpacking libxcb-present0:amd64 (1.15-1ubuntu2) ...
|
||||
2026-06-27T12:29:57.9990875Z Selecting previously unselected package libxcb-randr0:amd64.
|
||||
2026-06-27T12:29:58.0027302Z Preparing to unpack .../34-libxcb-randr0_1.15-1ubuntu2_amd64.deb ...
|
||||
2026-06-27T12:29:58.0064111Z Unpacking libxcb-randr0:amd64 (1.15-1ubuntu2) ...
|
||||
2026-06-27T12:29:58.0358335Z Selecting previously unselected package libxcb-sync1:amd64.
|
||||
2026-06-27T12:29:58.0377266Z Preparing to unpack .../35-libxcb-sync1_1.15-1ubuntu2_amd64.deb ...
|
||||
2026-06-27T12:29:58.0404159Z Unpacking libxcb-sync1:amd64 (1.15-1ubuntu2) ...
|
||||
2026-06-27T12:29:58.0702568Z Selecting previously unselected package libxcb-xfixes0:amd64.
|
||||
2026-06-27T12:29:58.0735170Z Preparing to unpack .../36-libxcb-xfixes0_1.15-1ubuntu2_amd64.deb ...
|
||||
2026-06-27T12:29:58.0767209Z Unpacking libxcb-xfixes0:amd64 (1.15-1ubuntu2) ...
|
||||
2026-06-27T12:29:58.1076190Z Selecting previously unselected package libxshmfence1:amd64.
|
||||
2026-06-27T12:29:58.1106936Z Preparing to unpack .../37-libxshmfence1_1.3-1build5_amd64.deb ...
|
||||
2026-06-27T12:29:58.1152686Z Unpacking libxshmfence1:amd64 (1.3-1build5) ...
|
||||
2026-06-27T12:29:58.1441558Z Selecting previously unselected package mesa-libgallium:amd64.
|
||||
2026-06-27T12:29:58.1467943Z Preparing to unpack .../38-mesa-libgallium_25.2.8-0ubuntu0.24.04.2_amd64.deb ...
|
||||
2026-06-27T12:29:58.1528453Z Unpacking mesa-libgallium:amd64 (25.2.8-0ubuntu0.24.04.2) ...
|
||||
2026-06-27T12:29:58.3677723Z Selecting previously unselected package libgbm1:amd64.
|
||||
2026-06-27T12:29:58.3739343Z Preparing to unpack .../39-libgbm1_25.2.8-0ubuntu0.24.04.2_amd64.deb ...
|
||||
2026-06-27T12:29:58.3781464Z Unpacking libgbm1:amd64 (25.2.8-0ubuntu0.24.04.2) ...
|
||||
2026-06-27T12:29:58.4160413Z Selecting previously unselected package libvulkan1:amd64.
|
||||
2026-06-27T12:29:58.4187257Z Preparing to unpack .../40-libvulkan1_1.3.275.0-1build1_amd64.deb ...
|
||||
2026-06-27T12:29:58.4211230Z Unpacking libvulkan1:amd64 (1.3.275.0-1build1) ...
|
||||
2026-06-27T12:29:58.4577990Z Selecting previously unselected package libgl1-mesa-dri:amd64.
|
||||
2026-06-27T12:29:58.4595883Z Preparing to unpack .../41-libgl1-mesa-dri_25.2.8-0ubuntu0.24.04.2_amd64.deb ...
|
||||
2026-06-27T12:29:58.4660743Z Unpacking libgl1-mesa-dri:amd64 (25.2.8-0ubuntu0.24.04.2) ...
|
||||
2026-06-27T12:29:58.4939126Z Selecting previously unselected package libxcb-glx0:amd64.
|
||||
2026-06-27T12:29:58.4968840Z Preparing to unpack .../42-libxcb-glx0_1.15-1ubuntu2_amd64.deb ...
|
||||
2026-06-27T12:29:58.5005512Z Unpacking libxcb-glx0:amd64 (1.15-1ubuntu2) ...
|
||||
2026-06-27T12:29:58.5308734Z Selecting previously unselected package libxxf86vm1:amd64.
|
||||
2026-06-27T12:29:58.5330256Z Preparing to unpack .../43-libxxf86vm1_1%3a1.1.4-1build4_amd64.deb ...
|
||||
2026-06-27T12:29:58.5350775Z Unpacking libxxf86vm1:amd64 (1:1.1.4-1build4) ...
|
||||
2026-06-27T12:29:58.6256611Z Selecting previously unselected package libglx-mesa0:amd64.
|
||||
2026-06-27T12:29:58.6257251Z Preparing to unpack .../44-libglx-mesa0_25.2.8-0ubuntu0.24.04.2_amd64.deb ...
|
||||
2026-06-27T12:29:58.6304189Z Unpacking libglx-mesa0:amd64 (25.2.8-0ubuntu0.24.04.2) ...
|
||||
2026-06-27T12:29:58.7458115Z Selecting previously unselected package libnspr4:amd64.
|
||||
2026-06-27T12:29:58.7495398Z Preparing to unpack .../45-libnspr4_2%3a4.35-1.1build1_amd64.deb ...
|
||||
2026-06-27T12:29:58.7508426Z Unpacking libnspr4:amd64 (2:4.35-1.1build1) ...
|
||||
2026-06-27T12:29:58.7856922Z Selecting previously unselected package libnss3:amd64.
|
||||
2026-06-27T12:29:58.7886591Z Preparing to unpack .../46-libnss3_2%3a3.98-1ubuntu0.1_amd64.deb ...
|
||||
2026-06-27T12:29:58.7907591Z Unpacking libnss3:amd64 (2:3.98-1ubuntu0.1) ...
|
||||
2026-06-27T12:29:58.8538244Z Selecting previously unselected package libxmu6:amd64.
|
||||
2026-06-27T12:29:58.8557712Z Preparing to unpack .../47-libxmu6_2%3a1.1.3-3build2_amd64.deb ...
|
||||
2026-06-27T12:29:58.8628175Z Unpacking libxmu6:amd64 (2:1.1.3-3build2) ...
|
||||
2026-06-27T12:29:58.9358779Z Selecting previously unselected package libxpm4:amd64.
|
||||
2026-06-27T12:29:58.9378349Z Preparing to unpack .../48-libxpm4_1%3a3.5.17-1build2_amd64.deb ...
|
||||
2026-06-27T12:29:58.9405841Z Unpacking libxpm4:amd64 (1:3.5.17-1build2) ...
|
||||
2026-06-27T12:29:58.9713095Z Selecting previously unselected package libxaw7:amd64.
|
||||
2026-06-27T12:29:58.9749998Z Preparing to unpack .../49-libxaw7_2%3a1.0.14-1build2_amd64.deb ...
|
||||
2026-06-27T12:29:58.9788039Z Unpacking libxaw7:amd64 (2:1.0.14-1build2) ...
|
||||
2026-06-27T12:29:59.0344842Z Selecting previously unselected package libxcomposite1:amd64.
|
||||
2026-06-27T12:29:59.0385144Z Preparing to unpack .../50-libxcomposite1_1%3a0.4.5-1build3_amd64.deb ...
|
||||
2026-06-27T12:29:59.0412966Z Unpacking libxcomposite1:amd64 (1:0.4.5-1build3) ...
|
||||
2026-06-27T12:29:59.1108472Z Selecting previously unselected package libxdamage1:amd64.
|
||||
2026-06-27T12:29:59.1138027Z Preparing to unpack .../51-libxdamage1_1%3a1.1.6-1build1_amd64.deb ...
|
||||
2026-06-27T12:29:59.1198034Z Unpacking libxdamage1:amd64 (1:1.1.6-1build1) ...
|
||||
2026-06-27T12:29:59.1507633Z Selecting previously unselected package libxfixes3:amd64.
|
||||
2026-06-27T12:29:59.1538920Z Preparing to unpack .../52-libxfixes3_1%3a6.0.0-2build1_amd64.deb ...
|
||||
2026-06-27T12:29:59.1588705Z Unpacking libxfixes3:amd64 (1:6.0.0-2build1) ...
|
||||
2026-06-27T12:29:59.1948055Z Selecting previously unselected package libxfont2:amd64.
|
||||
2026-06-27T12:29:59.1976643Z Preparing to unpack .../53-libxfont2_1%3a2.0.6-1build1_amd64.deb ...
|
||||
2026-06-27T12:29:59.2025517Z Unpacking libxfont2:amd64 (1:2.0.6-1build1) ...
|
||||
2026-06-27T12:29:59.2348606Z Selecting previously unselected package libxkbfile1:amd64.
|
||||
2026-06-27T12:29:59.2397660Z Preparing to unpack .../54-libxkbfile1_1%3a1.1.0-1build4_amd64.deb ...
|
||||
2026-06-27T12:29:59.2407377Z Unpacking libxkbfile1:amd64 (1:1.1.0-1build4) ...
|
||||
2026-06-27T12:29:59.2679911Z Selecting previously unselected package libxrandr2:amd64.
|
||||
2026-06-27T12:29:59.2680471Z Preparing to unpack .../55-libxrandr2_2%3a1.5.2-2build1_amd64.deb ...
|
||||
2026-06-27T12:29:59.2704669Z Unpacking libxrandr2:amd64 (2:1.5.2-2build1) ...
|
||||
2026-06-27T12:29:59.2928745Z Selecting previously unselected package x11-xkb-utils.
|
||||
2026-06-27T12:29:59.3010587Z Preparing to unpack .../56-x11-xkb-utils_7.7+8build2_amd64.deb ...
|
||||
2026-06-27T12:29:59.3016591Z Unpacking x11-xkb-utils (7.7+8build2) ...
|
||||
2026-06-27T12:29:59.3398898Z Selecting previously unselected package xfonts-encodings.
|
||||
2026-06-27T12:29:59.3429169Z Preparing to unpack .../57-xfonts-encodings_1%3a1.0.5-0ubuntu2_all.deb ...
|
||||
2026-06-27T12:29:59.3448993Z Unpacking xfonts-encodings (1:1.0.5-0ubuntu2) ...
|
||||
2026-06-27T12:29:59.3848305Z Selecting previously unselected package xfonts-utils.
|
||||
2026-06-27T12:29:59.3872902Z Preparing to unpack .../58-xfonts-utils_1%3a7.7+6build3_amd64.deb ...
|
||||
2026-06-27T12:29:59.3925392Z Unpacking xfonts-utils (1:7.7+6build3) ...
|
||||
2026-06-27T12:29:59.4504135Z Selecting previously unselected package xfonts-cyrillic.
|
||||
2026-06-27T12:29:59.4553841Z Preparing to unpack .../59-xfonts-cyrillic_1%3a1.0.5+nmu1_all.deb ...
|
||||
2026-06-27T12:29:59.4587260Z Unpacking xfonts-cyrillic (1:1.0.5+nmu1) ...
|
||||
2026-06-27T12:29:59.5071994Z Selecting previously unselected package xfonts-scalable.
|
||||
2026-06-27T12:29:59.5148773Z Preparing to unpack .../60-xfonts-scalable_1%3a1.0.3-1.3_all.deb ...
|
||||
2026-06-27T12:29:59.5188958Z Unpacking xfonts-scalable (1:1.0.3-1.3) ...
|
||||
2026-06-27T12:29:59.5761382Z Selecting previously unselected package xserver-common.
|
||||
2026-06-27T12:29:59.5797149Z Preparing to unpack .../61-xserver-common_2%3a21.1.12-1ubuntu1.6_all.deb ...
|
||||
2026-06-27T12:29:59.5833113Z Unpacking xserver-common (2:21.1.12-1ubuntu1.6) ...
|
||||
2026-06-27T12:29:59.6297941Z Selecting previously unselected package libglvnd0:amd64.
|
||||
2026-06-27T12:29:59.6317132Z Preparing to unpack .../62-libglvnd0_1.7.0-1build1_amd64.deb ...
|
||||
2026-06-27T12:29:59.6375824Z Unpacking libglvnd0:amd64 (1.7.0-1build1) ...
|
||||
2026-06-27T12:29:59.6898217Z Selecting previously unselected package libglx0:amd64.
|
||||
2026-06-27T12:29:59.6987434Z Preparing to unpack .../63-libglx0_1.7.0-1build1_amd64.deb ...
|
||||
2026-06-27T12:29:59.7041170Z Unpacking libglx0:amd64 (1.7.0-1build1) ...
|
||||
2026-06-27T12:29:59.7538201Z Selecting previously unselected package libgl1:amd64.
|
||||
2026-06-27T12:29:59.7567367Z Preparing to unpack .../64-libgl1_1.7.0-1build1_amd64.deb ...
|
||||
2026-06-27T12:29:59.7608379Z Unpacking libgl1:amd64 (1.7.0-1build1) ...
|
||||
2026-06-27T12:29:59.8027844Z Selecting previously unselected package xvfb.
|
||||
2026-06-27T12:29:59.8051105Z Preparing to unpack .../65-xvfb_2%3a21.1.12-1ubuntu1.6_amd64.deb ...
|
||||
2026-06-27T12:29:59.8115409Z Unpacking xvfb (2:21.1.12-1ubuntu1.6) ...
|
||||
2026-06-27T12:29:59.8815864Z Setting up libxcb-dri3-0:amd64 (1.15-1ubuntu2) ...
|
||||
2026-06-27T12:29:59.8917302Z Setting up libx11-xcb1:amd64 (2:1.8.7-1build1) ...
|
||||
2026-06-27T12:29:59.9001648Z Setting up libpciaccess0:amd64 (0.17-3ubuntu0.24.04.2) ...
|
||||
2026-06-27T12:29:59.9127426Z Setting up libxmu6:amd64 (2:1.1.3-3build2) ...
|
||||
2026-06-27T12:29:59.9207499Z Setting up libxdamage1:amd64 (1:1.1.6-1build1) ...
|
||||
2026-06-27T12:29:59.9297509Z Setting up libxcb-xfixes0:amd64 (1.15-1ubuntu2) ...
|
||||
2026-06-27T12:29:59.9369956Z Setting up libxpm4:amd64 (1:3.5.17-1build2) ...
|
||||
2026-06-27T12:29:59.9476533Z Setting up libxi6:amd64 (2:1.8.1-1build1) ...
|
||||
2026-06-27T12:29:59.9547162Z Setting up fonts-noto-color-emoji (2.047-0ubuntu0.24.04.1) ...
|
||||
2026-06-27T12:29:59.9657561Z Setting up libglvnd0:amd64 (1.7.0-1build1) ...
|
||||
2026-06-27T12:29:59.9723581Z Setting up libxcb-glx0:amd64 (1.15-1ubuntu2) ...
|
||||
2026-06-27T12:29:59.9789575Z Setting up libsensors-config (1:3.6.0-9build1) ...
|
||||
2026-06-27T12:29:59.9977819Z Setting up fonts-wqy-zenhei (0.9.45-8) ...
|
||||
2026-06-27T12:30:00.0344505Z Setting up fonts-freefont-ttf (20211204+svn4273-2) ...
|
||||
2026-06-27T12:30:00.0438186Z Setting up xkb-data (2.41-2ubuntu1.1) ...
|
||||
2026-06-27T12:30:00.0519182Z Setting up libxaw7:amd64 (2:1.0.14-1build2) ...
|
||||
2026-06-27T12:30:00.0632646Z Setting up libxxf86vm1:amd64 (1:1.1.4-1build4) ...
|
||||
2026-06-27T12:30:00.0728864Z Setting up libxcb-present0:amd64 (1.15-1ubuntu2) ...
|
||||
2026-06-27T12:30:00.0825264Z Setting up libasound2-data (1.2.11-1ubuntu0.2) ...
|
||||
2026-06-27T12:30:00.0943785Z Setting up libfontenc1:amd64 (1:1.1.8-1build1) ...
|
||||
2026-06-27T12:30:00.1057780Z Setting up libasound2t64:amd64 (1.2.11-1ubuntu0.2) ...
|
||||
2026-06-27T12:30:00.1186853Z Setting up fonts-tlwg-loma-otf (1:0.7.3-1) ...
|
||||
2026-06-27T12:30:00.1286620Z Setting up libnspr4:amd64 (2:4.35-1.1build1) ...
|
||||
2026-06-27T12:30:00.1429741Z Setting up libxfixes3:amd64 (1:6.0.0-2build1) ...
|
||||
2026-06-27T12:30:00.1564533Z Setting up libxcb-sync1:amd64 (1.15-1ubuntu2) ...
|
||||
2026-06-27T12:30:00.1648849Z Setting up libavahi-common-data:amd64 (0.8-13ubuntu6.2) ...
|
||||
2026-06-27T12:30:00.1749059Z Setting up libatspi2.0-0t64:amd64 (2.52.0-1build1) ...
|
||||
2026-06-27T12:30:00.1828573Z Setting up xfonts-encodings (1:1.0.5-0ubuntu2) ...
|
||||
2026-06-27T12:30:00.1906805Z Setting up libxrandr2:amd64 (2:1.5.2-2build1) ...
|
||||
2026-06-27T12:30:00.1978076Z Setting up libllvm20:amd64 (1:20.1.2-0ubuntu1~24.04.3) ...
|
||||
2026-06-27T12:30:00.2061550Z Setting up libsensors5:amd64 (1:3.6.0-9build1) ...
|
||||
2026-06-27T12:30:00.2199197Z Setting up libvulkan1:amd64 (1.3.275.0-1build1) ...
|
||||
2026-06-27T12:30:00.2301105Z Setting up fonts-ipafont-gothic (00303-21ubuntu1) ...
|
||||
2026-06-27T12:30:00.2493099Z update-alternatives: using /usr/share/fonts/opentype/ipafont-gothic/ipag.ttf to provide /usr/share/fonts/truetype/fonts-japanese-gothic.ttf (fonts-japanese-gothic.ttf) in auto mode
|
||||
2026-06-27T12:30:00.2582540Z Setting up libxshmfence1:amd64 (1.3-1build5) ...
|
||||
2026-06-27T12:30:00.2699468Z Setting up at-spi2-common (2.52.0-1build1) ...
|
||||
2026-06-27T12:30:00.2828103Z Setting up libxcb-randr0:amd64 (1.15-1ubuntu2) ...
|
||||
2026-06-27T12:30:00.2958465Z Setting up fonts-liberation (1:2.1.5-3) ...
|
||||
2026-06-27T12:30:00.3047180Z Setting up libxkbfile1:amd64 (1:1.1.0-1build4) ...
|
||||
2026-06-27T12:30:00.3169710Z Setting up libdrm-common (2.4.125-1ubuntu0.1~24.04.2) ...
|
||||
2026-06-27T12:30:00.3255670Z Setting up libxcomposite1:amd64 (1:0.4.5-1build3) ...
|
||||
2026-06-27T12:30:00.3368403Z Setting up libxfont2:amd64 (1:2.0.6-1build1) ...
|
||||
2026-06-27T12:30:00.3481429Z Setting up libxmuu1:amd64 (2:1.1.3-3build2) ...
|
||||
2026-06-27T12:30:00.3568481Z Setting up fonts-unifont (1:15.1.01-1build1) ...
|
||||
2026-06-27T12:30:00.3688733Z Setting up libxkbcommon0:amd64 (1.6.0-1build1) ...
|
||||
2026-06-27T12:30:00.3780829Z Setting up libatk1.0-0t64:amd64 (2.52.0-1build1) ...
|
||||
2026-06-27T12:30:00.3892898Z Setting up x11-xkb-utils (7.7+8build2) ...
|
||||
2026-06-27T12:30:00.3955583Z Setting up libavahi-common3:amd64 (0.8-13ubuntu6.2) ...
|
||||
2026-06-27T12:30:00.4018202Z Setting up libnss3:amd64 (2:3.98-1ubuntu0.1) ...
|
||||
2026-06-27T12:30:00.4091025Z Setting up xfonts-utils (1:7.7+6build3) ...
|
||||
2026-06-27T12:30:00.4200703Z Setting up libdrm2:amd64 (2.4.125-1ubuntu0.1~24.04.2) ...
|
||||
2026-06-27T12:30:00.4253545Z Setting up xauth (1:1.1.2-1build1) ...
|
||||
2026-06-27T12:30:00.4311946Z Setting up xfonts-cyrillic (1:1.0.5+nmu1) ...
|
||||
2026-06-27T12:30:00.4811643Z Setting up xserver-common (2:21.1.12-1ubuntu1.6) ...
|
||||
2026-06-27T12:30:00.4891341Z Setting up libavahi-client3:amd64 (0.8-13ubuntu6.2) ...
|
||||
2026-06-27T12:30:00.4975965Z Setting up xfonts-scalable (1:1.0.3-1.3) ...
|
||||
2026-06-27T12:30:00.5435339Z Setting up libdrm-amdgpu1:amd64 (2.4.125-1ubuntu0.1~24.04.2) ...
|
||||
2026-06-27T12:30:00.5508959Z Setting up libatk-bridge2.0-0t64:amd64 (2.52.0-1build1) ...
|
||||
2026-06-27T12:30:00.5598180Z Setting up libdrm-intel1:amd64 (2.4.125-1ubuntu0.1~24.04.2) ...
|
||||
2026-06-27T12:30:00.5698547Z Setting up libcups2t64:amd64 (2.4.7-1.2ubuntu7.14) ...
|
||||
2026-06-27T12:30:00.5809612Z Setting up mesa-libgallium:amd64 (25.2.8-0ubuntu0.24.04.2) ...
|
||||
2026-06-27T12:30:00.5890583Z Setting up libgbm1:amd64 (25.2.8-0ubuntu0.24.04.2) ...
|
||||
2026-06-27T12:30:00.5946424Z Setting up libgl1-mesa-dri:amd64 (25.2.8-0ubuntu0.24.04.2) ...
|
||||
2026-06-27T12:30:00.6113114Z Setting up libglx-mesa0:amd64 (25.2.8-0ubuntu0.24.04.2) ...
|
||||
2026-06-27T12:30:00.6230623Z Setting up libglx0:amd64 (1.7.0-1build1) ...
|
||||
2026-06-27T12:30:00.6358249Z Setting up libgl1:amd64 (1.7.0-1build1) ...
|
||||
2026-06-27T12:30:00.6476917Z Setting up xvfb (2:21.1.12-1ubuntu1.6) ...
|
||||
2026-06-27T12:30:00.6588145Z Processing triggers for fontconfig (2.15.0-1.1ubuntu2) ...
|
||||
2026-06-27T12:30:00.7725048Z Processing triggers for libc-bin (2.39-0ubuntu8.7) ...
|
||||
2026-06-27T12:30:01.2294434Z ::group::Run set -e
|
||||
2026-06-27T12:30:01.2294765Z set -e
|
||||
2026-06-27T12:30:01.2294873Z EXPECTED_VERSION="$(git rev-parse --short HEAD)"
|
||||
2026-06-27T12:30:01.2294970Z for i in $(seq 1 60); do
|
||||
2026-06-27T12:30:01.2295049Z VERSION_BODY="$(curl -fsS "http://${DEPLOY_HOST}/taxbaik/version.txt" || true)"
|
||||
2026-06-27T12:30:01.2295148Z BLOG_STATUS="$(curl -s -o /dev/null -w '%{http_code}' "http://${DEPLOY_HOST}/taxbaik/blog/accountant-mistakes-5" || true)"
|
||||
2026-06-27T12:30:01.2295260Z if echo "$VERSION_BODY" | grep -q "Version: ${EXPECTED_VERSION}" && [ "$BLOG_STATUS" = "200" ]; then
|
||||
2026-06-27T12:30:01.2295356Z echo "Deployment is ready for ${EXPECTED_VERSION}"
|
||||
2026-06-27T12:30:01.2295435Z exit 0
|
||||
2026-06-27T12:30:01.2295546Z fi
|
||||
2026-06-27T12:30:01.2295634Z echo "Waiting for deployment ${EXPECTED_VERSION}; blog status=${BLOG_STATUS}; version=${VERSION_BODY}"
|
||||
2026-06-27T12:30:01.2295732Z sleep 10
|
||||
2026-06-27T12:30:01.2295818Z done
|
||||
2026-06-27T12:30:01.2295888Z echo "Deployment did not publish expected version ${EXPECTED_VERSION} in time" >&2
|
||||
2026-06-27T12:30:01.2295977Z exit 1
|
||||
2026-06-27T12:30:01.2296048Z shell: bash --noprofile --norc -e -o pipefail {0}
|
||||
2026-06-27T12:30:01.2296336Z env:
|
||||
2026-06-27T12:30:01.2296411Z DEPLOY_HOST: ***
|
||||
2026-06-27T12:30:01.2296493Z ::endgroup::
|
||||
2026-06-27T12:30:01.3254169Z Waiting for deployment a58aa7e; blog status=200; version=Version: 9f7e016
|
||||
2026-06-27T12:30:01.3255216Z Built: 2026-06-27 12:25:52 UTC
|
||||
2026-06-27T12:30:11.4042857Z Waiting for deployment a58aa7e; blog status=200; version=Version: 9f7e016
|
||||
2026-06-27T12:30:11.4043666Z Built: 2026-06-27 12:25:52 UTC
|
||||
2026-06-27T12:30:21.4167471Z curl: (22) The requested URL returned error: 502
|
||||
2026-06-27T12:30:21.4277572Z Waiting for deployment a58aa7e; blog status=502; version=
|
||||
2026-06-27T12:30:31.4431020Z curl: (22) The requested URL returned error: 502
|
||||
2026-06-27T12:30:31.4639354Z Waiting for deployment a58aa7e; blog status=502; version=
|
||||
2026-06-27T12:30:41.5808920Z Deployment is ready for a58aa7e
|
||||
2026-06-27T12:30:41.7045667Z ::group::Run npm run test:e2e
|
||||
2026-06-27T12:30:41.7046302Z npm run test:e2e
|
||||
2026-06-27T12:30:41.7046499Z shell: bash --noprofile --norc -e -o pipefail {0}
|
||||
2026-06-27T12:30:41.7046695Z env:
|
||||
2026-06-27T12:30:41.7046797Z E2E_BASE_URL: http://***/taxbaik
|
||||
2026-06-27T12:30:41.7046897Z E2E_ADMIN_USERNAME: admin
|
||||
2026-06-27T12:30:41.7046972Z E2E_ADMIN_PASSWORD: ***
|
||||
2026-06-27T12:30:41.7047051Z ::endgroup::
|
||||
2026-06-27T12:30:41.9109487Z
|
||||
2026-06-27T12:30:41.9110189Z > test:e2e
|
||||
2026-06-27T12:30:41.9110310Z > playwright test
|
||||
2026-06-27T12:30:41.9110396Z
|
||||
2026-06-27T12:30:43.8046225Z
|
||||
2026-06-27T12:30:43.8046928Z Running 8 tests using 1 worker
|
||||
2026-06-27T12:30:43.8050479Z
|
||||
2026-06-27T12:30:48.0177348Z ✓ 1 [chromium] › tests/e2e/admin-login.spec.ts:8:7 › admin authentication › logs in through the real browser UI and reaches dashboard (2.5s)
|
||||
2026-06-27T12:30:48.2915426Z - 2 [chromium] › tests/e2e/admin-password-change.spec.ts:10:7 › admin password change › changes password through the real admin UI
|
||||
2026-06-27T12:31:11.0534606Z ✘ 3 [chromium] › tests/e2e/admin-smoke.spec.ts:9:7 › admin smoke › navigates the main admin menus without circuit errors (22.6s)
|
||||
2026-06-27T12:31:35.0777222Z ✘ 4 [chromium] › tests/e2e/admin-smoke.spec.ts:9:7 › admin smoke › navigates the main admin menus without circuit errors (retry #1) (23.0s)
|
||||
2026-06-27T12:31:37.0886042Z ✓ 5 [chromium] › tests/e2e/blog-seo.spec.ts:6:7 › blog seo › exposes title description and canonical on blog detail pages (1.2s)
|
||||
2026-06-27T12:31:37.1698892Z ✓ 6 [chromium] › tests/e2e/contact-submit.spec.ts:9:7 › contact submit › creates an inquiry through the public API (56ms)
|
||||
2026-06-27T12:32:08.5039961Z ✘ 7 [chromium] › tests/e2e/contact-submit.spec.ts:26:7 › contact submit › creates an inquiry and shows it in admin list (31.2s)
|
||||
2026-06-27T12:32:33.1123930Z ✘ 8 [chromium] › tests/e2e/contact-submit.spec.ts:26:7 › contact submit › creates an inquiry and shows it in admin list (retry #1) (23.6s)
|
||||
2026-06-27T12:32:46.3480272Z ✘ 9 [chromium] › tests/e2e/inquiry-detail.spec.ts:9:7 › inquiry detail › shows the created inquiry and admin action links (12.2s)
|
||||
2026-06-27T12:32:59.5966610Z ✘ 10 [chromium] › tests/e2e/inquiry-detail.spec.ts:9:7 › inquiry detail › shows the created inquiry and admin action links (retry #1) (12.3s)
|
||||
2026-06-27T12:33:02.1968464Z ✓ 11 [chromium] › tests/e2e/public-smoke.spec.ts:6:7 › public smoke › loads the main public pages with SEO basics (1.8s)
|
||||
2026-06-27T12:33:02.2524349Z
|
||||
2026-06-27T12:33:02.2531287Z
|
||||
2026-06-27T12:33:02.2545075Z 1) [chromium] › tests/e2e/admin-smoke.spec.ts:9:7 › admin smoke › navigates the main admin menus without circuit errors
|
||||
2026-06-27T12:33:02.2545755Z
|
||||
2026-06-27T12:33:02.2545909Z Error: [2mexpect([22m[31mlocator[39m[2m).[22mtoBeVisible[2m([22m[2m)[22m failed
|
||||
2026-06-27T12:33:02.2547433Z
|
||||
2026-06-27T12:33:02.2547631Z Locator: locator('.mud-main-content').getByText(/이번달 문의/).first()
|
||||
2026-06-27T12:33:02.2547801Z Expected: visible
|
||||
2026-06-27T12:33:02.2548037Z Timeout: 20000ms
|
||||
2026-06-27T12:33:02.2548148Z Error: element(s) not found
|
||||
2026-06-27T12:33:02.2548252Z
|
||||
2026-06-27T12:33:02.2548343Z Call log:
|
||||
2026-06-27T12:33:02.2548577Z [2m - Expect "toBeVisible" with timeout 20000ms[22m
|
||||
2026-06-27T12:33:02.2548699Z [2m - waiting for locator('.mud-main-content').getByText(/이번달 문의/).first()[22m
|
||||
2026-06-27T12:33:02.2548836Z
|
||||
2026-06-27T12:33:02.2548926Z
|
||||
2026-06-27T12:33:02.2549044Z 32 | await page.goto(`${baseUrl}${check.path}`);
|
||||
2026-06-27T12:33:02.2549157Z 33 | await expect(page).toHaveURL(new RegExp(`${check.path}$`));
|
||||
2026-06-27T12:33:02.2549284Z > 34 | await expect(page.locator('.mud-main-content').getByText(check.content).first()).toBeVisible({ timeout: 20_000 });
|
||||
2026-06-27T12:33:02.2549443Z | ^
|
||||
2026-06-27T12:33:02.2549564Z 35 | }
|
||||
2026-06-27T12:33:02.2549660Z 36 |
|
||||
2026-06-27T12:33:02.2549761Z 37 | expect(consoleErrors, 'browser console/page errors').toEqual([]);
|
||||
2026-06-27T12:33:02.2549890Z at /workspace/***/taxbaik/tests/e2e/admin-smoke.spec.ts:34:88
|
||||
2026-06-27T12:33:02.2550023Z
|
||||
2026-06-27T12:33:02.2550178Z attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
|
||||
2026-06-27T12:33:02.2550366Z test-results/admin-smoke-admin-smoke-na-bbce9-enus-without-circuit-errors-chromium/test-failed-1.png
|
||||
2026-06-27T12:33:02.2550570Z ────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:33:02.2550741Z
|
||||
2026-06-27T12:33:02.2550871Z attachment #2: video (video/webm) ──────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:33:02.2551052Z test-results/admin-smoke-admin-smoke-na-bbce9-enus-without-circuit-errors-chromium/video.webm
|
||||
2026-06-27T12:33:02.2551185Z ────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:33:02.2551346Z
|
||||
2026-06-27T12:33:02.2551477Z attachment #3: trace (application/zip) ─────────────────────────────────────────────────────────
|
||||
2026-06-27T12:33:02.2551622Z test-results/admin-smoke-admin-smoke-na-bbce9-enus-without-circuit-errors-chromium/trace.zip
|
||||
2026-06-27T12:33:02.2551734Z Usage:
|
||||
2026-06-27T12:33:02.2551838Z
|
||||
2026-06-27T12:33:02.2551951Z npx playwright show-trace test-results/admin-smoke-admin-smoke-na-bbce9-enus-without-circuit-errors-chromium/trace.zip
|
||||
2026-06-27T12:33:02.2552089Z
|
||||
2026-06-27T12:33:02.2552180Z ────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:33:02.2552352Z
|
||||
2026-06-27T12:33:02.2552705Z Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:33:02.2552879Z
|
||||
2026-06-27T12:33:02.2552985Z Error: [2mexpect([22m[31mlocator[39m[2m).[22mtoBeVisible[2m([22m[2m)[22m failed
|
||||
2026-06-27T12:33:02.2553138Z
|
||||
2026-06-27T12:33:02.2553264Z Locator: locator('.mud-main-content').getByText(/이번달 문의/).first()
|
||||
2026-06-27T12:33:02.2553424Z Expected: visible
|
||||
2026-06-27T12:33:02.2553606Z Timeout: 20000ms
|
||||
2026-06-27T12:33:02.2553767Z Error: element(s) not found
|
||||
2026-06-27T12:33:02.2553930Z
|
||||
2026-06-27T12:33:02.2554063Z Call log:
|
||||
2026-06-27T12:33:02.2554230Z [2m - Expect "toBeVisible" with timeout 20000ms[22m
|
||||
2026-06-27T12:33:02.2554388Z [2m - waiting for locator('.mud-main-content').getByText(/이번달 문의/).first()[22m
|
||||
2026-06-27T12:33:02.2554539Z
|
||||
2026-06-27T12:33:02.2554701Z
|
||||
2026-06-27T12:33:02.2554856Z 32 | await page.goto(`${baseUrl}${check.path}`);
|
||||
2026-06-27T12:33:02.2555020Z 33 | await expect(page).toHaveURL(new RegExp(`${check.path}$`));
|
||||
2026-06-27T12:33:02.2555200Z > 34 | await expect(page.locator('.mud-main-content').getByText(check.content).first()).toBeVisible({ timeout: 20_000 });
|
||||
2026-06-27T12:33:02.2555419Z | ^
|
||||
2026-06-27T12:33:02.2555591Z 35 | }
|
||||
2026-06-27T12:33:02.2555723Z 36 |
|
||||
2026-06-27T12:33:02.2555884Z 37 | expect(consoleErrors, 'browser console/page errors').toEqual([]);
|
||||
2026-06-27T12:33:02.2556012Z at /workspace/***/taxbaik/tests/e2e/admin-smoke.spec.ts:34:88
|
||||
2026-06-27T12:33:02.2556425Z
|
||||
2026-06-27T12:33:02.2556578Z attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
|
||||
2026-06-27T12:33:02.2556826Z test-results/admin-smoke-admin-smoke-na-bbce9-enus-without-circuit-errors-chromium-retry1/test-failed-1.png
|
||||
2026-06-27T12:33:02.2557065Z ────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:33:02.2557269Z
|
||||
2026-06-27T12:33:02.2557459Z attachment #2: video (video/webm) ──────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:33:02.2557681Z test-results/admin-smoke-admin-smoke-na-bbce9-enus-without-circuit-errors-chromium-retry1/video.webm
|
||||
2026-06-27T12:33:02.2557852Z ────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:33:02.2558051Z
|
||||
2026-06-27T12:33:02.2558201Z attachment #3: trace (application/zip) ─────────────────────────────────────────────────────────
|
||||
2026-06-27T12:33:02.2558410Z test-results/admin-smoke-admin-smoke-na-bbce9-enus-without-circuit-errors-chromium-retry1/trace.zip
|
||||
2026-06-27T12:33:02.2558562Z Usage:
|
||||
2026-06-27T12:33:02.2558720Z
|
||||
2026-06-27T12:33:02.2558865Z npx playwright show-trace test-results/admin-smoke-admin-smoke-na-bbce9-enus-without-circuit-errors-chromium-retry1/trace.zip
|
||||
2026-06-27T12:33:02.2559018Z
|
||||
2026-06-27T12:33:02.2559090Z ────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:33:02.2559220Z
|
||||
2026-06-27T12:33:02.2561056Z 2) [chromium] › tests/e2e/contact-submit.spec.ts:26:7 › contact submit › creates an inquiry and shows it in admin list
|
||||
2026-06-27T12:33:02.2561492Z
|
||||
2026-06-27T12:33:02.2561598Z [31mTest timeout of 30000ms exceeded.[39m
|
||||
2026-06-27T12:33:02.2562083Z
|
||||
2026-06-27T12:33:02.2562226Z Error: [2mexpect([22m[31mlocator[39m[2m).[22mtoBeVisible[2m([22m[2m)[22m failed
|
||||
2026-06-27T12:33:02.2562342Z
|
||||
2026-06-27T12:33:02.2562694Z Locator: locator('.mud-main-content').getByText('문의 관리').first()
|
||||
2026-06-27T12:33:02.2562800Z Expected: visible
|
||||
2026-06-27T12:33:02.2562878Z Error: element(s) not found
|
||||
2026-06-27T12:33:02.2562949Z
|
||||
2026-06-27T12:33:02.2563044Z Call log:
|
||||
2026-06-27T12:33:02.2563126Z [2m - Expect "toBeVisible" with timeout 20000ms[22m
|
||||
2026-06-27T12:33:02.2563214Z [2m - waiting for locator('.mud-main-content').getByText('문의 관리').first()[22m
|
||||
2026-06-27T12:33:02.2563313Z
|
||||
2026-06-27T12:33:02.2563378Z
|
||||
2026-06-27T12:33:02.2563458Z 51 | await loginThroughAdminUi(page, baseUrl, username, password);
|
||||
2026-06-27T12:33:02.2563544Z 52 | await page.goto(`${baseUrl}/admin/inquiries`);
|
||||
2026-06-27T12:33:02.2563685Z > 53 | await expect(page.locator('.mud-main-content').getByText('문의 관리').first()).toBeVisible({ timeout: 20_000 });
|
||||
2026-06-27T12:33:02.2563793Z | ^
|
||||
2026-06-27T12:33:02.2563877Z 54 | });
|
||||
2026-06-27T12:33:02.2563959Z 55 | });
|
||||
2026-06-27T12:33:02.2564031Z 56 |
|
||||
2026-06-27T12:33:02.2564102Z at /workspace/***/taxbaik/tests/e2e/contact-submit.spec.ts:53:80
|
||||
2026-06-27T12:33:02.2564189Z
|
||||
2026-06-27T12:33:02.2564665Z attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
|
||||
2026-06-27T12:33:02.2564824Z test-results/contact-submit-contact-sub-0fd92--and-shows-it-in-admin-list-chromium/test-failed-1.png
|
||||
2026-06-27T12:33:02.2564924Z ────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:33:02.2565086Z
|
||||
2026-06-27T12:33:02.2565264Z attachment #2: video (video/webm) ──────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:33:02.2565612Z test-results/contact-submit-contact-sub-0fd92--and-shows-it-in-admin-list-chromium/video.webm
|
||||
2026-06-27T12:33:02.2565790Z ────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:33:02.2565968Z
|
||||
2026-06-27T12:33:02.2566036Z attachment #3: trace (application/zip) ─────────────────────────────────────────────────────────
|
||||
2026-06-27T12:33:02.2566448Z test-results/contact-submit-contact-sub-0fd92--and-shows-it-in-admin-list-chromium/trace.zip
|
||||
2026-06-27T12:33:02.2566566Z Usage:
|
||||
2026-06-27T12:33:02.2566640Z
|
||||
2026-06-27T12:33:02.2566803Z npx playwright show-trace test-results/contact-submit-contact-sub-0fd92--and-shows-it-in-admin-list-chromium/trace.zip
|
||||
2026-06-27T12:33:02.2567001Z
|
||||
2026-06-27T12:33:02.2567250Z ────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:33:02.2567454Z
|
||||
2026-06-27T12:33:02.2567634Z Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:33:02.2567917Z
|
||||
2026-06-27T12:33:02.2568054Z Error: [2mexpect([22m[31mlocator[39m[2m).[22mtoBeVisible[2m([22m[2m)[22m failed
|
||||
2026-06-27T12:33:02.2568190Z
|
||||
2026-06-27T12:33:02.2568258Z Locator: locator('.mud-main-content').getByText('문의 관리').first()
|
||||
2026-06-27T12:33:02.2568382Z Expected: visible
|
||||
2026-06-27T12:33:02.2568511Z Timeout: 20000ms
|
||||
2026-06-27T12:33:02.2568719Z Error: element(s) not found
|
||||
2026-06-27T12:33:02.2568899Z
|
||||
2026-06-27T12:33:02.2569009Z Call log:
|
||||
2026-06-27T12:33:02.2569138Z [2m - Expect "toBeVisible" with timeout 20000ms[22m
|
||||
2026-06-27T12:33:02.2569294Z [2m - waiting for locator('.mud-main-content').getByText('문의 관리').first()[22m
|
||||
2026-06-27T12:33:02.2569504Z
|
||||
2026-06-27T12:33:02.2569628Z
|
||||
2026-06-27T12:33:02.2569753Z 51 | await loginThroughAdminUi(page, baseUrl, username, password);
|
||||
2026-06-27T12:33:02.2569892Z 52 | await page.goto(`${baseUrl}/admin/inquiries`);
|
||||
2026-06-27T12:33:02.2569976Z > 53 | await expect(page.locator('.mud-main-content').getByText('문의 관리').first()).toBeVisible({ timeout: 20_000 });
|
||||
2026-06-27T12:33:02.2570072Z | ^
|
||||
2026-06-27T12:33:02.2570155Z 54 | });
|
||||
2026-06-27T12:33:02.2570252Z 55 | });
|
||||
2026-06-27T12:33:02.2570325Z 56 |
|
||||
2026-06-27T12:33:02.2570398Z at /workspace/***/taxbaik/tests/e2e/contact-submit.spec.ts:53:80
|
||||
2026-06-27T12:33:02.2570519Z
|
||||
2026-06-27T12:33:02.2570685Z attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
|
||||
2026-06-27T12:33:02.2570950Z test-results/contact-submit-contact-sub-0fd92--and-shows-it-in-admin-list-chromium-retry1/test-failed-1.png
|
||||
2026-06-27T12:33:02.2571233Z ────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:33:02.2571528Z
|
||||
2026-06-27T12:33:02.2571734Z attachment #2: video (video/webm) ──────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:33:02.2571969Z test-results/contact-submit-contact-sub-0fd92--and-shows-it-in-admin-list-chromium-retry1/video.webm
|
||||
2026-06-27T12:33:02.2572189Z ────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:33:02.2572701Z
|
||||
2026-06-27T12:33:02.2572875Z attachment #3: trace (application/zip) ─────────────────────────────────────────────────────────
|
||||
2026-06-27T12:33:02.2573007Z test-results/contact-submit-contact-sub-0fd92--and-shows-it-in-admin-list-chromium-retry1/trace.zip
|
||||
2026-06-27T12:33:02.2573164Z Usage:
|
||||
2026-06-27T12:33:02.2573236Z
|
||||
2026-06-27T12:33:02.2573316Z npx playwright show-trace test-results/contact-submit-contact-sub-0fd92--and-shows-it-in-admin-list-chromium-retry1/trace.zip
|
||||
2026-06-27T12:33:02.2573497Z
|
||||
2026-06-27T12:33:02.2573634Z ────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:33:02.2573839Z
|
||||
2026-06-27T12:33:02.2573970Z 3) [chromium] › tests/e2e/inquiry-detail.spec.ts:9:7 › inquiry detail › shows the created inquiry and admin action links
|
||||
2026-06-27T12:33:02.2574089Z
|
||||
2026-06-27T12:33:02.2574157Z Error: [2mexpect([22m[31mlocator[39m[2m).[22mtoBeVisible[2m([22m[2m)[22m failed
|
||||
2026-06-27T12:33:02.2574251Z
|
||||
2026-06-27T12:33:02.2574417Z Locator: getByText('Detail-1782563554052')
|
||||
2026-06-27T12:33:02.2574630Z Expected: visible
|
||||
2026-06-27T12:33:02.2574767Z Timeout: 10000ms
|
||||
2026-06-27T12:33:02.2574896Z Error: element(s) not found
|
||||
2026-06-27T12:33:02.2575075Z
|
||||
2026-06-27T12:33:02.2575189Z Call log:
|
||||
2026-06-27T12:33:02.2575335Z [2m - Expect "toBeVisible" with timeout 10000ms[22m
|
||||
2026-06-27T12:33:02.2575571Z [2m - waiting for getByText('Detail-1782563554052')[22m
|
||||
2026-06-27T12:33:02.2575703Z
|
||||
2026-06-27T12:33:02.2575787Z
|
||||
2026-06-27T12:33:02.2575907Z 36 |
|
||||
2026-06-27T12:33:02.2576443Z 37 | await expect(page).toHaveURL(/\/taxbaik\/admin\/inquiries\/\d+$/);
|
||||
2026-06-27T12:33:02.2576618Z > 38 | await expect(page.getByText(name)).toBeVisible();
|
||||
2026-06-27T12:33:02.2580360Z | ^
|
||||
2026-06-27T12:33:02.2580564Z 39 | await expect(page.getByText(phone)).toBeVisible();
|
||||
2026-06-27T12:33:02.2580751Z 40 | await expect(page.getByText(message)).toBeVisible();
|
||||
2026-06-27T12:33:02.2580953Z 41 | await expect(page.getByRole('button', { name: '신규' })).toBeVisible();
|
||||
2026-06-27T12:33:02.2581466Z at /workspace/***/taxbaik/tests/e2e/inquiry-detail.spec.ts:38:40
|
||||
2026-06-27T12:33:02.2581734Z
|
||||
2026-06-27T12:33:02.2582304Z attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
|
||||
2026-06-27T12:33:02.2582750Z test-results/inquiry-detail-inquiry-det-43d69-uiry-and-admin-action-links-chromium/test-failed-1.png
|
||||
2026-06-27T12:33:02.2583124Z ────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:33:02.2583293Z
|
||||
2026-06-27T12:33:02.2583368Z attachment #2: video (video/webm) ──────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:33:02.2583479Z test-results/inquiry-detail-inquiry-det-43d69-uiry-and-admin-action-links-chromium/video.webm
|
||||
2026-06-27T12:33:02.2583602Z ────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:33:02.2583876Z
|
||||
2026-06-27T12:33:02.2583952Z attachment #3: trace (application/zip) ─────────────────────────────────────────────────────────
|
||||
2026-06-27T12:33:02.2584087Z test-results/inquiry-detail-inquiry-det-43d69-uiry-and-admin-action-links-chromium/trace.zip
|
||||
2026-06-27T12:33:02.2584245Z Usage:
|
||||
2026-06-27T12:33:02.2584378Z
|
||||
2026-06-27T12:33:02.2584476Z npx playwright show-trace test-results/inquiry-detail-inquiry-det-43d69-uiry-and-admin-action-links-chromium/trace.zip
|
||||
2026-06-27T12:33:02.2584793Z
|
||||
2026-06-27T12:33:02.2584870Z ────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:33:02.2584975Z
|
||||
2026-06-27T12:33:02.2585062Z Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:33:02.2585181Z
|
||||
2026-06-27T12:33:02.2585249Z Error: [2mexpect([22m[31mlocator[39m[2m).[22mtoBeVisible[2m([22m[2m)[22m failed
|
||||
2026-06-27T12:33:02.2585473Z
|
||||
2026-06-27T12:33:02.2585583Z Locator: getByText('Detail-1782563567239')
|
||||
2026-06-27T12:33:02.2585678Z Expected: visible
|
||||
2026-06-27T12:33:02.2585754Z Timeout: 10000ms
|
||||
2026-06-27T12:33:02.2585852Z Error: element(s) not found
|
||||
2026-06-27T12:33:02.2585928Z
|
||||
2026-06-27T12:33:02.2585992Z Call log:
|
||||
2026-06-27T12:33:02.2586254Z [2m - Expect "toBeVisible" with timeout 10000ms[22m
|
||||
2026-06-27T12:33:02.2586384Z [2m - waiting for getByText('Detail-1782563567239')[22m
|
||||
2026-06-27T12:33:02.2586464Z
|
||||
2026-06-27T12:33:02.2586529Z
|
||||
2026-06-27T12:33:02.2586746Z 36 |
|
||||
2026-06-27T12:33:02.2586860Z 37 | await expect(page).toHaveURL(/\/taxbaik\/admin\/inquiries\/\d+$/);
|
||||
2026-06-27T12:33:02.2587263Z > 38 | await expect(page.getByText(name)).toBeVisible();
|
||||
2026-06-27T12:33:02.2587352Z | ^
|
||||
2026-06-27T12:33:02.2587457Z 39 | await expect(page.getByText(phone)).toBeVisible();
|
||||
2026-06-27T12:33:02.2587540Z 40 | await expect(page.getByText(message)).toBeVisible();
|
||||
2026-06-27T12:33:02.2587629Z 41 | await expect(page.getByRole('button', { name: '신규' })).toBeVisible();
|
||||
2026-06-27T12:33:02.2587733Z at /workspace/***/taxbaik/tests/e2e/inquiry-detail.spec.ts:38:40
|
||||
2026-06-27T12:33:02.2588063Z
|
||||
2026-06-27T12:33:02.2588139Z attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
|
||||
2026-06-27T12:33:02.2588254Z test-results/inquiry-detail-inquiry-det-43d69-uiry-and-admin-action-links-chromium-retry1/test-failed-1.png
|
||||
2026-06-27T12:33:02.2588399Z ────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:33:02.2589026Z
|
||||
2026-06-27T12:33:02.2589173Z attachment #2: video (video/webm) ──────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:33:02.2589377Z test-results/inquiry-detail-inquiry-det-43d69-uiry-and-admin-action-links-chromium-retry1/video.webm
|
||||
2026-06-27T12:33:02.2589531Z ────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:33:02.2589941Z
|
||||
2026-06-27T12:33:02.2590016Z attachment #3: trace (application/zip) ─────────────────────────────────────────────────────────
|
||||
2026-06-27T12:33:02.2590155Z test-results/inquiry-detail-inquiry-det-43d69-uiry-and-admin-action-links-chromium-retry1/trace.zip
|
||||
2026-06-27T12:33:02.2590240Z Usage:
|
||||
2026-06-27T12:33:02.2590305Z
|
||||
2026-06-27T12:33:02.2590387Z npx playwright show-trace test-results/inquiry-detail-inquiry-det-43d69-uiry-and-admin-action-links-chromium-retry1/trace.zip
|
||||
2026-06-27T12:33:02.2590758Z
|
||||
2026-06-27T12:33:02.2590843Z ────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-06-27T12:33:02.2590948Z
|
||||
2026-06-27T12:33:02.2591071Z 3 failed
|
||||
2026-06-27T12:33:02.2591147Z [chromium] › tests/e2e/admin-smoke.spec.ts:9:7 › admin smoke › navigates the main admin menus without circuit errors
|
||||
2026-06-27T12:33:02.2591241Z [chromium] › tests/e2e/contact-submit.spec.ts:26:7 › contact submit › creates an inquiry and shows it in admin list
|
||||
2026-06-27T12:33:02.2594170Z [chromium] › tests/e2e/inquiry-detail.spec.ts:9:7 › inquiry detail › shows the created inquiry and admin action links
|
||||
2026-06-27T12:33:02.2594319Z 1 skipped
|
||||
2026-06-27T12:33:02.2594396Z 4 passed (2.3m)
|
||||
2026-06-27T12:33:02.3292719Z ❌ Failure - Main Browser E2E verification
|
||||
2026-06-27T12:33:02.3407069Z exitcode '1': failure
|
||||
2026-06-27T12:33:02.4237692Z ::group::Run echo "Executed tests:"
|
||||
2026-06-27T12:33:02.4238089Z echo "Executed tests:"
|
||||
2026-06-27T12:33:02.4238203Z echo "- admin-login"
|
||||
2026-06-27T12:33:02.4238288Z echo "- admin-smoke"
|
||||
2026-06-27T12:33:02.4238374Z echo "- public-smoke"
|
||||
2026-06-27T12:33:02.4238450Z echo "- blog-seo"
|
||||
2026-06-27T12:33:02.4238523Z echo "- contact-submit"
|
||||
2026-06-27T12:33:02.4238594Z echo "- inquiry-detail"
|
||||
2026-06-27T12:33:02.4238663Z echo "- admin-password-change"
|
||||
2026-06-27T12:33:02.4238739Z shell: bash --noprofile --norc -e -o pipefail {0}
|
||||
2026-06-27T12:33:02.4238836Z ::endgroup::
|
||||
2026-06-27T12:33:02.4726718Z Executed tests:
|
||||
2026-06-27T12:33:02.4727412Z - admin-login
|
||||
2026-06-27T12:33:02.4727523Z - admin-smoke
|
||||
2026-06-27T12:33:02.4727620Z - public-smoke
|
||||
2026-06-27T12:33:02.4730668Z - blog-seo
|
||||
2026-06-27T12:33:02.4730940Z - contact-submit
|
||||
2026-06-27T12:33:02.4731066Z - inquiry-detail
|
||||
2026-06-27T12:33:02.4731169Z - admin-password-change
|
||||
2026-06-27T12:33:02.5034245Z expression '${{ runner.os }}-playwright-\n' rewritten to 'format('{0}-playwright-\n', runner.os)'
|
||||
2026-06-27T12:33:02.5034624Z evaluating expression 'format('{0}-playwright-\n', runner.os)'
|
||||
2026-06-27T12:33:02.5035263Z expression 'format('{0}-playwright-\n', runner.os)' evaluated to '%!t(string=Linux-playwright-\n)'
|
||||
2026-06-27T12:33:02.5035477Z expression '${{ runner.os }}-playwright-${{ hashFiles('package-lock.json') }}' rewritten to 'format('{0}-playwright-{1}', runner.os, hashFiles('package-lock.json'))'
|
||||
2026-06-27T12:33:02.5035585Z evaluating expression 'format('{0}-playwright-{1}', runner.os, hashFiles('package-lock.json'))'
|
||||
2026-06-27T12:33:02.5036023Z Writing entry to tarball workflow/hashfiles/index.js len:168437
|
||||
2026-06-27T12:33:02.5038055Z Extracting content to '/var/run/act'
|
||||
2026-06-27T12:33:02.5066826Z 🐳 docker exec cmd=[node /var/run/act/workflow/hashfiles/index.js] user= workdir=
|
||||
2026-06-27T12:33:02.5067069Z Exec command '[node /var/run/act/workflow/hashfiles/index.js]'
|
||||
2026-06-27T12:33:02.5067254Z Working directory '/workspace/***/taxbaik'
|
||||
2026-06-27T12:33:02.6130490Z expression 'format('{0}-playwright-{1}', runner.os, hashFiles('package-lock.json'))' evaluated to '%!t(string=Linux-playwright-da5b0f170046fc2084d2c68f83e739454760e58eda8b88046a83cc8256c7af8f)'
|
||||
2026-06-27T12:33:02.6222628Z evaluating expression 'success()'
|
||||
2026-06-27T12:33:02.6223194Z expression 'success()' evaluated to 'false'
|
||||
2026-06-27T12:33:02.6223347Z Skipping step 'Cache Playwright browsers' due to 'success()'
|
||||
2026-06-27T12:33:02.6495905Z evaluating expression 'success()'
|
||||
2026-06-27T12:33:02.6496788Z expression 'success()' evaluated to 'false'
|
||||
2026-06-27T12:33:02.6496993Z Skipping step 'Setup Node.js' due to 'success()'
|
||||
2026-06-27T12:33:02.6731068Z evaluating expression 'always()'
|
||||
2026-06-27T12:33:02.6731572Z expression 'always()' evaluated to 'true'
|
||||
2026-06-27T12:33:02.6731704Z ⭐ Run Post Checkout code
|
||||
2026-06-27T12:33:02.6731911Z Writing entry to tarball workflow/outputcmd.txt len:0
|
||||
2026-06-27T12:33:02.6732075Z Writing entry to tarball workflow/statecmd.txt len:0
|
||||
2026-06-27T12:33:02.6732180Z Writing entry to tarball workflow/pathcmd.txt len:0
|
||||
2026-06-27T12:33:02.6732274Z Writing entry to tarball workflow/envs.txt len:0
|
||||
2026-06-27T12:33:02.6732355Z Writing entry to tarball workflow/SUMMARY.md len:0
|
||||
2026-06-27T12:33:02.6732618Z Extracting content to '/var/run/act'
|
||||
2026-06-27T12:33:02.6753720Z run post step for 'Checkout code'
|
||||
2026-06-27T12:33:02.6754319Z executing remote job container: [node /var/run/act/actions/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab/dist/index.js]
|
||||
2026-06-27T12:33:02.6992161Z 🐳 docker exec cmd=[node /var/run/act/actions/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab/dist/index.js] user= workdir=
|
||||
2026-06-27T12:33:02.6992721Z Exec command '[node /var/run/act/actions/c3fe249fe73091a17d6638fe1341e7bd0bcc3466ce52323c0688e83e2463a4ab/dist/index.js]'
|
||||
2026-06-27T12:33:02.6993156Z Working directory '/workspace/***/taxbaik'
|
||||
2026-06-27T12:33:02.8645294Z [command]/usr/bin/git version
|
||||
2026-06-27T12:33:02.8733762Z git version 2.54.0
|
||||
2026-06-27T12:33:02.8774461Z ***
|
||||
2026-06-27T12:33:02.8810113Z Temporarily overriding HOME='/tmp/e7afac29-f3c0-452c-b107-bd05d2eb4e92' before making global git config changes
|
||||
2026-06-27T12:33:02.8814766Z Adding repository directory to the temporary git global config as a safe directory
|
||||
2026-06-27T12:33:02.8822166Z [command]/usr/bin/git config --global --add safe.directory /workspace/***/taxbaik
|
||||
2026-06-27T12:33:02.8868749Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
|
||||
2026-06-27T12:33:02.8907527Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
|
||||
2026-06-27T12:33:02.9152246Z [command]/usr/bin/git config --local --name-only --get-regexp http\.http\:\/\/gitea\:3000\/\.extraheader
|
||||
2026-06-27T12:33:02.9181111Z http.http://gitea:3000/.extraheader
|
||||
2026-06-27T12:33:02.9196674Z [command]/usr/bin/git config --local --unset-all http.http://gitea:3000/.extraheader
|
||||
2026-06-27T12:33:02.9229229Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.http\:\/\/gitea\:3000\/\.extraheader' && git config --local --unset-all 'http.http://gitea:3000/.extraheader' || :"
|
||||
2026-06-27T12:33:02.9461990Z [command]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir:
|
||||
2026-06-27T12:33:02.9496344Z [command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
|
||||
2026-06-27T12:33:02.9797088Z ✅ Success - Post Checkout code
|
||||
2026-06-27T12:33:02.9893182Z Cleaning up container for job browser-e2e
|
||||
2026-06-27T12:33:03.2224555Z Removed container: e1e09f1492c3e0bf142559a016c77c16635d610fdfdf3bf41c6ccaa753041b9f
|
||||
2026-06-27T12:33:03.2235763Z 🐳 docker volume rm GITEA-ACTIONS-TASK-264-WORKFLOW-TaxBaik-Browser-E2E-JOB-browser-45217cc8acb25ecbd03632e1a46b98ea77846cb6699a891987ecb2828106b2a7
|
||||
2026-06-27T12:33:03.2439217Z 🐳 docker volume rm GITEA-ACTIONS-TASK-264-WORKFLOW-TaxBaik-Browser-E2E-JOB-browser-45217cc8acb25ecbd03632e1a46b98ea77846cb6699a891987ecb2828106b2a7-env
|
||||
2026-06-27T12:33:03.3521892Z 🏁 Job failed
|
||||
2026-06-27T12:33:03.3603918Z Job 'browser-e2e' failed
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user