@extends('admin.layout.layout') @section('page-level-css') @endsection @section('content')
@include('admin.partials.header')

Invoice

Invoice

Current Status.

@if ($order->status == 1) Confirmed @elseif ($order->status == 2) Pending @elseif ($order->status == 3) Shipped @elseif ($order->status == 4) Out for delivery @elseif ($order->status == 5) Arriving Tomorrow @endif
@csrf

Change Status.?

@csrf

Docket Number.

Order Id : {{$order->order_id}}
Status : @if($order->status == 1) Confirmed @elseif($order->status == 2) Pending @elseif($order->status == 3) Shipped @elseif($order->status == 4) Out for delivery @elseif($order->status == 5) Arriving Tomorrow @endif

Payment Details

@php $coupon_detail = App\DiscountCoupon::where('id',$order->coupon_id)->first(); @endphp @if(!empty($coupon_detail))

Coupon Detail : {{$coupon_detail->coupon}} | {{$coupon_detail->percentage}} % | {{$coupon_detail->thresh_hold_value}}

@endif

Discount : {{$order->discount_amount}}/-

Amount Without Discount : {{$order->without_discount_amount}}/-

Order Total : {{$order->total}}

Bank Details

mihpayid : {{$order->mihpayid}}

Mode : {{$order->mode}}

Bank Status : {{$order->bank_status}}

Bank Ref Number : {{$order->bank_ref_num}}

@if($order->error)

Error: {{$order->error}}

@endif @if($order->error_message)

Error Message: {{$order->error_message}}

@endif

Special Instructions

{{$order->ordernote}}

{{-- flash message starts here --}}
@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if(Session::has('success'))
{{Session::get('success')}}
@endif
{{-- flash message ends here --}}
{{-- filters starts --}}
{{-- Filters --}}
{{-- filters --}} {{-- @include('admin.partials.filters.locationFilter') --}} {{-- filters ends --}}

Products In Order

@if( count($productsInOrders) != 0 ) @php $sr = 1; @endphp @foreach( $productsInOrders as $productsInOrder ) @php $sr++; @endphp @endforeach @else @endif
{{-- Products in offer starts --}}
{{-- filters starts --}}
{{-- Filters --}}
{{-- filters --}} {{-- @include('admin.partials.filters.locationFilter') --}} {{-- filters ends --}}

Offer Products In Order

{{--
--}} {{--
--}}
@if( count($offerProductsInOrders) != 0 ) @php $sr = 1; @endphp @foreach( $offerProductsInOrders as $offerProductsInOrder ) @php $sr++; @endphp @endforeach @else @endif
{{-- Products in offer ends --}}
@php $billing_address_details = json_decode($order->billing_address); @endphp

Billing Address :

@if(!empty($billing_address_details) && gettype($billing_address_details) == 'object') @foreach( $billing_address_details as $key => $detail )

{{$key}} : {{$detail}}

@endforeach @endif
@php $shipping_address_details = json_decode($order->shipping_address); @endphp

Shipping Address :

{{-- @if( gettype($shipping_address_details) == 'array' && count($shipping_address_details) != 0) --}} @if(!empty($shipping_address_details) && gettype($shipping_address_details) == 'object') @foreach( $shipping_address_details as $key => $detail )

{{$key}} : {{$detail}}

@endforeach @endif
{{-- Delete Modal Starts here --}} @include('admin.partials.trashModal') {{-- Delete Modal ends here --}} @include('admin.partials.footer')
@endsection @section('page-level-js') @endsection