@extends('dashboard.layout.mainlayout') @section('content')

{{-- --}} {{-- @lang('user.add') --}} {{-- @else --}}

@lang('user.funds') {{ $funds->count() }}

@if($setting->financing_request == '1')

@lang('user.turning_off')

@else

@lang('user.receive')

@endif
@include('partials._errors') @include('partials._session')
@if($funds->count() > 0) @foreach ($funds as $index=>$item) {{-- --}} @endforeach
# @lang('user.name') @lang('user.phone') @lang('user.user_type') @lang('user.fund_type') @lang('user.financing_period') @lang('user.operations')
{{ $index +1 }} {{$item->user->name?? ''}} {{$item->user->phone?? ''}} {{$item->user? $item->user->type == '0' ? __('user.an_individual') : '' : '--' }} {{$item->user? $item->user->type == '1' ? __('user.merchant') : '' : '--' }} {{$item->fund_type == '0' ? __('user.realestute') : '' }} {{$item->fund_type == '1' ? __('user.personal') : '' }} {{$item->fund_type == '2' ? __('user.cars') : '' }} {{$item->financing_periad}}{{$item->user_type == 0 ? __('user.operations') : @if ($item->user_type == 1) __('user.operations') @else __('user.operations')}}@endif @if(Auth::guard('admin')->user()->hasPermission('subscription_update')) @lang('user.show') @else @lang('user.edit') @endif @if(Auth::guard('admin')->user()->hasPermission('subscription_delete'))
@csrf @method('DELETE')
@else @endif
@else

@lang('user.no_data_found')

@endif
{{-- @include('dashboard.sliders.create') --}}
@endsection @section('scripts') @endsection