@extends('layouts.main') @section('page-title') {{ __('Account Statement Summary') }} @endsection @section('page-breadcrumb') {{ __('Report') }}, {{ __('Account Statement Summary') }} @endsection @push('scripts') @endpush @section('page-action')
@endsection @section('content')
{{ Form::open(array('route' => array('report.account.statement'),'method'=>'get','id'=>'report_account')) }}
{{ Form::label('start_month', __('Start Month'), ['class' => 'form-label']) }} {{Form::month('start_month',isset($_GET['start_month'])?$_GET['start_month']:date('Y-m'),array('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'),array('class'=>'month-btn form-control'))}}
{{ Form::label('account', __('Account'), ['class' => 'form-label']) }} {{Form::select('account', $account,isset($_GET['account'])?$_GET['account']:'', array('class' => 'form-control ','placeholder' => 'Select Account')) }}
{{ Form::label('type', __('Type'), ['class' => 'form-label']) }} {{ Form::select('type',$types,isset($_GET['type'])?$_GET['type']:'', array('class' => 'form-control ','placeholder' => 'Select Type')) }}
{{ Form::close() }}
{{__('Report')}} :
{{__('Account Statement Summary')}}
@if($filter['account']!=__('All'))
{{__('Account')}} :
{{$filter['account']}}
@endif @if($filter['type']!=__('All'))
{{__('Type')}} :
{{$filter['type']}}
@endif
{{__('Duration')}} :
{{$filter['startDateRange'].' to '.$filter['endDateRange']}}
@if(!empty($reportData['revenueAccounts']))
@foreach($reportData['revenueAccounts'] as $account)
@if($account->holder_name =='Cash')
{{$account->holder_name}}
@elseif(empty($account->holder_name))
{{__('Stripe / Paypal')}}
@else
{{$account->holder_name.' - '.$account->bank_name}}
@endif
{{ currency_format_with_sym($account->total)}}
@endforeach
@endif @if(!empty($reportData['paymentAccounts']))
@foreach($reportData['paymentAccounts'] as $account)
@if($account->holder_name =='Cash')
{{$account->holder_name}}
@elseif(empty($account->holder_name))
{{__('Stripe / Paypal')}}
@else
{{$account->holder_name.' - '.$account->bank_name}}
@endif
{{currency_format_with_sym($account->total)}}
@endforeach
@endif
@if(!empty($reportData['revenues'])) @foreach ($reportData['revenues'] as $revenue) @endforeach @endif @if(!empty($reportData['payments'])) @foreach ($reportData['payments'] as $payments) @endforeach @endif
{{__('Date')}} {{__('Amount')}} {{__('Description')}}
{{ company_date_formate($revenue->date) }} {{ currency_format_with_sym($revenue->amount) }} {{$revenue->description}}
{{ company_date_formate($payments->date) }} {{ currency_format_with_sym($payments->amount) }} {{!empty($payments->description)?$payments->description:'-'}}
@endsection