@extends('admin.layouts.master-soyuz') @section('title',__('Show Return Order Detail # :orderid | ',['orderid' => $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
{{__("Back")}}
{{__("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 :paymentmethod account has sufficient balance before initiate refund !",['paymentmethod' => $rorder->getorder->order->payment_method])}}
@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') @endsection