fix(WEB): 등록 버튼 링크를 ?mode=new 방식으로 변경

- 입금관리: /new → ?mode=new
- 출금관리: /new → ?mode=new
- 매출관리: /new → ?mode=new
- 카드관리: /new → ?mode=new

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
유병철
2026-01-23 10:57:32 +09:00
parent cde86c1c92
commit af5fdcba88
4 changed files with 4 additions and 4 deletions

View File

@@ -327,7 +327,7 @@ export function DepositManagement({ initialData, initialPagination }: DepositMan
// 헤더 액션 (등록 버튼)
headerActions: () => (
<Button className="ml-auto" onClick={() => router.push('/ko/accounting/deposits/new')}>
<Button className="ml-auto" onClick={() => router.push('/ko/accounting/deposits?mode=new')}>
<Plus className="w-4 h-4 mr-2" />
</Button>

View File

@@ -189,7 +189,7 @@ export function SalesManagement({ initialData, initialPagination }: SalesManagem
}, [router]);
const handleCreate = useCallback(() => {
router.push('/ko/accounting/sales/new');
router.push('/ko/accounting/sales?mode=new');
}, [router]);
// 토글 핸들러

View File

@@ -299,7 +299,7 @@ export function WithdrawalManagement({ initialData, initialPagination }: Withdra
// 헤더 액션 (등록 버튼)
headerActions: () => (
<Button className="ml-auto" onClick={() => router.push('/ko/accounting/withdrawals/new')}>
<Button className="ml-auto" onClick={() => router.push('/ko/accounting/withdrawals?mode=new')}>
<Plus className="w-4 h-4 mr-2" />
</Button>

View File

@@ -162,7 +162,7 @@ export function CardManagement({ initialData }: CardManagementProps) {
// 핸들러
const handleAddCard = useCallback(() => {
router.push('/ko/hr/card-management/new');
router.push('/ko/hr/card-management?mode=new');
}, [router]);
const handleDeleteCard = useCallback(async () => {