JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr@extends('layouts.admin') @section('page-title') {{ __('Manage Account Statement') }} @endsection @section('breadcrumb') @endsection @push('script-page') @endpush @section('action-button') @endsection @section('content') {{--
{{ Form::open(['route' => ['report.account.statement'], 'method' => 'get', 'id' => 'report_acc_filter']) }}
{{ Form::label('start_month', __('Start Month'), ['class' => 'form-label']) }} {{ Form::month('start_month', isset($_GET['start_month']) ? $_GET['start_month'] : date('Y-m'), ['class' => 'month-btn form-control']) }}
{{ Form::label('end_month', __('End Month'), ['class' => 'form-label']) }} {{ Form::month('end_month', isset($_GET['end_month']) ? $_GET['end_month'] : date('Y-m'), ['class' => 'month-btn form-control']) }}
{{ Form::label('account', __('Account'), ['class' => 'form-label']) }} {{ Form::select('account', $accountList, isset($_GET['account']) ? $_GET['account'] : '', ['class' => ' form-control select']) }}
{{ Form::label('type', __('Type'), ['class' => 'form-label']) }}
{{ Form::close() }}
--}}
{{ Form::open(['route' => ['report.account.statement'], 'method' => 'get', 'id' => 'report_acc_filter']) }}
{{ Form::label('start_month', __('Start Month'), ['class' => 'form-label']) }} {{ Form::month('start_month', isset($_GET['start_month']) ? $_GET['start_month'] : date('Y-m'), ['class' => 'month-btn form-control']) }}
{{ Form::label('end_month', __('End Month'), ['class' => 'form-label']) }} {{ Form::month('end_month', isset($_GET['end_month']) ? $_GET['end_month'] : date('Y-m'), ['class' => 'month-btn form-control']) }}
{{ Form::label('account', __('Account'), ['class' => 'form-label']) }} {{ Form::select('account', $accountList, isset($_GET['account']) ? $_GET['account'] : '', ['class' => ' form-control select']) }}
{{ Form::label('type', __('Type'), ['class' => 'form-label']) }}
{{ Form::close() }}
{{ __('Report') }}

{{ __('Account Statement Summary') }}

@if ($filterYear['type'] != 'All')
{{ __('Transaction Type') }}

{{ $filterYear['type'] }}

@endif
{{ __('Duration') }}

{{ $filterYear['startDateRange'] . ' to ' . $filterYear['endDateRange'] }}

@foreach ($accounts as $account)
{{ $account->account_name }}

@if (isset($_GET['type']) && $_GET['type'] == 'expense') {{ __('Total Debit') }} : @else {{ __('Total Credit') }} : @endif {{ \Auth::user()->priceFormat($account->total) }}

@endforeach
{{--
--}}
@foreach ($accountData as $account) @endforeach
{{ __('Account') }} {{ __('Date') }} {{ __('Amount') }}
{{ !empty($account->accounts) ? $account->accounts->account_name : '' }} {{ \Auth::user()->dateFormat($account->date) }} {{ \Auth::user()->priceFormat($account->amount) }}
@endsection