{!! Form::open(['url' => 'banking/reconcile', 'role' => 'form', 'class' => 'form-loading-button', 'id' => 'form-reconciliations']) !!}
{{ Form::hidden('account_id', $account->id) }}
{{ Form::hidden('currency_code', 'USD', ['id' => 'currency_code']) }}
{{ Form::hidden('opening_balance', $opening_balance, ['id' => 'opening_balance']) }}
{{ Form::hidden('closing_balance', request('closing_balance', '0'), ['id' => 'closing_balance']) }}
{{ Form::hidden('started_at', request('started_at')) }}
{{ Form::hidden('ended_at', request('ended_at')) }}
{{ Form::hidden('reconcile', '0', ['id' => 'hidden-reconcile']) }}
{{ trans('general.date') }} |
{{ trans('general.description') }} |
{{ trans('general.name') }} |
{{ trans('general.memo') }} |
{{ trans_choice('general.type', 1) }} |
{{ trans_choice('general.deposits', 1) }} |
{{ trans_choice('general.withdrawals', 1) }} |
{{ trans('general.clear') }} |
@foreach($transactions as $item)
{{ Date::parse($item->transaction_date)->format($date_format) }} |
{{ $item->description }} |
{{ $item->name }} |
{{ $item->number }} |
@if (!empty($item->transaction_type)) {{ $item->transaction_type }} @else {{ trans('general.na') }}@endif |
@if ($item->amount_type == 'add')
@money($item->amount, $item->currency_code, true) |
|
@else
|
@money($item->amount, $item->currency_code, true) |
@endif
|
@endforeach
@if ($transactions->count())
{{ trans('reconciliations.closing_balance') }}: |
@money(request('closing_balance', '0'), $account->currency_code, true) |
{{ trans('reconciliations.cleared_amount') }}: |
@money('0', $account->currency_code, true) |
{{ trans('general.difference') }}: |
@money('0', $account->currency_code, true) |
@endif
@if ($transactions->count())
@else
{{ trans('general.no_records') }}
@endif