@extends('admin.layouts.sellermastersoyuz') @section('title',"Show Return Order #$inv_cus->order_prefix$orderid |") @section('body') @component('admin.component.breadcumb',['secondactive' => 'active']) @slot('heading') {{ __('Return Orders') }} @endslot @slot('menu2') {{ __("Update Return Order") }} @endslot @endcomponent
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
@if(isset($rorder->getorder->variant)) @if($rorder->getorder->variant->variantimages) @else @endif @endif @if(isset($rorder->getorder->simple_product)) @endif
@if(isset($rorder->getorder->variant)) {{ $rorder->getorder->variant->products->name }} {{ variantname($rorder->getorder->variant) }} @endif @if(isset($rorder->getorder->simple_product)) {{ $rorder->getorder->simple_product->product_name }} @endif
@if(isset($rorder->getorder->variant)) Sold By: {{$rorder->getorder->variant->products->store->name}} @endif @if(isset($rorder->getorder->simple_product)) Sold By: {{$rorder->getorder->simple_product->store->name}} @endif
{{ $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 == 'orignal')
Make Sure your {{ $rorder->getorder->order->payment_method }} account has sufficient balance before initiate refund !
@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
(Amount will be updated if transcation fee charged)
method_choosen == 'bank' ? "" : "readonly" }} type="text" class="form-control" value="{{ $rorder->txn_id }}" name="txn_id"> (Use when, when bank transfer method is choosen)
method_choosen == 'bank' ? "" : "readonly" }} placeholder="0.00" type="text" class="form-control" value="" name="txn_fee" id="txn_fee">
(If chaarged during bank transfer (eg. in NEFT,IMPS,RTGS) Enter fee).
@endsection @section('custom-script')