- Öffentliches Widerrufsformular /widerruf mit Bestell-Lookup (throttled) - Bestätigungsmail an Kunde + Weiterleitung an bestellungen@ (config app.withdrawal_mail) - Admin-Übersicht/-Detail unter /admin/withdrawals inkl. Sidenav-Eintrag - Widerruf-Button in Portal-Bestellansicht und Footer-Links - Model OrderWithdrawal + Migration + Factory + Tests Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
49 lines
2 KiB
PHP
49 lines
2 KiB
PHP
@extends($user_shop ? 'web.user.layouts.layout' : 'web.layouts.layout')
|
|
|
|
@section('content')
|
|
|
|
<section class="page-header page-header-xlg parallax parallax-3"
|
|
style="background-image:url('/assets/images/vision-min.jpg')">
|
|
<div class="overlay dark-1"></div>
|
|
<div class="container"></div>
|
|
</section>
|
|
|
|
<section>
|
|
<div class="container">
|
|
<div class="panel panel-default" style="max-width: 760px; margin: 0 auto;">
|
|
<div class="panel-body">
|
|
<h3><i class="fa fa-check-circle text-success"></i> {{ __('withdrawal.success_hl') }}</h3>
|
|
<p>{{ __('withdrawal.success_intro') }}</p>
|
|
<hr>
|
|
|
|
<p>
|
|
<strong>{{ __('withdrawal.success_received_at') }}:</strong>
|
|
{{ optional($withdrawal->declared_at)->format('d.m.Y H:i') }} {{ __('withdrawal.clock') }}<br>
|
|
<strong>{{ __('withdrawal.order_number') }}:</strong> #{{ $withdrawal->order_reference }}<br>
|
|
<strong>{{ __('withdrawal.success_reference') }}:</strong> {{ $withdrawal->id }}
|
|
</p>
|
|
|
|
<p>
|
|
@if ($withdrawal->isFullWithdrawal())
|
|
{{ __('withdrawal.success_full') }}
|
|
@else
|
|
{{ __('withdrawal.success_partial') }}
|
|
@endif
|
|
</p>
|
|
|
|
@if (! empty($withdrawal->items))
|
|
<ul>
|
|
@foreach ($withdrawal->items as $item)
|
|
<li>{{ $item['qty'] }} × {{ $item['name'] }}</li>
|
|
@endforeach
|
|
</ul>
|
|
@endif
|
|
|
|
<hr>
|
|
<p>{{ __('withdrawal.success_email_sent', ['email' => $withdrawal->customer_email]) }}</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
@endsection
|