@if($errors->any())
Please review the information below.
@foreach($errors->all() as $error)- {{ $error }}
@endforeach
@endif
@component('components.widget', ['class' => 'box-primary', 'title' => __('rma.case_progress')])
@include('rma.partials.step_navigation')
@endcomponent
@component('components.widget', ['class' => 'box-primary', 'title' => __('rma.case_summary')])
@lang('rma.sale_invoice'){{ optional($rma->sale)->invoice_no }}
@lang('rma.customer'){{ optional($rma->customer)->supplier_business_name ?: optional($rma->customer)->name }}
@lang('rma.status')
{{ \App\Rma::statuses()[$rma->status] ?? $rma->status }}
@if(!empty($rma->review_required_from_step))@lang('rma.needs_review')@endif
@lang('rma.after_sales_location'){{ optional($rma->after_sales_location)->name }}
@endcomponent
@if(!$can_edit_step)
{{ $rma->status === 'completed' ? __('rma.completed_case_notice') : __('rma.view_only_step_notice') }}
@if(auth()->user()->can('rma.reopen') && auth()->user()->can('rma.update'))
@lang('rma.reopen_step') →
@endif
@endif
{!! Form::open(['url' => action([\App\Http\Controllers\RmaController::class, 'update'], [$rma->id]), 'method' => 'PUT', 'files' => true]) !!}
{!! Form::hidden('step', $step) !!}
@if($can_edit_step)
@component('components.widget', ['class' => 'box-primary', 'title' => __('rma.internal_note')])
Add an optional note so the next person understands what was checked or changed.
{!! Form::textarea('internal_note', old('internal_note'), ['class' => 'form-control', 'rows' => 3, 'placeholder' => 'Optional note for your team']) !!}
@endcomponent
@endif
{!! Form::close() !!}
@if($step === 2)
| @lang('messages.date') |
@lang('rma.document_reference') |
@lang('purchase.business_location') |
@lang('rma.document_total') |
@lang('messages.action') |
@endif
@component('components.widget', ['class' => 'box-default', 'title' => __('rma.items')])
@lang('rma.items_guidance')
@include('rma.partials.item_summary_table')
@endcomponent
@component('components.widget', ['class' => 'box-default', 'title' => __('rma.inventory_movements')])
@include('rma.partials.inventory_movements')
@endcomponent
@can('rma.audit.view')
@component('components.widget', ['class' => 'box-default', 'title' => __('rma.activity_timeline')])
@include('rma.partials.audit_trail')
@endcomponent
@endcan
@endsection
@section('javascript')
@endsection