@extends('layouts.admin') @section('title', trans_choice('general.transfers', 2)) @section('new_button') @can('create-banking-transfers') {{ trans('general.add_new') }} @endcan {{ trans('import.import') }} {{ trans('general.export') }} @endsection @section('content') @if ($transfers->count() || request()->get('search', false))
{!! Form::open([ 'method' => 'GET', 'route' => 'transfers.index', 'role' => 'form', 'class' => 'mb-0' ]) !!}
{{ Form::bulkActionRowGroup('general.transfers', $bulk_actions, ['group' => 'banking', 'type' => 'transfers']) }} {!! Form::close() !!}
@foreach($transfers as $item) @endforeach
{{ Form::bulkActionAllGroup() }} @sortablelink('expense_transaction.paid_at', trans('general.date'), ['filter' => 'active, visible'], ['class' => 'col-aka', 'rel' => 'nofollow']) @sortablelink('expense_transaction.name', trans('transfers.from_account')) @sortablelink('income_transaction.name', trans('transfers.to_account')) @sortablelink('expense_transaction.amount', trans('general.amount')) {{ trans('general.actions') }}
{{ Form::bulkActionGroup($item->id, $item->from_account) }} @date($item->paid_at) {{ $item->from_account }} {{ $item->to_account }} @money($item->amount, $item->currency_code, true)
@else @include('partials.admin.empty_page', ['page' => 'transfers', 'docs_path' => 'banking/transfers']) @endif @endsection @push('scripts_start') @endpush