diff --git a/app/Http/Livewire/BillingPortalPurchasev2.php b/app/Http/Livewire/BillingPortalPurchasev2.php index e3dce5a479ea..612dfd5b8209 100644 --- a/app/Http/Livewire/BillingPortalPurchasev2.php +++ b/app/Http/Livewire/BillingPortalPurchasev2.php @@ -173,6 +173,9 @@ class BillingPortalPurchasev2 extends Component $this->authenticated = true; $this->payment_started = true; } + else { + $this->bundle = collect(); + } $this->discount = 0; $this->sub_total = 0; diff --git a/resources/views/portal/ninja2020/components/livewire/billing-portal-purchasev2.blade.php b/resources/views/portal/ninja2020/components/livewire/billing-portal-purchasev2.blade.php index cd2eee01fd45..d3417dded2f0 100644 --- a/resources/views/portal/ninja2020/components/livewire/billing-portal-purchasev2.blade.php +++ b/resources/views/portal/ninja2020/components/livewire/billing-portal-purchasev2.blade.php @@ -268,27 +268,28 @@ @endif
- @if($discount)
+ {{ ctrans('texts.one_time_purchases') }} + {{ $non_recurring_total }} +
+ +
+ {{ ctrans('texts.recurring_purchases') }} + {{ $recurring_total }} +
+ + + @if($discount) +
{{ ctrans('texts.discount') }} {{ $discount }}
@endif -
- {{ ctrans('texts.one_time_purchases') }} - {{ $non_recurring_total }} -
- -
- {{ ctrans('texts.recurring_purchases') }} - {{ $recurring_total }} -
-
{{ ctrans('texts.total') }} {{ $total }}