mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Add summary details to billing portal v3
This commit is contained in:
parent
133b22180d
commit
e83eac004a
@ -1,15 +1,33 @@
|
|||||||
<div class="space-y-4">
|
<div class="space-y-4">
|
||||||
<h1 class="text-2xl">{{ ctrans('texts.order') }}</h1>
|
<h1 class="text-2xl">{{ ctrans('texts.order') }}</h1>
|
||||||
|
|
||||||
|
@isset($this->context['bundle'])
|
||||||
<div class="space-y-2">
|
<div class="space-y-2">
|
||||||
<p>Lorem ipsum dolor sit amet.</p>
|
@foreach($this->items() as $item)
|
||||||
<p>
|
<div class="flex justify-between text-sm">
|
||||||
Lorem ipsum dolor sit amet consectetur adipisicing elit. Optio
|
<span>{{ $item['quantity'] }}x {{ $item['product_key'] }}</span>
|
||||||
voluptatem itaque sequi et omnis quaerat voluptatibus ex ad adipisci
|
<span>{{ $item['total'] }}</span>
|
||||||
expedita veniam nostrum nobis, doloribus error officiis repudiandae,
|
</div>
|
||||||
sed natus asperiores.
|
@endforeach
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>Summary goes here.</p>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<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
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user