@extends('admin.layouts.sellermaster') @section('title',"Show Return Order #$inv_cus->order_prefix$orderid |") @section('body')
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
A/c Holder name: {{ $rorder->bank->acname }}
Bank Name: {{ $rorder->bank->acname }}
A/c No. {{ $rorder->bank->acno }}
IFSC Code: {{ $rorder->bank->ifsc }}
{{ strip_tags($x['address']) }}
{{ $x['ci'] }},{{ $x['s'] }},{{ $x['c'] }},
{{ $x['pincode'] }}
@endforeach