@extends('admin.layouts.sellermaster') @section('title',"Show Return Order #$inv_cus->order_prefix$orderid |") @section('body')
  Invoice No. {{ $inv_cus->prefix }}{{ $rorder->getorder->inv_no }}{{ $inv_cus->postfix }} | Order ID: {{ $inv_cus->order_prefix.$orderid }}

Refund Order Summary

Item Qty Status Refund Total REF.No/Transcation ID
{{ $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)
Sold By: {{$findvar->products->store->name}}
{{ $rorder->qty }} {{ ucfirst($rorder->status) }} {{ round($rorder->amount,2) }} {{ $rorder->txn_id }}

Reason for Return: {{ $rorder->reason }}

Refund Method Choosen: @if($rorder->method_choosen != 'bank') {{ ucfirst($rorder->method_choosen) }}({{ $rorder->getorder->order->payment_method }}) @else {{ ucfirst($rorder->method_choosen) }} @endif
@if($rorder->method_choosen == 'bank')

User's Payment Details

A/c Holder name: {{ $rorder->bank->acname }}

Bank Name: {{ $rorder->bank->acname }}

A/c No. {{ $rorder->bank->acno }}

IFSC Code: {{ $rorder->bank->ifsc }}

@endif

Pickup Location

@foreach($rorder->pickup_location as $location) @php $x = json_decode($location,true); @endphp

{{$x['name']}}

{{ strip_tags($x['address']) }}

{{ $x['ci'] }},{{ $x['s'] }},{{ $x['c'] }},

{{ $x['pincode'] }}

@endforeach

Update Refund Details

@csrf
method_choosen == 'bank' ? "" : "readonly" }} type="text" class="form-control" value="{{ $rorder->txn_id }}" name="txn_id">
method_choosen == 'bank' ? "" : "readonly" }} placeholder="0.00" type="text" class="form-control" value="" name="txn_fee" id="txn_fee">
@if($rorder->getorder->status == 'return_request') @else @endif
@endsection