@extends('admin.layouts.sellermaster') @section('title',"Show Return Order Detail #$inv_cus->order_prefix$orderid |") @section('title','Returned Orders |') @section('body')
Return & Refund Detail for Item {{ $findvar->products->name }} ( @php $varcount = count($findvar->main_attr_value); $var_main; $i=0; //var code foreach ($findvar->main_attr_value as $key => $orivars) { $i++; $getattrname = App\ProductAttributes::where('id', $key)->first()->attr_name; $getvarvalue = App\ProductValues::where('id', $orivars)->first(); if ($i < $varcount) { if (strcasecmp($getvarvalue->unit_value, $getvarvalue->values) != 0 && $getvarvalue->unit_value != null) { if ($getvarvalue->proattr->attr_name == "Color" || $getvarvalue->proattr->attr_name == "Colour" || $getvarvalue->proattr->attr_name == "color" || $getvarvalue->proattr->attr_name == "colour") { echo $getvarvalue->values; } else { echo $getvarvalue->values . $getvarvalue->unit_value.','; } } else { echo $getvarvalue->values; } } else { if (strcasecmp($getvarvalue->unit_value, $getvarvalue->values) != 0 && $getvarvalue->unit_value != null) { if ($getvarvalue->proattr->attr_name == "Color" || $getvarvalue->proattr->attr_name == "Colour" || $getvarvalue->proattr->attr_name == "color" || $getvarvalue->proattr->attr_name == "colour") { echo $getvarvalue->values; } else { echo $getvarvalue->values.$getvarvalue->unit_value; } } else { echo $getvarvalue->values; } } } @endphp)
Order #{{ $inv_cus->order_prefix.$orderid }}
TXN ID: {{ $order->txn_id }}
Refunded On: {{ date('d-m-Y @ h:i A',strtotime($order->updated_at)) }}

Customer Name: {{ ucfirst($order->user->name) }}

Refund Method : {{ ucfirst($order->pay_mode) }}

@if($order->pay_mode == 'bank')

Refunded To {{ ucfirst($order->user->name) }}'s Bank A/C XXXX{{ substr($order->bank->acno, -4) }}

@endif

Item Qty Refunded Amount Additional Info.
{{$order->getorder->qty}} {{ $order->amount }}
@if($order->txn_fee !='')

Transcation FEE:  {{ $order->txn_fee }} (During Bank Transfer)

@endif @if($findvar->products->returnPolicy->amount !=0 || $findvar->products->returnPolicy->amount !='')

As per Product {{$findvar->products->returnPolicy->name}} Policy {{$findvar->products->returnPolicy->amount}}% is deducted from Order Amount.

@endif
@endsection