<?php
    $auth_user= authSession();
?>
 @if($action_type == 'bank_details')
    @if($row->status == 'requested')
        @if($auth_user->can('withdrawrequest-show'))
        <a class="mr-2 loadRemoteModel" href="{{ route('withdrawrequest.show',$user) }}"><i class="fas fa-eye text-secondary"></i></a>
        @endif
    @else
        {{'-'}}
    @endif
@endif
@if($action_type == 'action')
    <div class="form-group">
        @if($row->status == 'requested')
            <a class="mr-2" href="{{ route('approvedWithdrawRequest', ['id' => $id]) }}"><i class="fas fa-check"></i></a>
            <a class="mr-2" href="{{ route('declineWithdrawRequest', ['id' => $id]) }}"><i class="fa fa-times text icon-color"></i></a>
        @else
            {{'-'}}
        @endif
    </div>
@endif

