@extends('vendors.partials.vendor-master') @section('title', 'Invoice ') @section('css') @endsection @section('content')

Invoice

INVOICE NO: #{{$order->order_id}}


Logo
{{Config::get('siteSetting.address')}}
Phone: {{Config::get('siteSetting.phone')}}
Email: {{Config::get('siteSetting.email')}}

{{$order->shipping_name}} @if($order->shipping_email)
{{$order->shipping_email}}@endif
{{$order->shipping_phone}}
{!! $order->shipping_address. ', '. $order->shipping_area. ', '. $order->shipping_city. ', '. $order->shipping_region !!} @if($order->order_notes)
Notes: {{$order->order_notes}}@endif
Order ID: #{{$order->order_id}}
Order Date: {{Carbon\Carbon::parse($order->order_date)->format('M d, Y')}}
Order Status: {{ str_replace( '-', ' ', $order['order_status']) }}
Payment Status: {{str_replace( '-', ' ',$order->payment_status) }}
Payment Method: {{str_replace( '-', ' ', $order->payment_method) }}
Shipping Method: @if($order->shipping_method){{ $order->shipping_method->name }} @endif
@foreach($order->seller_order_details as $item) @php $subprice += $item->price*$item->qty; $shipping_cost += $item->shipping_charge; @endphp @endif @endforeach @if($order['coupon_discount'] != null) @endif
Image Product Name Price Quantity Sub Total
{{ $item->product->title }}
@if($item->attributes) @foreach(json_decode($item->attributes) as $key=>$value) {{$key}} : {{$value}} @endforeach
{{$order->currency_sign. $item->price}} {{$item->qty}} {{$order->currency_sign.$item->price*$item->qty }}
Sub-Total {{$order->currency_sign . $subprice}}
Shipping Cost(+) {{$order->currency_sign . $shipping_cost}}
Coupon Discount(-) {{$order->currency_sign . $order->coupon_discount}}

Total

{{$order->currency_sign . ($subprice + $shipping_cost - $order->coupon_discount) }}

@endsection @section('js') @endsection