{!! Form::model($reconcile, [
'method' => 'PATCH',
'url' => ['banking/reconcile', $reconcile->id],
'role' => 'form',
'id' => 'form-reconciliations',
'class' => 'form-loading-button'
]) !!}
{{ Form::hidden('account_id', $account->id) }}
{{ Form::hidden('currency_code', $currency->code, ['id' => 'currency_code']) }}
{{ Form::hidden('opening_balance', $opening_balance, ['id' => 'opening_balance']) }}
{{ Form::hidden('closing_balance', $reconcile->closing_balance, ['id' => 'closing_balance']) }}
{{ Form::hidden('started_at', $reconcile->started_at) }}
{{ Form::hidden('ended_at', $reconcile->ended_at) }}
{{ Form::hidden('reconcile', $reconcile->reconcile, ['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($reconcile->closing_balance, $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