2024-02-12 18:55:09 +01:00
|
|
|
<div class="space-y-4">
|
|
|
|
<h1 class="text-2xl">{{ ctrans('texts.order') }}</h1>
|
|
|
|
|
2024-02-13 18:40:01 +01:00
|
|
|
@isset($this->context['bundle'])
|
2024-02-12 18:55:09 +01:00
|
|
|
<div class="space-y-2">
|
2024-02-13 18:40:01 +01:00
|
|
|
@foreach($this->items() as $item)
|
2024-02-14 18:30:02 +01:00
|
|
|
@if($item['quantity'] > 0)
|
|
|
|
<div class="flex justify-between text-sm">
|
|
|
|
<span>{{ $item['quantity'] }}x {{ $item['product_key'] }}</span>
|
|
|
|
<span>{{ $item['total'] }}</span>
|
|
|
|
</div>
|
|
|
|
@endif
|
2024-02-13 18:40:01 +01:00
|
|
|
@endforeach
|
2024-02-12 18:55:09 +01:00
|
|
|
</div>
|
2024-02-13 18:40:01 +01:00
|
|
|
|
|
|
|
<div class="space-y-2 mt-4 border-t pt-2">
|
|
|
|
<div class="flex justify-between text-sm">
|
|
|
|
<span class="uppercase">{{ ctrans('texts.one_time_purchases') }}</span>
|
|
|
|
<span>{{ $this->oneTimePurchasesTotal() }}</span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="flex justify-between text-sm">
|
|
|
|
<span class="uppercase">{{ ctrans('texts.recurring_purchases') }}</span>
|
|
|
|
<span>{{ $this->recurringPurchasesTotal() }}</span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div
|
|
|
|
class="flex justify-between text-sm uppercase border-t pt-2"
|
|
|
|
>
|
|
|
|
<span>{{ ctrans('texts.total') }}</span>
|
|
|
|
<span class="font-semibold">{{ $this->total() }}</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endif
|
2024-02-12 18:55:09 +01:00
|
|
|
</div>
|