@extends('admin::layouts.master') @push('styles') @endpush @section('content')
| {{ translate('Order Code') }}: | {{ $return->order->order_code ?? 'Not provided' }} |
| {{ translate('Order Date') }}: | {{ $return->created_at->format('d.m.Y') }} |
| {{ translate('Payment method') }}: | {{ strtoupper(str_replace('_', ' ', $return->order->payment_type)) }} |
| SN | {{ translate('Product') }} | {{ translate('Return Reason') }} | {{ translate('Qty') }} | {{ translate('MRP') }} | {{ translate('Offer Price') }} | @if (!empty($total_with_discount)){{ translate('Discounted Total') }} | @endif{{ translate('Total') }} |
|---|---|---|---|---|---|---|---|
| 1 |
@if ($return->orderDetails->product != null)
{{ $return->orderDetails->product->name }}@if ($return->orderDetails->variation)
@foreach ($return->orderDetails->variation->combinations as $combination)
{{ $combination->attribute->name }}:
{{ $combination->attributeValue->attribute_value }}
@endforeach
@endif
|
{{ $return->return_reason }} | {{ $return->orderDetails->quantity }} | @if (auth('admin')->user()->country->symbol_position == 'left') {{ auth('admin')->user()->country->currency_symbol }} @endif {{ decimal_price($return->orderDetails->mrp) }} @if (auth('admin')->user()->country->symbol_position == 'right') {{ auth('admin')->user()->country->currency_symbol }} @endif | @if (auth('admin')->user()->country->symbol_position == 'left') {{ auth('admin')->user()->country->currency_symbol }} @endif {{ decimal_price($return->orderDetails->offer_price) }} @if (auth('admin')->user()->country->symbol_position == 'right') {{ auth('admin')->user()->country->currency_symbol }} @endif | @if (!empty($total_with_discount))@if (auth('admin')->user()->country->symbol_position == 'left') {{ auth('admin')->user()->country->currency_symbol }} @endif {{ decimal_price($total_with_discount) }} @if (auth('admin')->user()->country->symbol_position == 'right') {{ auth('admin')->user()->country->currency_symbol }} @endif | @endif@if (auth('admin')->user()->country->symbol_position == 'left') {{ auth('admin')->user()->country->currency_symbol }} @endif @php $priceToUse = $return->orderDetails->offer_price == 0 || $return->orderDetails->offer_price === null ? $return->orderDetails->mrp : $return->orderDetails->offer_price; @endphp {{ decimal_price($return->orderDetails->quantity * $priceToUse) }} @if (auth('admin')->user()->country->symbol_position == 'right') {{ auth('admin')->user()->country->currency_symbol }} @endif |
| {{ translate('Total Amount') }} : | @if (auth('admin')->user()->country->symbol_position == 'left') {{ auth('admin')->user()->country->currency_symbol }} @endif {{ decimal_price($return->return_amount) }} @if (auth('admin')->user()->country->symbol_position == 'right') {{ auth('admin')->user()->country->currency_symbol }} @endif |
| {{ translate('Coupon Discount') }} ({{ $return->order->discount_percentage }}%) : | @if (auth('admin')->user()->country->symbol_position == 'left') {{ auth('admin')->user()->country->currency_symbol }} @endif {{ decimal_price($return->coupon_amount) }} @if (auth('admin')->user()->country->symbol_position == 'right') {{ auth('admin')->user()->country->currency_symbol }} @endif |
| {{ translate('Grand Total') }} : | @if (auth('admin')->user()->country->symbol_position == 'left') {{ auth('admin')->user()->country->currency_symbol }} @endif {{ decimal_price($return->grand_total) }} @if (auth('admin')->user()->country->symbol_position == 'right') {{ auth('admin')->user()->country->currency_symbol }} @endif |