@extends('components.layout.master') @section('title', 'Loan') @section('content')
{{--
--}}
@foreach ($loan as $l) @endforeach
Buyer Name Mobile Number Date Amount Duration
{{ $l->buyer->buyer_name }} {{ $l->buyer->mobile_no }} {{-- Active --}} {{-- Inactive --}} {{ \Carbon\Carbon::parse($l->created_at)->format('d/m/Y') }} {{ $l->amount }} {{ $l->duration->duration ?? ''}}
@include('components.footertext')
@endsection @push('script') @endpush