@extends('layouts.app') @section('content')
company-logo

{{ config('app.name') }}

{{ $helper->companyEmail() }}

{{ $helper->companyNumber() }}

Bill to :

{{ ucwords($order->name) }},
{{ $order->address }}, {{$order->city}}, {{$order->state}}, {{$order->country}}

{{ $order->email }}

Invoice number: {{ $order->invoice }}

Invoice date: {{ $order->created_at->format('d F, Y') }}

@foreach ($order->order_products as $item) @endforeach {{-- --}}
Items Quantity Price Chat
product-image
{{ $item->product->name }}
@php $qty = 0; @endphp @foreach (json_decode($item->variation) as $key => $value) @php $qty += $value->qty; @endphp

{{ $value->name }} - ${{ $value->price }} × {{ $value->qty }} = ${{ $value->price * $value->qty }}

@endforeach {{ $item->product->category->name }}
{{ $qty }} units ${{ $item->price }} Chat with Vendor
Subtotal ${{ $order->order_total }}
Tax {{ $order->tax }}%
Shipping {{ $order->shipping == 0 ? 'Free' : '$'.$order->shipping }}
Discount -10%
Total ${{ $order->amount }}
Please pay the invoice before the due date. You can pay the invoice by logging in to your account from our client portal.
@endsection