Öffne Katalog, Bibliothek und Testkauf für den MVP.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
463851d402
commit
fd6860efda
51 files changed
+2331
-31
No files matched your search
@@ -0,0 +1,31 @@
|
||||
@extends('layouts.site')
|
||||
|
||||
@section('title', 'Bestellung')
|
||||
|
||||
@section('content')
|
||||
@include('member.partials.nav')
|
||||
<h1>Bestellung {{ $order->id }}</h1>
|
||||
@if ($errors->any())
|
||||
<div class="errors" role="alert">{{ $errors->first() }}</div>
|
||||
@endif
|
||||
<p>Status: {{ $order->status }}</p>
|
||||
@foreach ($order->lines as $line)
|
||||
<p>{{ $line->offerVersion->offer->name ?? 'Angebot' }} · {{ number_format($line->price_cents / 100, 2, ',', '.') }} €</p>
|
||||
@endforeach
|
||||
@if ($testPayment && $order->status === 'offen')
|
||||
<form method="post" action="{{ route('member.order.confirm', $order) }}">
|
||||
@csrf
|
||||
<button class="button" type="submit">Testzahlung bestätigen</button>
|
||||
</form>
|
||||
<form method="post" action="{{ route('member.order.fail', $order) }}">
|
||||
@csrf
|
||||
<button class="button" type="submit">Testzahlung ablehnen</button>
|
||||
</form>
|
||||
@endif
|
||||
@if ($order->status === 'bezahlt')
|
||||
<form method="post" action="{{ route('member.order.refund', $order) }}">
|
||||
@csrf
|
||||
<button class="button" type="submit">Widerrufen</button>
|
||||
</form>
|
||||
@endif
|
||||
@endsection
|
||||
Reference in new issue
Block a user