@if(isset($user['app_type']))
@endif
@if($disbursement_status)
@if(in_array($user['status'], ['disbursed','nach registered']) && $user['document_type'] == 'Pro Forma Invoice' && isset($user['phase_cycle']) && \Illuminate\Support\Facades\Session::has('Execute_Multi-tranche|-58'))
@endif
@endif
@if($user['document_type'] == 'E-Nach' || $user['document_type'] == 'Bank-Details' || $user['document_type'] == 'E-Sign' || $user['document_type'] == 'Resigning')
@if(\Illuminate\Support\Facades\Input::has('b-type'))
@endif
@if(isset($emandate_api_link))
@endif
@if(isset($emandate_esign_link))
@endif
@else
@endif
@if($user['document_type'] == 'Sanction Letter' || $user['document_type'] == 'Pro Forma Invoice' || $user['document_type'] == 'Welcome Letter' || $user['document_type'] == 'Recall Notice' )
@if(!isset($_GET['action']))
Send Mail
@endif
@endif
@if($user['document_type'] == 'CAM')
@endif
@if(isset($cam_view))
@endif
@if(isset($_GET['action']) && $_GET['action'] == 2 && ($user['document_type'] == 'Loan Agreement' || $user['document_type'] == 'Pro Forma Invoice'))
@endif
@if($user['document_type'] != 'E-Nach' && $user['document_type'] != 'Bank-Details' && $user['document_type'] != 'E-Sign' && $user['document_type'] != 'Resigning')
@endif