@extends('layouts.master') @section('title') transactions @endsection @section('css') @endsection @section('content') {{-- @component('components.breadcrumb') @slot('li_1') Account @endslot @slot('title') settings @endslot @endcomponent --}}

Transactions

@include('layouts.partials.flash')
@if(!empty($transactions))
@foreach ($transactions as $transaction) @endforeach
ID User Type Amount Meta Unique ID Created At
{{ $transaction->id }} {{ $transaction->user->firstname ?? 'N/A' }} {{ $transaction->user->lastname ?? 'N/A' }} {{$transaction->type}} Ksh {{ $transaction->amount }} @if ($transaction->meta) @php $meta = json_decode($transaction->meta, true); $title = $meta['title'] ?? 'N/A'; $description = $meta['description'] ?? 'N/A'; @endphp Title: {{ $title }}
Description: {{ $description }} @else N/A @endif
{{ $transaction->uuid }} {{ $transaction->created_at ?? 'N/A' }}
@else
Sorry! No transaction Found

We cant find an record

@endif
@endsection @section('script') @endsection