@extends('layouts.app') @section('title') Show | {{ config('app.name') }} @endsection @section('content')

Activation List

Order #{{ $activation->orderno ?? '' }}
{{-- --}}
@foreach ($activation->orderProducts as $orderProducts) @endforeach
Product Details Item Price Quantity Total Amount
{{ $orderProducts->product->name ?? '' }}

User: {{ $activation->user->name ?? '' }}

{{ number_format($orderProducts->unit_price, 2) }} {{ $orderProducts->quantity }} {{ number_format($orderProducts->total, 2) }}
@if ($activation->shipping_cost == 0) @else @endif {{-- @if ($activation->tax_amount > 0) @endif --}} @if ($activation->internet_handing_charge > 0) @endif
Sub Total : {{ number_format($activation->sub_total, 2) }}
Shipping Charge :Free {{ number_format($activation->shipping_cost, 2) }}
Tax : {{ number_format($activation->tax_amount)}}
Total : {{ number_format(($activation->total - $activation->internet_handing_charge), 2) }}
Internet Handling Charge : {{ number_format($activation->internet_handing_charge, 2) }}
Order Details

Order Date:

{{ $activation->order_at ?? '' }}

Payment Method:

@if ($activation->payment_method) {{ $activation->payment_method }} @endif
@if ($activation->payment_method)

Payment Mode:

{{ $activation->payment_mode }}
@endif

Payment Date:

{{ $activation->payment_date ?? '' }}

Payment Reference No:

{{ $activation->payment_reference_no }}

Payment Transaction:

{{ $activation->transaction_id }}

Payment Status:

@if ($activation->status == 0) Pending @endif @if ($activation->status == 1) Approved @endif @if ($activation->status == 2) Rejected @endif
@if ($activation->remarks)

Remarks:

{{ $activation->remarks }}
@endif
Logistics - @if ($activation->delivery_method == 'Self Pickup')Self Pickup @endif @if ($activation->delivery_method == 'Courier Mode')Courier Mode @endif
@if ($activation->track_status != 2) @endif
@if ($activation->delivery_method == 'Self Pickup')

Collecting Person Name:

{{ $activation->collecting_person_name ?? '' }}

Collecting Person Mobile:

{{ $activation->collecting_person_mobile ?? '' }}

Tracking Status:

@if ($activation->track_status == 0) Pending @endif @if ($activation->track_status == 2) Delivered @endif

Delivered Date:

{{ $activation->date_of_dispatch ? date('d-m-Y', strtotime($activation->date_of_dispatch)) : '-' }}
@endif @if ($activation->delivery_method == 'Courier Mode')

Courier Name:

{{ $activation->courier_name ?? '' }}

AWB No:

{{ $activation->awb_no ?? '' }}

Dispatch Date:

{{ $activation->date_of_dispatch ? date('d-m-Y', strtotime($activation->date_of_dispatch)) : '-' }}

Payment Status:

@if ($activation->track_status == 0) Pending @endif @if ($activation->track_status == 1) Dispatched @endif @if ($activation->track_status == 2) Delivered @endif
@endif @if ($activation->delivery_method != 'Self Pickup' && $activation->delivery_method != 'Courier Mode')

Logistics need to update.

@endif
Customer Details
  • @if ($activation->user->image) @else @endif
    {{ $activation->user->name ?? '' }}

  • {{ $activation->user->access_code ?? '-' }}
  • @if ($activation->user->email)
  • {{ $activation->user->email ?? '-' }}
  • @endif
  • {{ $activation->user->mobile ?? '' }}
Delivery Address
@if($activation->order_address_id && $activation->delivery_method != 'Self Pickup')
  • {{ $activation->delivery_address->name }}
  • {{ $activation->delivery_address->mobile }}
  • {{ $activation->delivery_address->flat_no }} {{ $activation->delivery_address->area_street }} {{ $activation->delivery_address->city }}
  • {{ $activation->delivery_address->state }} - {{ $activation->delivery_address->pincode }}
  • {{ $activation->delivery_address->country }}
@else Delivery address is not Provide @endif
@endsection @section('scripts') @endsection