{{ $transaction->amount_string }} {{ link_to_route('transactions.index', $transaction->date, [ 'date' => $transaction->date_only, 'month' => $month, 'year' => $year, 'category_id' => request('category_id'), ]) }}
{{ $transaction->description }} @can('update', $transaction) {!! link_to_route( 'transactions.index', __('app.edit'), ['action' => 'edit', 'id' => $transaction->id] + request(['month', 'year', 'query', 'category_id']), ['id' => 'edit-transaction-'.$transaction->id, 'class' => 'float-right text-danger'] ) !!} @endcan
@if ($transaction->loan) @php $loanRoute = route('loans.show', $transaction->loan); @endphp {!! optional($transaction->loan)->type_label !!} @endif @if ($transaction->partner) @php $partnerRoute = route('partners.show', [ $transaction->partner_id, 'start_date' => $startDate, 'end_date' => $year.'-'.$month.'-'.date('t'), ]); @endphp {!! optional($transaction->partner)->name_label !!} @endif @if ($transaction->category) @php $categoryRoute = route('categories.show', [ $transaction->category_id, 'start_date' => $startDate, 'end_date' => $year.'-'.$month.'-'.date('t'), ]); @endphp {!! optional($transaction->category)->name_label !!} @endif