diff --git a/resources/views/hr/payrolls/partials/table.blade.php b/resources/views/hr/payrolls/partials/table.blade.php index c8d0c98a..940d4bdf 100644 --- a/resources/views/hr/payrolls/partials/table.blade.php +++ b/resources/views/hr/payrolls/partials/table.blade.php @@ -170,7 +170,8 @@ @endif - {{-- 이메일 발송 --}} + {{-- 이메일 발송 (확정 상태만) --}} + @if($payroll->status === 'confirmed') @php $userEmail = $payroll->user?->email ?? ''; $hireDate = $profile?->hire_date ?? '-'; @@ -210,6 +211,7 @@ 발송 @endif + @endif