@extends('layouts.app') @section('title', 'Customer Details - Sales Report') @section('content')
Invoice details for {{ $summary['customer_name'] }}
| Invoice No | Invoice Date | Due Date | Amount | Paid | Due | Status | Actions |
|---|---|---|---|---|---|---|---|
|
{{ $invoice->invoice_no }}
|
{{ \Carbon\Carbon::parse($invoice->invoice_date)->format('M d, Y') }}
{{ \Carbon\Carbon::parse($invoice->invoice_date)->format('h:i A') }} |
@if($invoice->due_date)
{{ \Carbon\Carbon::parse($invoice->due_date)->format('M d, Y') }}
{{ \Carbon\Carbon::parse($invoice->due_date)->format('h:i A') }} |
${{ number_format($invoice->invoice_amount, 2) }} | ${{ number_format($paid, 2) }} | ${{ number_format($due, 2) }} | @if($status === 'paid') Paid @elseif($status === 'partial') Partial @else Unpaid @endif |
No invoices found for this customer in the selected date range.