@extends('admin.layouts.master') @section('title', 'Outstanding Report') @section('content')
Customer name: {{$customer->name}}
Customer type: @php echo $customer_type[$customer->customer_type]??''; @endphp
@include('admin.includes.msg')
@if(!empty($orders) && $orders->count()>0) @foreach($orders as $key=>$val) @endforeach @endif
Sl.No Order Invoice No Order Date Outstanding Amount Credit Period Action
{{$key+1}} {{$val->orderId}} {{$val->created_at}} Rs {{ $val->real_outstanding ?? '0.00' }} {{$val->days_to_clear_outstanding}} Payment Details
Total Outstanding: Rs {{ number_format($totalOutstanding, 2) }}
@endsection