Readingful
INVOICE
From:
{{ $company['name'] }}
{{ $company['address'] }}
{{ $company['city'] }}
Email: {{ $company['email'] }}
Phone: {{ $company['phone'] }}
Invoice Details:
Invoice Number:
{{ $invoice_number }}
Date: {{ $date }}
Due Date: {{ $due_date }}
Status:
PAID
Bill To:
{{ $user->name }}
{{ $user->email }}
@if($user->isTeacher()) Account Type: Teacher
@elseif($user->isParent()) Account Type: Parent
@endif
Description
Quantity
Unit Price
Total
@foreach($items as $item)
{{ $item['description'] }}
{{ $item['quantity'] }}
${{ number_format($item['unit_price'], 2) }}
${{ number_format($item['total'], 2) }}
@endforeach
Subtotal:
${{ number_format($subtotal, 2) }}
Tax (0%):
${{ number_format($tax, 2) }}
Total Paid:
${{ number_format($total, 2) }}
Payment Information:
Payment Method: PayPal
Transaction ID: {{ $transaction->paypal_order_id }}
Payment Date: {{ $transaction->created_at->format('F j, Y') }}