@extends('layout.appmain') @section('title', '- Due Report') @section('style') @endsection @section('main')

Due Report

Due Report
@foreach($dueOrders as $order) @endforeach
Order Number Order Date Customer Info Total Amount Received Amount Due Amount Payment Status Payment Method
{{ $order->order_number }} {{ \Carbon\Carbon::parse($order->order_date)->format('Y-m-d') }} {{ $order->cust_id }} - ({{ $order->customer->name ?? 'Unknown' }}) ${{ number_format($order->total_amount, 2) }} ${{ number_format($order->received_amount, 2) }} ${{ number_format($order->total_amount - $order->received_amount, 2) }} {{ $order->payment_status }} {{ $order->payment_method }}
@endsection @section('script') @endsection