@extends('layouts.app') @section('title', __('transaction.search')) @section('content')
| {{ __('app.table_no') }} | {{ __('app.date') }} | {{ __('transaction.description') }} | {{ __('transaction.amount') }} | {{ __('app.action') }} |
|---|---|---|---|---|
| {{ 1 + $key }} | {{ $transaction->date }} ({{ $transaction->day_name }}) |
@if ($transaction->partner)
@php
$partnerRoute = route('partners.show', [
$transaction->partner_id,
'start_date' => $startDate,
'end_date' => $endDate,
]);
@endphp
{{ $transaction->partner->name }}
@endif
{{ $transaction->bankAccount->name }}
@if ($transaction->category)
@php
$categoryRoute = route('categories.show', [
$transaction->category_id,
'start_date' => $startDate,
'end_date' => $endDate,
]);
@endphp
{!! $transaction->category->name_label !!}
@endif
{!! $transaction->date_alert !!} {!! nl2br(htmlentities($transaction->description)) !!}
|
{{ $transaction->amount_string }} | {{ link_to_route('transactions.show', __('app.show'), [ $transaction, 'query' => $searchQuery, 'start_date' => $startDate, 'end_date' => $endDate, 'reference_page' => 'transaction_search', ], ['class' => 'btn btn-secondary btn-sm']) }} |
| {{ __('transaction.not_found') }} | ||||