@extends('layouts.admin') @section('title', trans_choice('general.reconciliations', 2)) @permission('create-banking-reconciliations') @section('new_button')  {{ trans('general.add_new') }} @endsection @endpermission @section('content')
{!! Form::open(['url' => 'banking/reconciliations', 'role' => 'form', 'method' => 'GET']) !!}
{!! Form::select('accounts[]', $accounts, request('accounts'), ['id' => 'filter-accounts', 'class' => 'form-control input-filter input-lg', 'multiple' => 'multiple']) !!} {!! Form::button('  ' . trans('general.filter'), ['type' => 'submit', 'class' => 'btn btn-sm btn-default btn-filter']) !!}
{!! Form::select('limit', $limits, request('limit', setting('general.list_limit', '25')), ['class' => 'form-control input-filter input-sm', 'onchange' => 'this.form.submit()']) !!}
{!! Form::close() !!}
@foreach($reconciliations as $item) @endforeach
@sortablelink('created_at', trans('general.created_date')) @sortablelink('account_id', trans_choice('general.accounts', 1)) @sortablelink('closing_balance', trans('reconciliations.closing_balance')) {{ trans('general.actions') }}
{{ Date::parse($item->created_at)->format($date_format) }} {{ $item->account->name }} @money($item->closing_balance, $item->account->currency_code, true)
@endsection @push('scripts') @endpush