@extends('layouts.app') @section('content')
{{ csrf_field() }}
 
 
 
 
@php $total_amount = 0; $total_count = 0; @endphp @foreach($data as $d) @php $total_count += $d->counter; $total_amount += $d->amountsum; @endphp @endforeach
S/N NUMBER OF TRANSACTIONS TRANSACTION VALUE (₦) {{ $col_title }}
{{ $loop->iteration }}. {{ $d->counter }} {{ number_format($d->amountsum, 2) }} {{ $d->$model->description }}
- {{ $total_count }} {{ number_format($total_amount, 2) }} All
S/N NUMBER OF TRANSACTIONS TRANSACTION VALUE (₦) {{ $col_title }}
@endsection