@extends('warehouse.layouts.container') @section('content')

{{ $head ?? '' }}

status , $statuses)) method="post" onsubmit="saveForm(this)" action="{{ $action }}" enctype="multipart/form-data" @endif> @if(in_array($refund->status , $statuses)) @method('PUT') @csrf @endif

{{__('refunds.details')}}


@if(in_array($refund->status , $statuses))
@else

{{__('refunds.statuses.'.$refund->status)}}

@endif

{{$refund->uuid}}

{{$refund->order_id}}

{{$refund->date}}

{{$refund->note}}

@if($refund->image)
@endif @if(in_array($refund->status , $statuses))
@endif

{{__('refunds.payment_info')}}


{{$refund->card->card ?? '-'}}

{{$refund->card->year ?? '-'}}

{{$refund->card->month ?? '-'}}

{{__('refunds.user_info')}}


{{$refund->order->user->name ?? ''}}

{{$refund->order->user->email ?? ''}}

{{$refund->order->user->phone ?? ''}}

{{__('refunds.products')}}


{{ $refund->orderProduct->product->currentDescription->title }} {{$refund->orderProduct->option_id ? (' - '.$refund->orderProduct->option->currentDescription->title ) : '' }}

{{ $refund->orderProduct->product->category->currentDescription->title }}

{{ $refund->orderProduct->product->subCategory->currentDescription->title }}

{{ $refund->orderProduct->product->brand->currentDescription->title }}

{{ $refund->orderProduct->store->currentDescription->title }}

{{ $refund->orderProduct->count}}

{{ $refund->orderProduct->total}}

@endsection @section('inner_js') - @endsection