@extends('layouts.master') @section('title') billing @endsection @section('css') @endsection @section('content') {{-- @component('components.breadcrumb') @slot('li_1') Account @endslot @slot('title') settings @endslot @endcomponent --}}
| ID | Type | Credit | Debit | Date | Title | Description |
|---|---|---|---|---|---|---|
| {{ $transaction->id }} |
@if($transaction->type == 'deposit')
{{$transaction->type}}
@else
Payment
@endif
|
@if($transaction->type == 'deposit') {{ number_format($transaction->amount, 2) }} ksh @endif |
@if($transaction->type == 'withdraw')
{{ number_format($transaction->amount, 2) }} ksh
@endif
|
{{ $transaction->created_at->format('d-M-Y') }} [{{ $transaction->created_at->diffForHumans() }}] |
{{ $transaction->meta['title'] ?? 'N/A' }} | {{ $transaction->meta['description'] ?? 'N/A' }} |
client has no transaction