@extends('layouts.admin') @section('title', trans_choice('general.transactions', 2)) @section('new_button') {{ trans('import.import') }} {{ trans('general.export') }} @endsection @section('content')
@sortablelink('account.name', trans_choice('general.accounts', 1)) | @sortablelink('type', trans_choice('general.types', 1)) | @sortablelink('amount', trans('general.amount')) |
---|---|---|
{{ $item->account->name }} | {{ trans_choice('general.' . Str::plural($item->type), 1) }} | @php $id = !empty($item->document_id) ? $item->document_id : $item->id; $route = ($item->type == 'income') ? (!empty($item->document_id) ? 'invoices.show' : 'revenues.edit') : (!empty($item->document_id) ? 'bills.show' : 'payments.edit'); @endphp @money($item->amount, $item->currency_code, true) |