@extends('layouts.app') @section('content')

All Credit Details

High Credit Reset Filter
@php $filteredCredits = request('filter') === 'high' ? $credits->filter(fn($credit) => $credit->due_amount >= 10000) : $credits; @endphp @forelse ($filteredCredits as $credit) @empty @endforelse
ID Customer Name Customer Phone Address Due Amount Paid Amount Date Actions
{{ $credit->id }} {{ $credit->customer->name }} {{ $credit->customer->phone }} {{ $credit->customer->address }} {{ $credit->due_amount ?? 'N/A' }} {{ $credit->is_paid }} {{ $credit->updated_at }}
@csrf @method('DELETE')
Print View Details
No records found.
@endsection