mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Minor fixes for subscriptions v2
This commit is contained in:
parent
b18e7773c2
commit
212f5920e0
@ -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;
|
||||
|
@ -268,27 +268,28 @@
|
||||
@endif
|
||||
|
||||
<div class="border-gray-200 border-opacity-50 mt-4">
|
||||
@if($discount)
|
||||
<div class="flex font-semibold justify-between py-1 text-sm uppercase">
|
||||
<span>{{ ctrans('texts.one_time_purchases') }}</span>
|
||||
<span>{{ $non_recurring_total }}</span>
|
||||
</div>
|
||||
|
||||
<div class="flex font-semibold justify-between py-1 text-sm uppercase">
|
||||
<span>{{ ctrans('texts.recurring_purchases') }}</span>
|
||||
<span>{{ $recurring_total }}</span>
|
||||
</div>
|
||||
|
||||
|
||||
@if($discount)
|
||||
<!-- <div class="flex font-semibold justify-between py-1 text-sm uppercase">
|
||||
<span>{{ ctrans('texts.subtotal') }}</span>
|
||||
<span>{{ $sub_total }}</span>
|
||||
</div>
|
||||
</div> -->
|
||||
<div class="flex font-semibold justify-between py-1 text-sm uppercase">
|
||||
<span>{{ ctrans('texts.discount') }}</span>
|
||||
<span>{{ $discount }}</span>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div class="flex font-semibold justify-between py-1 text-sm uppercase border-t-2">
|
||||
<span>{{ ctrans('texts.one_time_purchases') }}</span>
|
||||
<span>{{ $non_recurring_total }}</span>
|
||||
</div>
|
||||
|
||||
<div class="flex font-semibold justify-between py-1 text-sm uppercase border-t-2">
|
||||
<span>{{ ctrans('texts.recurring_purchases') }}</span>
|
||||
<span>{{ $recurring_total }}</span>
|
||||
</div>
|
||||
|
||||
<div class="flex font-semibold justify-between py-1 text-sm uppercase border-t-2">
|
||||
<span>{{ ctrans('texts.total') }}</span>
|
||||
<span>{{ $total }}</span>
|
||||
|
Loading…
x
Reference in New Issue
Block a user