@extends('layouts.public-document') @section('title', 'Invoice ' . $invoice->invoice_number) @section('content') @php $documentCopyLabel = $documentCopyLabel ?? ($documentCopies['original'] ?? 'Original Copy'); $invoiceTitle = $invoiceTitle ?? \App\Helpers\InvoiceDocumentSettings::titleForType($invoice->type, $company->id ?? null); @endphp
@if($logoSrc ?? null) @endif {{ $company->name }}
@if($company->phone || $company->email) Contact {{ $company->name }} @endif Client name: {{ $invoice->customer->name }}
Invoice # {{ $invoice->invoice_number }}
Due Date {{ $invoice->due_date?->format('d - M - Y') ?? '—' }}
Amount Due ₹ {{ number_format($invoice->balance, 2) }}
@include('admin.invoices.partials._document', [ 'invoiceTitle' => $invoiceTitle, 'documentCopyLabel' => $documentCopyLabel, 'layout' => 'a4', 'forPublic' => true, 'logoSrc' => $logoSrc, 'signatureSrc' => $signatureSrc, ])
@endsection @push('styles') @endpush