@php $approve = 0; if(sizeof($Tpermistion) > 0) { $approve = $Tpermistion[0]->approve; } @endphp
@if($approve == 0)
@elseif($approve == 1) @endif

Account Type Remarks Debit Credit Remove
  0.00   0.00

@if($approve == 1) @else @endif