GYM
|
Invoice #: {{ $order->id }}
Created: {{ $order->created_at->format('F d, Y') }}
Status: {{ ucfirst($order->status) }}
|
|
Bill To:
@if($order->customer)
{{ $order->customer->name }}
{{ $order->customer->address }}
{{ $order->customer->phone }}
{{ $order->customer->email }}
@elseif($order->user)
{{ $order->user->name }}
{{ $order->user->email }}
@else
Guest Customer
@endif
|
Gym Management System
123 Gym Street
City, Country
admin@gym.com
|
|
|
Item
|
Price
|
@foreach($order->items as $item)
|
{{ $item->product->name }} (x{{ $item->quantity }})
|
${{ number_format($item->price * $item->quantity, 2) }}
|
@endforeach
|
Total: ${{ number_format($order->total_price, 2) }}
|