@extends('backEnd.layouts.master') @section('title','Order Invoice') @section('content')

Payment Method: {{$order->payment?$order->payment->payment_method:''}}

Invoice From:

{{$generalsetting->name}}

{{$contact->phone}}

{{$contact->email}}

{{$contact->address}}

Invoice

Invoice ID : #{{$order->invoice_id}}

Invoice Date: {{$order->created_at->format('d-m-y')}}

Invoice To:

{{$order->shipping?$order->shipping->name:''}}

{{$order->shipping?$order->shipping->phone:''}}

{{$order->shipping?$order->shipping->address:''}}

{{$order->shipping?$order->shipping->area:''}}

@foreach($order->orderdetails as $key=>$value) @endforeach
SL Product Price Qty Total
{{$loop->iteration}} {{$value->product_name}}
@if($value->product_size) Size: {{$value->product_size}} @endif @if($value->product_color) Color: {{$value->product_color}} @endif
৳{{$value->sale_price}} {{$value->qty}} ৳{{$value->sale_price*$value->qty}}
SubTotal ৳{{$order->orderdetails->sum('sale_price')}}
Shipping(+) ৳{{$order->shipping_charge}}
Discount(-) ৳{{$order->discount}}
Final Total ৳{{$order->amount}}
Terms & Conditions

* This is a computer generated invoice, does not require any signature.

@endsection