@extends('layouts.admin') @section('title', trans_choice('general.transactions', 2)) @section('new_button') @can('create-sales-revenues') {{ trans('general.add_income') }} @endcan @can('create-purchases-payments') {{ trans('general.add_expense') }} @endcan {{ trans('import.import') }} {{ trans('general.export') }} @endsection @section('content')
{!! Form::open([ 'method' => 'GET', 'route' => 'transactions.index', 'role' => 'form', 'class' => 'mb-0' ]) !!}
{{ Form::bulkActionRowGroup('general.transactions', $bulk_actions, ['group' => 'banking', 'type' => 'transactions']) }} {!! Form::close() !!}
@foreach($transactions as $item) @endforeach
{{ Form::bulkActionAllGroup() }} @sortablelink('paid_at', trans('general.date'), ['filter' => 'active, visible'], ['class' => 'col-aka', 'rel' => 'nofollow']) @sortablelink('amount', trans('general.amount')) @sortablelink('type', trans_choice('general.types', 1)) @sortablelink('category.name', trans_choice('general.categories', 1)) @sortablelink('account.name', trans_choice('general.accounts', 1)) @sortablelink('description', trans('general.description'))
{{ Form::bulkActionGroup($item->id, $item->contact->name) }} @date($item->paid_at) @money($item->amount, $item->currency_code, true) {{ $item->type_title }} {{ $item->category->name }} {{ $item->account->name }} {{ $item->description }}
@endsection @push('scripts_start') @endpush