@php
$isPaidExpense = $resignation->officeExpense && $resignation->officeExpense->status == 3;
@endphp
@if (
$resignation->type == 'Other' &&
!in_array($resignation->status, ['Cancelled']) &&
now()->lte($resignation->final_exit_date) &&
!$isPaidExpense)
@endif