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

Repurchase

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

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

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

Order Date:

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

Payment Method:

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

Payment Mode:

{{ $repurchase->payment_mode}}
@endif

Payment Date:

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

Payment Reference No:

{{ $repurchase->payment_reference_no}}

Payment Transaction:

{{ $repurchase->transaction_id}}

Payment Status:

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

Remarks:

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

Collecting Person Name:

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

Collecting Person Mobile:

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

Tracking Status:

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

Delivered Date:

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

Courier Name:

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

AWB No:

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

Dispatch Date:

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

Payment Status:

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

Logistics need to update.

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

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