fix: 헤더 알람 경로를 상세 페이지로 수정
- 입금: /accounting/deposit-management → /accounting/deposits/{id}
- 출금: /accounting/withdrawal-management → /accounting/withdrawals/{id}
- 수주: /sales/order-management-sales → /sales/order-management-sales/{id}
- 미수금: /accounting/receivables-status → /accounting/bad-debt-collection/{id}
- 재고: /material/stock-status → /material/stock-status/{id}
- 신규거래처: /accounting/vendors → /accounting/vendors/{id}
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -63,7 +63,7 @@ public function handleOrderChange(Order $order): void
|
||||
'client' => $clientName,
|
||||
'amount' => $amount,
|
||||
]),
|
||||
path: '/sales/order-management-sales',
|
||||
path: "/sales/order-management-sales/{$order->id}",
|
||||
needsApproval: false,
|
||||
expiresAt: Carbon::now()->addDays(7)
|
||||
);
|
||||
@@ -107,7 +107,7 @@ public function handleBadDebtChange(BadDebt $badDebt): void
|
||||
'amount' => $amount,
|
||||
'days' => $days,
|
||||
]),
|
||||
path: '/accounting/receivables-status',
|
||||
path: "/accounting/bad-debt-collection/{$badDebt->id}",
|
||||
needsApproval: false,
|
||||
expiresAt: null // 해결될 때까지 유지
|
||||
);
|
||||
@@ -141,7 +141,7 @@ public function handleStockChange(Stock $stock): void
|
||||
content: __('message.today_issue.safety_stock_alert', [
|
||||
'item' => $itemName,
|
||||
]),
|
||||
path: '/material/stock-status',
|
||||
path: "/material/stock-status/{$stock->id}",
|
||||
needsApproval: false,
|
||||
expiresAt: null // 재고 보충 시까지 유지
|
||||
);
|
||||
@@ -249,7 +249,7 @@ public function handleClientCreated(Client $client): void
|
||||
content: __('message.today_issue.new_client', [
|
||||
'name' => $client->name,
|
||||
]),
|
||||
path: '/accounting/vendors',
|
||||
path: "/accounting/vendors/{$client->id}",
|
||||
needsApproval: false,
|
||||
expiresAt: Carbon::now()->addDays(7)
|
||||
);
|
||||
@@ -292,7 +292,7 @@ public function handleDepositCreated(Deposit $deposit): void
|
||||
'client' => $clientName,
|
||||
'amount' => $amount,
|
||||
]),
|
||||
path: '/accounting/deposit-management',
|
||||
path: "/accounting/deposits/{$deposit->id}",
|
||||
needsApproval: false,
|
||||
expiresAt: Carbon::now()->addDays(7)
|
||||
);
|
||||
@@ -335,7 +335,7 @@ public function handleWithdrawalCreated(Withdrawal $withdrawal): void
|
||||
'client' => $clientName,
|
||||
'amount' => $amount,
|
||||
]),
|
||||
path: '/accounting/withdrawal-management',
|
||||
path: "/accounting/withdrawals/{$withdrawal->id}",
|
||||
needsApproval: false,
|
||||
expiresAt: Carbon::now()->addDays(7)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user