@extends('layouts.app') @section('content')
{{ config('app.name') }}
{{ $helper->companyEmail() }}
{{ $helper->companyNumber() }}
Bill to :
{{ ucwords($order->name) }},
{{ $order->address }}, {{$order->city}}, {{$order->state}}, {{$order->country}}
Invoice number: {{ $order->invoice }}
Invoice date: {{ $order->created_at->format('d F, Y') }}
| Items | Quantity | Price | Chat |
|---|---|---|---|
|
{{ $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 }} | ||