@extends('layouts.admin') @section('content')

{{ __('message.borrowing List') }}

{{ __('message.start date') }}
{{ __('message.end date') }}
@foreach ($loans as $index => $loan) @endforeach
{{ __('message.no') }}. {{ __('message.order') }} {{ __('message.number') }} {{ __('message.name') }} {{ __('message.username') }} {{ __('message.loan') }} {{ __('message.amount') }} {{ __('message.name') }} {{ __('message.creation date') }} {{ __('message.status') }} {{ __('message.operate') }}
#{{ $index + 1 }} {{ $loan->loan_id }} {{ $member->actual_name ?? '' }} {{ $member->user->phone ?? '' }} {{ $settings_->where('key', 'currency')->first()->value ?? '' }} {{ number_format($loan->amount ?? 0) }} {{ $loan->loan_period }}{{__('message.months')}} {{ $loan->created_at->format('d/m/Y h:i') }} {{ $loan->status }}
{{$loan->status_description}}
{{__('message.modify loan')}} {{-- @if ($loan->status != 'approve') Approve @endif @if ($loan->status != 'reject') Reject @endif --}} {{__('message.checking data')}} {{__('message.view contract')}}
{{ csrf_field() }}
{{-- @if ($member->user->is_active) Disable @else Enable @endif --}}
{{ $loans->links() }}
{{-- Start Review status modal --}}
@endsection @section('meta') Borrowing List- {{ config('app.name', 'Dashboard') }} @endsection @section('scripts') @endsection