@extends('layouts.dashboard') @section('title', 'View Invoice - ' . $invoice->invoice_number) @section('content') @push('styles') @endpush
{{ $invoice->customer->full_name ?? 'N/A' }}
This is how your receipt will look when printed on 8.5" × 11" paper
@elseif(file_exists(public_path('images/logo.png')))
@else
{{ config('app.company_tagline', 'Professional Service') }}
#{{ $invoice->invoice_number }}
From:
{{ config('app.company_name', "Rent 'n King .") }}
@if(config('app.company_address')){{ config('app.company_address', "10296 Highway 46") }}
@endif @if(config('app.company_city')){{ config('app.company_city', "Bon Aqua, TN 37025") }}
@endif @if(config('app.company_phone')){{ config('app.company_phone') }}
@endif @if(config('app.company_email')){{ config('app.company_email') }}
@endifInvoice Date: {{ $invoice->invoice_date->format('M d, Y') }}
Due Date: {{ $invoice->due_date ? $invoice->due_date->format('M d, Y') : 'Pay Upon Receipt' }}
Task Reference:
{{ $task->title }}
Bill To:
{{ $invoice->customer->full_name ?? 'N/A' }}
{{ $invoice->customer->company_name ?? '' }}
| Item | Qty | Unit Price | Total |
|---|---|---|---|
|
{{ $item->item_name }}
@if($item->notes)
{{ $item->notes }}
@endif
|
{{ $item->qty ?? 1 }} | ${{ number_format($item->unit ?? 0, 2) }} | @php $rowPrice = $item->unit ?? 0; $qty = $item->qty ?? 1; $total = $rowPrice * $qty; @endphp ${{ number_format($total, 2) }} |
Notes:
{{ $invoice->invoice_notes }}
Thank you for your business!
For questions about this receipt, contact us at {{ config('app.company_phone', config('app.company_email')) }}