@extends('layouts.frontend.app', ['pageTitle' => 'Current Account']) @section('content')
{{--

বিসমিল্লাহির রহমানির রহিম

--}}

ব্লু-স্টার সঞ্চয় ও ঋনদান সমবায় সমিতি লিঃ

৮৩৯/৩৯ খান-এ-সবুর রোড, নতুন রাস্তা, দৌলতপুর, খুলনা।

CURRENT অ্যাকাউন্ট লিস্ট

@if (Auth()->user()->hasRole('admin|manager')) @endif
@foreach ($current_accounts as $current_account) @php $deposit = $current_account->total_current_deposit; $withdraw = $current_account->total_current_withdraw; $total_balance = $current_account->total_current_balance; @endphp {{-- --}} @endforeach
# {{ __('Action') }} {{ __('Account') }} {{ __('Member Name') }} {{ __('Area') }} {{ __('Target Amount') }} {{ __('Total Deposit') }} {{ __('Total Withdraw') }} {{ __('Total Balance') }} {{ __('Status') }} {{ __('Action') }}
{{ $current_accounts->currentPage() * $current_accounts->perPage() - $current_accounts->perPage() + 1 + $loop->index }} {{ $current_account->account_id }} {{ $current_account->members->m_name }} {{ $current_account->members->area->name }} {{ $current_account->amount??0 }}{{ $deposit??0 }} {{ $withdraw??0 }} {{ $total_balance??0 }} {{ $current_account->status ==1 ? 'Active' : 'Inactive' }}{{$current_account->withdraw}} @if ($current_account->current_account?->sum('deposit_amount') > 0) @else @endif
{{ $current_accounts->links() }}
@endsection