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

Credit Limit

{{-- --}}
@if (!empty($credits) && $credits->count()) @foreach ($credits as $key => $credit) @endforeach @else @endif
# Dealer Retailer Request Status Total Credit Limit Available Credit Limit Actions
{{ $key + 1 }}
{{ $credit->dealer?->first_name . ' ' . $credit->dealer?->last_name }} {{ $credit->dealer?->email ?? '-' }}
{{ $credit->retailer?->first_name . ' ' . $credit->retailer?->last_name }} {{ $credit->retailer?->email ?? '-' }}
@if ($credit->is_accepted === 0) id }} data-status="1" data-action="{{ route('change-status') }}">Accept @else Accepted @endif {{ $credit->total_credit_limit ?? 'NA' }} {{ $credit->available_credit_limit ?? 'NA' }} {{-- @if ($credit->is_accepted != 1) --}} {{-- @endif --}} {{-- --}}
No records found
{{$credits->links()}}
@endsection @push('script') {{-- --}} {{-- --}} @endpush