From e83eac004a32876a5b50bec87e4eaf773fd85450 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Tue, 13 Feb 2024 18:40:01 +0100 Subject: [PATCH] Add summary details to billing portal v3 --- .../views/billing-portal/v3/summary.blade.php | 36 ++++++++++++++----- 1 file changed, 27 insertions(+), 9 deletions(-) diff --git a/resources/views/billing-portal/v3/summary.blade.php b/resources/views/billing-portal/v3/summary.blade.php index 4ace75b675..ad9c3aeb31 100644 --- a/resources/views/billing-portal/v3/summary.blade.php +++ b/resources/views/billing-portal/v3/summary.blade.php @@ -1,15 +1,33 @@

{{ ctrans('texts.order') }}

+ @isset($this->context['bundle'])
-

Lorem ipsum dolor sit amet.

-

- Lorem ipsum dolor sit amet consectetur adipisicing elit. Optio - voluptatem itaque sequi et omnis quaerat voluptatibus ex ad adipisci - expedita veniam nostrum nobis, doloribus error officiis repudiandae, - sed natus asperiores. -

- -

Summary goes here.

+ @foreach($this->items() as $item) +
+ {{ $item['quantity'] }}x {{ $item['product_key'] }} + {{ $item['total'] }} +
+ @endforeach
+ +
+
+ {{ ctrans('texts.one_time_purchases') }} + {{ $this->oneTimePurchasesTotal() }} +
+ +
+ {{ ctrans('texts.recurring_purchases') }} + {{ $this->recurringPurchasesTotal() }} +
+ +
+ {{ ctrans('texts.total') }} + {{ $this->total() }} +
+
+ @endif