fix: [payroll] 이메일 발송 버튼을 확정 상태에서만 표시
This commit is contained in:
@@ -170,7 +170,8 @@
|
||||
</button>
|
||||
@endif
|
||||
|
||||
{{-- 이메일 발송 --}}
|
||||
{{-- 이메일 발송 (확정 상태만) --}}
|
||||
@if($payroll->status === 'confirmed')
|
||||
@php
|
||||
$userEmail = $payroll->user?->email ?? '';
|
||||
$hireDate = $profile?->hire_date ?? '-';
|
||||
@@ -210,6 +211,7 @@
|
||||
<span class="text-[10px] leading-none text-violet-500 font-medium">발송</span>
|
||||
@endif
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user