@extends('superadmin.sidebar') @section('content')

Transaction Reports

{{-- Filters --}}
Reset {{-- These carry over current filters using query() --}} Download CSV Print View
Total Rows: {{ number_format($totals['count']) }}
Total Bill: {{ number_format($totals['bill_amount'], 2) }}
Total Amount: {{ number_format($totals['amount'], 2) }}
Total Difference: {{ number_format($totals['difference_amount'], 2) }}
@forelse($transactions as $row) @empty @endforelse
Date/Time Invoice # Lab Route Center User Bill Amount Collected Amount Difference Remark
{{ $row->created_at }} {{ $row->invoice_number }} {{ $row->lab_name }} {{ $row->route_name }} {{ $row->center_name }} {{ trim(($row->user_fname ?? '').' '.($row->user_lname ?? '')) }} {{ number_format($row->bill_amount, 2) }} {{ number_format($row->amount, 2) }} {{ number_format($row->difference_amount, 2) }} {{ $row->remark }}
No data for the selected filters.
{{ $transactions->links('pagination::bootstrap-4') }}
@endsection